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
incremental builds of manual broken #360
Comments
did not work for me (on Linux)
This shows the original documentation, without change to the edited element. Usually, I edit/test using Windows and run a Sphinx build within a shell from eclipse. Not sure how this will work with cmake. |
OK, the rst is rebuild from the NXDL but there is no dependency of the finished manual on the rst and so CMake does not re-run sphinx. Did you add explicit dependencies previously with the Makefiles? On windows, you could run cmake with a different generator (mingw or nmake) and then execute a "make" from eclipse, or I think CMake can generate eclipse project files too. |
Yes. That was done with /manual/source/classes/{base_classes,applications,contributed_definitions}Makefile |
Not sure I get the cmake syntax yet. Perhaps this in each /manual/source/classes/{base_classes,applications,contributed_definitions}/CMakeLists.txt file, inside the foreach(VAR ${SRCs}) loop: or is this already included at this line? |
That did not fix it. Following the test procedure above (editing the NXcanSAS NXDL), the /build/manual/source/classes/contributed_definitions/NXcanSAS.rst file is properly rebuilt but Sphinx does not rebuild the associated HTML page. Also, I find the /build/manual/source/classes/contributed_definitions/NXcanSAS.nxdl.xml (the copy in the Sphinx .rst source directory) has the original content from the time of the "cmake .." step. |
Also, it seems that ALL the NXDL files are being rebuilt into .rst files for every incremental build. This is not ready yet. |
Even though the .rst files are rebuilt, Sphinx does not get the triggers to rebuild the PDF and HTML. There are several things wrong with the cmake configuration. Still debating whether to regress and pursue issue #391 or try to fix the cmake configuration, which is the long-term plan. |
When manual/build is removed, Sphinx triggers to rebuild the manual. That's a starting point. |
Hi Pete. As I mentioned in the last telecon: I will start to work on this during easter holidays I as I am pretty occupied with other stuff right now. I guess I know where the problem is. |
Sphinx uses make (Unix make, Windows make.bat). Incremental builds are
|
This is fixed with merging the cmake_build branch. |
Since converting to cmake, incremental builds of the manual are now broken. This capability should be restored.
The text was updated successfully, but these errors were encountered: