Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a9916e7
Update doc-builder to v3.5.10.
samsrabin Oct 6, 2026
19a87bf
Fix paths to conf.py for two docs test scripts
samsrabin Oct 6, 2026
bbb1042
Doc test scripts: Fix static and template paths
samsrabin Nov 2, 2026
494bab1
Delete CTSM-side _templates/
samsrabin Nov 2, 2026
8c8dd63
Update build_docs* scripts with their doc-builder versions.
samsrabin Nov 2, 2026
d058190
Update doc-builder to v3.5.11.
samsrabin Nov 3, 2026
e74679b
Point refs to docs requirements.txt to doc-builder
samsrabin Nov 3, 2026
5102d02
Remove ctsm-docs container stuff
samsrabin Nov 3, 2026
e3b5ffb
Add note about deprecating conda_env_ctsm_py.yml
samsrabin Nov 4, 2026
cfe83a8
Update doc-builder to v3.5.12.
samsrabin Nov 4, 2026
76b483c
Docs build test scripts: Remove redundant flags
samsrabin Nov 4, 2026
2778023
Update doc-builder to v3.5.13.
samsrabin Nov 4, 2026
c7d857e
Ensure build_docs* wrappers are run from correct dir.
samsrabin Nov 4, 2026
2057907
Avoid duplicated workflow run on doc-builder updates.
samsrabin Nov 4, 2026
481773c
docs-update-ctsm_pylib.yml: Explain inclusion of doc-builder
samsrabin Nov 4, 2026
6ef6579
building-docs-multiple-versions: Fix path to doc/build*
samsrabin Nov 4, 2026
8c21ab9
Move sub defs from substitutions.rst to substitutions.py.
samsrabin Nov 4, 2026
9b66325
Docs docs: Add tips for substitutions.
samsrabin Nov 4, 2026
624daf0
rST tips: Include in-page sub definition.
samsrabin Nov 5, 2026
617745f
Fix tips-for-working-with-rst cross-refs
samsrabin Nov 5, 2026
477bfb5
docs-common.yml: Avoid repeating requirements.txt path
samsrabin Nov 5, 2026
6ab6a55
py_env_create should now work in CESM checkouts.
samsrabin Nov 5, 2026
0b4ab36
vscode-doc-editing-setup.md: Check out doc-builder
samsrabin Nov 5, 2026
28ca521
tips-for-working-with-markdown.md: Render an embed as YAML.
samsrabin Nov 5, 2026
921c240
Remove build_docs test with -r -v options
samsrabin Nov 5, 2026
dc5482d
Delete script that just tested `./build_docs -b _build -c`
samsrabin Nov 5, 2026
6ecd0ed
Delete script that just called doc-builder Python tests.
samsrabin Nov 5, 2026
9fd259a
Point doc-builder to merged tag
samsrabin Nov 5, 2026
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
5 changes: 5 additions & 0 deletions .github/workflows/check-testlists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
# Checkout the code
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

# Check out doc-builder to get requirements.txt
- name: Checkout doc-builder submodule
run: |
bin/git-fleximod update doc-builder

# Set up the conda environment
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
Expand Down
85 changes: 0 additions & 85 deletions .github/workflows/docker-image-build-publish.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/docker-image-build.yml

This file was deleted.

96 changes: 0 additions & 96 deletions .github/workflows/docker-image-common.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/docker-image-get-version.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/docs-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
default: ""
secrets: {}

env:
DOCS_REQUIREMENTS_FILE: doc/doc-builder/doc-build-container/requirements.txt

jobs:
build-docs:
runs-on: ubuntu-latest
Expand All @@ -27,6 +30,7 @@ jobs:
lfs: true

# Check out all submodules because we might :literalinclude: something from one
# Also, we need doc-builder for its requirements.txt
- name: Checkout all submodules
run: |
bin/git-fleximod update -o
Expand All @@ -43,13 +47,13 @@ jobs:
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('doc/ctsm-docs_container/requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles(env.DOCS_REQUIREMENTS_FILE) }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python requirements
if: ${{ ! inputs.use_conda }}
run: |
pip install -r doc/ctsm-docs_container/requirements.txt
pip install -r "$DOCS_REQUIREMENTS_FILE"

# Do this if using conda
- name: Set up conda environment
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-omnibus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
lfs: true

# Check out all submodules because we might :literalinclude: something from one
# Also, we need doc-builder for its requirements.txt
- name: Checkout all submodules
run: |
bin/git-fleximod update -o
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/docs-update-ctsm_pylib.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Docs tests to run when ctsm_pylib is updated
name: Docs tests to run when ctsm_pylib is (or might be) updated

on:
push:
# Run when a change to these files is pushed to any branch. Without the "branches:" line, for some reason this will be run whenever a tag is pushed, even if the listed files aren't changed.
branches: ['*']
paths:
- 'python/conda_env_ctsm_py.yml'
- 'doc/ctsm-docs_container/requirements.txt'
# Include all of doc-builder due to dependence of ctsm_pylib on doc-builder's requirements.txt. Since doc-builder is a submodule, we can't point to that file specifically.
- 'doc/doc-builder'
- '.github/workflows/docs-common.yml'
- '.github/workflows/docs-update-dependency-common.yml'

pull_request:
# Run on pull requests that change the listed files
paths:
- 'python/conda_env_ctsm_py.yml'
- 'doc/ctsm-docs_container/requirements.txt'
# Include all of doc-builder due to dependence of ctsm_pylib on doc-builder's requirements.txt. Since doc-builder is a submodule, we can't point to that file specifically.
- 'doc/doc-builder'
- '.github/workflows/docs-common.yml'
- '.github/workflows/docs-update-dependency-common.yml'

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs-update-dependency-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
lfs: true

# Check out all submodules because we might :literalinclude: something from one
# Also, we need doc-builder for its requirements.txt
- name: Checkout all submodules
run: |
bin/git-fleximod update -o
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
lfs: true

# Check out all submodules because we might :literalinclude: something from one
# Also, we need doc-builder for its requirements.txt
- name: Checkout all submodules
run: |
bin/git-fleximod update -o
Expand Down
Loading
Loading