-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Update sphinx version #1986
Comments
Please do update sphinx but try to detct is sphinx installed and use it. |
As explained elsewhere, the documentation build process will use a pinned version of sphinx and you don't need to extract the docs yourself in the first place. |
Another solution that comes to my mind is that the documentation build process probably should be executed in some prepared environment. For example, if CI builds the |
All those components are alavailable in every Linux distribution as packages. Building or not documentation should be possible to controll as cmake option. Full stop. |
I was talking about documentation build process only, why are there glibc and gcc? As far as I know there are only few dependencies that should be installed for that: cmake, python, doxygen, sphinx, breathe, less, clean-css. For now versions of some of these are not specified (python, doxygen, less, clean-css), some are specified (cmake, sphinx, breathe). In my opinion if there are any incompatibilities between version they should be explicitly specified to build documentation without any problems in future. It's just should be easier for maintainers to check a documentation build once, freeze all dependencies and use these dependencies knowing that they are just working. When it is time to update some dependency you just update it, check that documentation is still correct, freeze it, that's all.
I think it's not overthinking it's just a better approach as well as removing documentation target from release asset because it's prebuilt in this asset.
Yes, I didn't say a word against that.
But if you are able to control documentation build by some CMake option then there is no problem with documentation for you, did I understand that correctly? |
Just executed some oneliner across my rpm packages spec files:
Obove contains list of ptojests which are using cmake and python sphinx to generate documentation. |
Update to sphinx 3.3 mostly done but there are a lot of issues. Will probably have to patch breathe. |
Update sphinx (and breathe) version used in documentation build.
The text was updated successfully, but these errors were encountered: