Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This is an initial sphinx documentation that generates HTML webpages automatically upon any commit/pull request with main. The base of the docs was generated using
sphinx-quickstartto create the general files. Additionally I usedsphinx-apidoc -o ./source ../superneuroabmwhich helped generate the various.rstfiles. Using this you can run the following commands (which are in thedocs.yamlworkflow) to generate the docs.pip install .cd docsmake htmlThese are very preliminary, but it generates the main files in
docs/build/htmlthat can be connected to github pages for deployment.To see this deployed checkout my fork - https://joey-kilgore.github.io/superneuroabm/
Specifics on changes
.gitignore- ignores the extra files from the docs, as well as standard python generated files that should be ignored (including a virtual environment)docs- all of this is the generated files from sphinxsetup.py- add the additional dependencies needed for building docs/development (sphinx)Notes for project admin
To deploy this documentation the following steps need to be taken:
deploy from branchand choose branchgh-pagesand the/rootdirectoryOnce this is merged and the action runs, it will take a few minutes but then will automatically deploy.