-
Notifications
You must be signed in to change notification settings - Fork 372
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
Fix doc buildsystem #1843
Fix doc buildsystem #1843
Conversation
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.
The PyNEST examples are not created.
This is because the .rst
files created by sphinx_gallery
are no longer part of the source directory.
So the links in .../doc/examples/index.rst
can not work anymore.
For the Models Directoy the same applies as for the PyNEST
examples. The directory with the generated .rst
files is not in the source directory. Sphinx
cannot find it and generate the html files.
How about copying the doc/
directory with cmake
into the build directory and using this as source for sphinx-build
?
@steffengraber: I don't think I fully understand what you are saying (i.e. what do you mean by "not created"?). Running My recent commits also make the new Can you please be a bit more specific about the problem you are referring to? |
In my case, both folders remained empty, even after several attempts. I will test your updates immediately. |
Even after the updates I have no success and the two folders remains empty. @sarakonradi @terhorstd Could you test this? |
That's really strange... I get the following message at the end of the
|
@steffengraber: with my recent changes, Sphinx should print |
@jougs The paths are looking good:
I will try again later in a clean system. The problem seems to be with me, if everything is ok on your system. Which |
Sorry for causing confusion. What I meant is not that we have literally two In my opinion this redundancy should be resolved by first merging the (updated) content of 1. into 2., updating 2. to iron out remaining inconsistencies, and then remove 1., or at least strip it down to just a link to 2. and convert it to MarkDown so it renders more nicely on GitHub (this is where the Could you please also indicate how you feel about my answers to your review comments by either resolving them, or by telling me what's still missing? Thanks! |
@jougs I fully agree with your suggestion on integrating 1 and 2. Keeping a minimal README.md with a link to the user_documentation_workflow document (straight to readthedocs?) seems very sensible to me. And thanks for all the hard work! |
Hi! I have two more minor comments:
@jougs Do you think you could have a look? Thanks for the many changes! |
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.
Thanks @jougs I think this looks good
@sarakonradi: I've replaced the @heplesser, @jessica-mitchell: I've updated the documentation workflow documents and the |
@jougs This looks pretty good, I just discovered two glitches:
|
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.
Just a tiny typo, otherwise looks good. Many thanks @jougs
doc/userdoc/documentation_workflow/user_documentation_workflow.rst
Outdated
Show resolved
Hide resolved
….rst Co-authored-by: jessica-mitchell <[email protected]>
Apparently, something went wrong in the last commits. The rendered version on Read the Docs is currently empty. I'll investigate and create a fix for that now. |
@jougs Something went wrong with the |
@hakonsbm: This is caused by my removal of @heplesser: Yes, locally it works well. Unfortunately, the utterly black path magic to make Read the Docs, in-tree and out-of-tree documentation builds work from the same Sorry for the inconveniences. |
This fixes #1660 by removing the custom
Makefile
for building the Sphinx documentation and integrates the documentation build process into the standard CMake build under the targethtml
. I took the liberty to also update some pertaining files on the way. I still need to check if the changes still result in a successful build on Read the Docs.