Skip to content

Commit

Permalink
Use the function format for docs to avoid pitfalls
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Nov 22, 2024
1 parent b71b165 commit f2369e0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ def project do
name: "MyApp",
source_url: "https://github.com/USER/PROJECT",
homepage_url: "http://YOUR_PROJECT_HOMEPAGE",
docs: [
main: "MyApp", # The main page in the docs
logo: "path/to/logo.png",
extras: ["README.md"]
]
docs: &docs/0
]
end

defp docs do
[
main: "MyApp", # The main page in the docs
logo: "path/to/logo.png",
extras: ["README.md"]
]
end
```
Expand Down

0 comments on commit f2369e0

Please sign in to comment.