Show ESMValTool and ESMValCore documentation on a single readthedocs site#89
Conversation
|
The accompanying PR at esmvaltool repo is ESMValGroup/ESMValTool#1157 |
|
Nice job! Would it be possible to move the |
I tried that first but the now independent ESMValTool repository needs access to this script (when coding in development mode as well as when coding with a preinstalled core part). The original approach of the inventors of this was to copy this script to all subprojects and keep them manually synchronized. I wanted to have it just in one place and to make it part of the esmvalcore-module appeared to me as straightforward. |
|
Can we merge? |
|
We need to test that it works first. I've enabled the |
|
@bouweandela Thanks for enabling the branches at RTD. The esmvaltool part will need the module We should first merge the core part. |
|
The esmvalcore build information is available here: https://readthedocs.org/projects/esmvalcore/builds/ |
I see. Both documentations (core and diag parts) need the There is a hint given in the RTD-FAQs:
Sorry, this happens to be a "chicken and the egg" problem. You can only test after you merge, but you will only merge after you test ... Do we have any idea? |
|
So with the requirements.txt we can install from github pointing at a branch: Shall we proceed on this way? If yes, I will create such a file in this branch and @bouweandela would need to enable |
|
I fixed some dependency issues and a mistake I made in the rootpath, the documentation now builds successfully for esmvalcore. |
|
I've added the gensidebar script to the other pull request as a workaround for testing, it should be removed once we are close to something that works. |
|
@axel-lauer @schlunma |
This PR addresses the issue ESMValGroup/ESMValTool#1155 and is the counterpart to ESMValGroup/ESMValTool#1157.
There is a new utility module introduced in
esmvaltool.utils.doc.gensidebarthat creates a common sidebar for esmvaltool and esmvaltool-core documentation or any future part of the esmvaltool. If one needs to change the content of the sidebar, it needs to be done in this place.The configuration file for sphinx was adapted (here and in the other repo) to make use of the utility module.
Also closes #114