Skip to content
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

Merge the RTW documentation with the ESMValTool documentation #3684

Merged
merged 5 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/check-rtw.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow performs various validation steps for Cylc and Rose, and
# builds and checks the documentation.
# checks the documentation.
name: Check Recipe Test Workflow (RTW)

# Controls when the action will run
Expand Down Expand Up @@ -68,14 +68,9 @@ jobs:
cd esmvaltool/utils/recipe_test_workflow/recipe_test_workflow
rose macro -V

- name: Build documentation
run: |
cd esmvaltool/utils/recipe_test_workflow/doc
make html

- name: Check for broken links in the documentation
run: |
cd esmvaltool/utils/recipe_test_workflow/doc
cd doc/sphinx/source/utils/RTW/
make linkcheck

- name: Lint shell scripts
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/source/gensidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _header(project, text):
_write("esmvaltool", "Obtaining input data", "input")
_write("esmvaltool", "Making a recipe or diagnostic", "develop/index")
_write("esmvaltool", "Contributing to the community", "community/index")
_write("esmvaltool", "Utilities", "utils")
_write("esmvaltool", "Utilities", "utils/utils")
_write("esmvaltool", "Diagnostics API Reference", "api/esmvaltool")
_write("esmvaltool", "Frequently Asked Questions", "faq")
_write("esmvaltool", "Changelog", "changelog")
Expand Down
11 changes: 11 additions & 0 deletions doc/sphinx/source/utils/RTW/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Recipe Test Workflow (RTW)
==========================

.. toctree::
:maxdepth: 1

about
tested_recipes
user_guide/index
add_a_recipe
glossary
Original file line number Diff line number Diff line change
Expand Up @@ -517,3 +517,11 @@ The tool is based on the `prov <https://prov.readthedocs.io/en/latest/readme.htm
library, a useful library for working with provenance files.
With minor adaptations, this script could also print out global attributes
of the input NetCDF files, e.g. the tracking_id.

Recipe Test Workflow (RTW)
==========================

.. toctree::
:maxdepth: 1

RTW/index
20 changes: 0 additions & 20 deletions esmvaltool/utils/recipe_test_workflow/doc/Makefile

This file was deleted.

35 changes: 0 additions & 35 deletions esmvaltool/utils/recipe_test_workflow/doc/make.bat

This file was deleted.

This file was deleted.

This file was deleted.

47 changes: 0 additions & 47 deletions esmvaltool/utils/recipe_test_workflow/doc/source/conf.py

This file was deleted.

18 changes: 0 additions & 18 deletions esmvaltool/utils/recipe_test_workflow/doc/source/index.rst

This file was deleted.