Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs #37

Closed
darkofabijan opened this issue Feb 11, 2014 · 4 comments
Closed

Docs #37

darkofabijan opened this issue Feb 11, 2014 · 4 comments

Comments

@darkofabijan
Copy link
Contributor

I would like to create ex_docs site for Phoenix. It would work pretty much the same way as it works for Elixir. Make script would assume that ex_doc is installed in ../ex_doc and it would for generate docs for master (for now) and store in the ../docs. I guess we could host it through GitHub pages. @chrismccord can you please create docs repository?

I got inspiration for this while writing docs for routes scope macro and seeing that we could improve in this area. It's easier to evaluate docs through generated html docs.

@ericmj
Copy link
Contributor

ericmj commented Feb 11, 2014

You can add ex_doc as a dependency and use the mix docs instead of requiring the ex_doc executable in ../ex_doc. If you don't want to impose the dependency on users you can add it as a conditional dependency as done here: https://github.com/elixir-lang/ecto/blob/master/mix.exs#L29.

@darkofabijan
Copy link
Contributor Author

Ah awesome! Thanks for the tip @ericmj :)

@chrismccord
Copy link
Member

@darkofabijan Here you go: https://github.com/phoenixframework/docs

Having great docs from the start is something we want to strive for. It's easy to get caught up on the code churn so good thinking.

@darkofabijan
Copy link
Contributor Author

Tnx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants