-
Notifications
You must be signed in to change notification settings - Fork 123
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
Improve documentation targets. #1725
Conversation
This seems to be good place to update nrn/docs/cmake_doc/option after NRN_ENABLE_TESTS with an explanation of NRN_ENABLE_DOCS and also in nrn/docs/README.md |
I added some documentation. I am still trying to adjust the CMake/build rules to make it behave sensibly. Right now then |
for reference: https://github.com/neuronsimulator/nrn/tree/master/docs#faster-local-iterations |
Indeed. I was trying to rework that a bit to use standard build dependencies, but I may have to give up on that. |
Yeah, put in quite a lot of thinking to arrive to what we have now. |
I see
in circleci. |
Out of credits ... |
RTD fails:
|
also in Docs CI
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1725 +/- ##
==========================================
+ Coverage 45.30% 45.34% +0.03%
==========================================
Files 551 551
Lines 111219 111219
==========================================
+ Hits 50387 50431 +44
+ Misses 60832 60788 -44 ☔ View full report in Codecov by Sentry. |
1284c20
to
7224ee1
Compare
Looking at https://nrn.readthedocs.io/en/olupton-docs/cmake_doc/options.html#nrn-enable-docs-bool-off I think this is all OK now..? |
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.
🚀
@ramcdougal would you mind giving this a shot on your VM ? |
- Now they set the required environment variables so that they can be built without special environment manipulations. - Add NRN_ENABLE_DOCS option, if it's enabled then check that dependencies are available as part of the CMake configuration step. - Add NRN_ENABLE_DOCS_WITH_EXTERNAL_INSTALLATION option to support the legacy/hybrid workflow where we build documentation using some other, unknown, external installation of NEURON instead of the build of NEURON that is currently being configured. - Somewhat unrelated: make the modlunit tests into CTest tests. Closes #1652, closes #1677.
@alexsavulescu This looks promising, unfortunately any tests I do would be artificial as #1699 (I think) fixed my issues which was due to having multiple Pythons available and the make sphinx somehow finding the wrong one... after #1699 docs building just worked for me across the board. |
built without special environment manipulations.
dependencies are available as part of the CMake configuration step.
Closes #1652, closes #1677.
TODO: