Documentation: Pip installable environment and build instructions #498
Conversation
…ow to build the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great
The traceback at https://readthedocs.org/projects/nwb-conversion-tools/builds/16820312/ has the entire collection of workflow actions and outputs, which cannot be altered. The only thing we can control as far as dependencies is what goes into the We can technically allow access to the 'global site-packages' on readthedocs, which is essentially all of the most recent versions of the most common deps, but I advise against this since it can cause many dependency conflicts. We can also disable the installation of the package altogether, but that seems the opposite of what we want to do here. |
@h-mayorquin So basically, if you want to fix the docs build (necessary before merging), I'd suggest restoring the state of the Note that as of today the ephy testing data issued a new hash which triggered cache updates, which triggered an issue with the MacOS latest version of git-annex. Some basic attempts to fix it have failed so I'll just raise an issue and work on it elsewhere - temporarily disabling full tests on Mac until then. |
Yup, I am aware of this.
So in the advanced seetings, we have requirements file pointed to By looking at the trace it seems that we do. |
…nstalling_model' into add_documentation_installing_model
Check out the configuration file that I added. nwb-conversion-tools/.readthedocs.yaml Lines 23 to 29 in 1d35fa7
It seems that it gives us enough control of the build so we can reproduce what we do locally. This does not require access to the I think this is good because it allows us to eliminate the hard-coded duplication of dependencies that we had in
Is always the MacOS, eh? |
…nstalling_model' into add_documentation_installing_model
As we did for the testing, I am adding a pip installable environment for the documentation. Also, adding instructions in how to build the documentation locally to the readme file.
Edit:
This is failing the build in read the docs. @CodyCBakerPhD, @bendichter can I get admin rights over there to check and understand the build process? This will also be useful for #495 .