-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add auto generated docs #167
Conversation
This looks great! |
@lspector Did you set the |
@lspector Once you do step 1, you have to restart the build. Go to the build page and click the little circle arrow thing to restart the build. Lemme know if you have any troubles. |
@saulshanabrook I don't know if this counts as having troubles or if it's what you expected, but the build process ended with |
@lspector exit code zero is good! 😄 Any non zero exit code means the command errored. Travis just runs very command, and uses the exit code to determine whether it failed or not. Docs are now working! http://lspector.github.io/Clojush/ |
You will notice also there is a "view source" button next to all functions, that will you take you to the source on the master branch for that function. |
Looking great! I noticed that a lot of the problem files aren't appearing in the docs, including almost all of the software problems. Is this because of conflicting function name errors, or something else? |
@thelmuth Yeah I had noticed this. Looking in the logs:
This is a result of side effects happening when certain files are loaded. In order to perform more comprehensive doc generation and linting, we need to eliminate those. I just opened #169 to track this. |
I have added support for building docs with codox.
In order to get this working, you need to:
gh-pages
branch to your repository when it generates the docs. You can add the variable here. It should be namedGITHUB_TOKEN
and the value should be the token. To generate a new token, go here. You can give it any description and it only needs the "public_repo" checked, because it just going to be pushing to this repo.They are currently working on my fork: