-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Specify folder name for generated documentation #4918
Comments
Managed to automatically deploy to gh-pages after Travis build: travis.yml. But still think that |
This might still be something we want to implement. |
I'd also prefer It should definitely be possible to configure the output directory. Some projects might want to use the |
Let's change it to |
But also let's add an option to configure it. But if |
People interested in publishing docs as gh-pages might like checking https://github.com/bcardiff/ghshard . Publishing docs is more than publishing just the master. The other stories around docs I remember where hooking some artifact to allow redirections to last current stable version (and highlight outdated one) and changing the index document from README.md to DOCS.md or something more appropriate for docs than repos. It might be useful to have this other scenarios into account to decide if the options should be as command line arguments or maybe in shards.yml o some other configuration file. I'm ok if all is configurable via command line arguments though. |
I am using a bash script for automatically generating and deploying API documentation through CI (or manually): autodeploy-docs. It is not limited to Crystal documentation, though also not that deeply integrated with shards but uses git tags. |
Crystal changed the default doc folder to "docs" crystal-lang/crystal#4918
Crystal changed the default doc folder to "docs" crystal-lang/crystal#4918
GitHub Pages allow to configure source. It can be either
master
ormaster/docs
. It would be convenient if a developer could pass a folder name tocrystal docs
likecrystal docs -f docs
.Or maybe even change the default folder name to
docs
. Plural form is more familiar to me as a developer. Nobody says "read the doc", they usually say "read the docs".The text was updated successfully, but these errors were encountered: