Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
6f44d78
Apply suggestion from @slevis-lmwg
slevis-lmwg Mar 16, 2026
1e8ebd3
Apply suggestion from @slevis-lmwg
slevis-lmwg Mar 16, 2026
748d1e8
Updates to README
slevis-lmwg Mar 17, 2026
ccb8e4b
Replace README with README_on_CTSM.md
slevis-lmwg Mar 17, 2026
04bd3cc
Merge branch 'b4b-dev' into readmes_to_md
slevis-lmwg Mar 17, 2026
dbd84e7
Formatting corrections to markdown file
slevis-lmwg Mar 18, 2026
5649db2
Formatting update to the same markdown file (README_on_CTSM.md)
slevis-lmwg Mar 18, 2026
6285c40
Replace another README with README.md
slevis-lmwg Mar 18, 2026
cd5792f
Replace one more README with README.md
slevis-lmwg Mar 18, 2026
4d863f6
Replace another README with README.md
slevis-lmwg Mar 19, 2026
769a5b2
Formatting correction to latest README.md
slevis-lmwg Mar 19, 2026
91612e3
Formatting correction (2nd attempt)
slevis-lmwg Mar 19, 2026
80ca017
Formatting corrections (3rd)
slevis-lmwg Mar 19, 2026
a972423
Formatting corrections (4th)
slevis-lmwg Mar 19, 2026
31641ba
Formatting corrections (5th)
slevis-lmwg Mar 19, 2026
2f40fb3
Formatting corrections (6th)
slevis-lmwg Mar 19, 2026
f7463b8
Replace README.unit_testing with README.unit_testing.md
slevis-lmwg Mar 19, 2026
5b91272
Replace one more README with README.md
slevis-lmwg Mar 19, 2026
d8d58a7
Replace README.filecopies with README.filecopies.md
slevis-lmwg Mar 19, 2026
1ca5c3e
Replace README.fsurdat_modifier, README.mesh_mask_modifier w md versions
slevis-lmwg Mar 19, 2026
9953a12
Formatting corrections to the two most recenty committed .md files
slevis-lmwg Mar 19, 2026
190a95a
Formatting corrections (2nd)
slevis-lmwg Mar 19, 2026
b02a4d2
Putting back README.unit_testing
slevis-lmwg Mar 19, 2026
7973009
Formatting corrections (3rd)
slevis-lmwg Mar 19, 2026
aa651b9
Merge branch 'b4b-dev' into readmes_to_md
slevis-lmwg Mar 19, 2026
7838aba
Merge branch 'b4b-dev' into readmes_to_md
slevis-lmwg Mar 19, 2026
6edf80e
Apply suggestion from https://github.com/ESCOMP/CTSM/pull/3816#discus…
slevis-lmwg Mar 23, 2026
d7b0e90
Merge branch 'b4b-dev' into readmes_to_md
slevis-lmwg Mar 23, 2026
f2f90cd
Restore heading as suggested in https://github.com/ESCOMP/CTSM/pull/3…
slevis-lmwg Mar 23, 2026
e860a4d
Change according to suggestion https://github.com/ESCOMP/CTSM/pull/38…
slevis-lmwg Mar 23, 2026
21fe960
Change according to same https://github.com/ESCOMP/CTSM/pull/3816#dis…
slevis-lmwg Mar 23, 2026
0fe719f
Apply suggestion from https://github.com/ESCOMP/CTSM/pull/3816#discus…
slevis-lmwg Mar 23, 2026
e763f1c
Replace README_GITFLEXIMOD.rst with README_GITFLEXIMOD.md using pandoc
slevis-lmwg Mar 23, 2026
6a6e452
Replace README.python_pkgs.rst with README.python_pkgs.md
slevis-lmwg Mar 23, 2026
0ac34cd
Fix references to README file that should have been README.md
slevis-lmwg Mar 23, 2026
7e0f99e
Replace README.unit_testing with README.unit_testing.md
slevis-lmwg Mar 23, 2026
89a65a1
Fix reference to another README that should have been README.md
slevis-lmwg Mar 23, 2026
e7bfa84
Remove creating-domain-files.rst as not needed with nuopc
slevis-lmwg Mar 23, 2026
73cd625
Put back creating-domain-files.rst; should not have removed in this PR
slevis-lmwg Mar 23, 2026
e7d5d51
First revision of Chapter 2.16
olyson Apr 7, 2026
a53eca3
Add note regarding CMIP7 future scenarios
olyson Apr 7, 2026
712bd5b
Add note about location of code for GaoOneill processing.
olyson Apr 7, 2026
0864f97
data set to dataset
olyson Apr 7, 2026
7765766
Add summary of CLM5->CLM6
olyson Apr 7, 2026
7c5e9f7
Changes to Section 2.3.2
olyson Apr 8, 2026
d8921a7
Update pft optical properties table and accompanying text.
olyson Apr 9, 2026
5b6b297
Minor fix to reference
olyson Apr 9, 2026
26065fe
Minor fixes to Canopy Radiative Transfer and Solar Zenith Angle
olyson Apr 9, 2026
23a01e5
Deliberate change to test ssh-key
olyson Apr 10, 2026
db3aa85
Revert deliberate change for ssh-key
olyson Apr 10, 2026
a6b8da7
Test ssh
olyson Apr 10, 2026
41c84f7
Fix ssh change
olyson Apr 10, 2026
e0b20dc
refs for 2.23
wwieder Apr 11, 2026
b0d33a8
updates from DocParty 1
wwieder Apr 11, 2026
3c75c2c
add note on soil pH
wwieder Apr 11, 2026
97d027a
Update the link to the CIME troubleshooting guide.
olyson Apr 14, 2026
2a4c663
A couple of changes to the specific debugging example
olyson Apr 14, 2026
17d8920
Updating technote section 2.17.2 with time-evolving leafcn
slevis-lmwg Apr 15, 2026
68cd2c1
Add debugging guide wiki from B. Sacks.
olyson Apr 16, 2026
c01ce71
Change new equation references from numbers to words
olyson Apr 16, 2026
187949b
Add Alb to new equation labels
olyson Apr 16, 2026
dd6bf77
minor corrections
wwieder Apr 21, 2026
138bc37
N cycle refs
wwieder Apr 21, 2026
ce86b65
remove unused figure
wwieder Apr 21, 2026
d93bc18
fix degrees C space
adrifoster Apr 23, 2026
fd87108
removing secondary section numbering
Apr 23, 2026
21ccbef
math and typo fixes
adrifoster Apr 23, 2026
f63ffdc
add Birc2021h update to Phenology documentation
Apr 24, 2026
e90ee51
update phenology documentation to include Birch et al., updates to AB…
Apr 24, 2026
a19d1c8
fixes #3865
wwieder Apr 24, 2026
b92b340
italicize parameter names
Apr 24, 2026
f8f1ec2
Revert accidental FATES update
Apr 24, 2026
0b86553
clean up markdown style (parameters are italics not math)
Apr 24, 2026
36e4ac3
correct old chapter labels
Apr 24, 2026
3c52878
add Sturm docs for #3852
wwieder Apr 24, 2026
c1845b4
add Sturm note for #3858 & #3859
wwieder Apr 24, 2026
1ed5b0a
Merge branch 'b4b-dev' into docs-I3849-2-3-Surface-Albedos
olyson Apr 26, 2026
9081268
Merge tag 'ctsm5.4.035' into merge-master-20260427
ekluzek Apr 27, 2026
2684f10
Merge pull request #3973 from ekluzek/merge-master-20260427
ekluzek Apr 27, 2026
e49126f
Initial work on preview_docs_pr.sh.
samsrabin Apr 24, 2026
123ac02
preview_docs_pr.sh: Now does a basic clone and build.
samsrabin Apr 24, 2026
683f4fb
preview_docs_pr.sh: Now loads podman if on casper.
samsrabin Apr 24, 2026
ef80432
preview_docs_pr.sh: Name remote after owner during clone.
samsrabin Apr 24, 2026
65da828
preview_docs_pr.sh: Prepend clone dir with preview_docs_pr
samsrabin Apr 24, 2026
7856bad
preview_docs_pr.sh: Clone to subdir of /glade/derecho/scratch/samrabi…
samsrabin Apr 24, 2026
20bcf0c
preview_docs_pr.sh: Clone may not be within an existing git repo
samsrabin Apr 24, 2026
af9427d
preview_docs_pr.sh: Add a set -u.
samsrabin Apr 24, 2026
9affd1a
Add preview_docs_pr.py.
samsrabin Apr 26, 2026
9606321
Test adding a new docs image.
samsrabin Apr 26, 2026
56ccdae
Test removing a doc file.
samsrabin Apr 26, 2026
0b32557
preview_docs_pr.py: Empty commit to avoid git lfs problems.
samsrabin Apr 26, 2026
367075c
preview_docs_pr.py: Delete test printout.
samsrabin Apr 26, 2026
fa3eaf7
preview_docs_pr.py: Delete unused load_podman.
samsrabin Apr 26, 2026
bdf3c7b
preview_docs_pr.py: Handle empty result.stdout.
samsrabin Apr 26, 2026
9e62c9c
preview_docs_pr.py: Factor out print_files_msg().
samsrabin Apr 26, 2026
96a11a1
preview_docs_pr.py: Fix subprocess call.
samsrabin Apr 26, 2026
d5608fb
preview_docs_pr.py: print_files_msg(): Fix dict vs str
samsrabin Apr 26, 2026
8125f37
preview_docs_pr.py: Fix print_files_msg().
samsrabin Apr 26, 2026
5d3126e
preview_docs_pr.py: Fix "The update files are in" msg.
samsrabin Apr 26, 2026
4849a4a
preview_docs_pr.py: Wait 10 secs for mergeability re-check.
samsrabin Apr 27, 2026
27cc36a
preview_docs_pr.py: Suppress git messages.
samsrabin Apr 27, 2026
05de758
preview_docs_pr.py: Resolve pylint complaints.
samsrabin Apr 27, 2026
d981675
Remove preview_docs_pr.sh.
samsrabin Apr 27, 2026
4250157
preview_docs_pr.py: Resolve another pylint complaint.
samsrabin Apr 27, 2026
b390517
preview_docs_pr.py: Add note about tokens unsupported.
samsrabin Apr 27, 2026
428defb
preview_docs_pr.py: Specify branch name on git init.
samsrabin Apr 27, 2026
b224d99
preview_docs_pr.py: Pass -v/--verbose to build_docs.
samsrabin Apr 27, 2026
eac4a50
preview_docs_pr.py: Fix --dir help msg.
samsrabin Apr 27, 2026
9323437
Rename to preview_docs_pr.
samsrabin Apr 27, 2026
9cf0959
Revert "Test removing a doc file."
samsrabin Apr 27, 2026
39639e2
Revert "Test adding a new docs image."
samsrabin Apr 27, 2026
803ae76
preview_docs_pr: --verbose now shows stdout for git cmds.
samsrabin Apr 27, 2026
3dda069
preview_docs_pr: Fix docs build (git lfs).
samsrabin Apr 27, 2026
f78385e
preview_docs_pr: Factor out new function set_up_git().
samsrabin Apr 27, 2026
41fedb9
Test removing a doc file.
samsrabin Apr 26, 2026
a977d84
Test adding a new docs image.
samsrabin Apr 26, 2026
de022d9
preview_docs_pr: Fix print_files_msg check under --verbose.
samsrabin Apr 27, 2026
3159b85
preview_docs_pr: Do complete git-fleximod.
samsrabin Apr 27, 2026
09f3130
Revert "Test removing a doc file."
samsrabin Apr 27, 2026
5bf4b7b
Revert "Test adding a new docs image."
samsrabin Apr 27, 2026
7fdc988
preview_docs_pr: Simplify git remote add (HTTPS always works).
samsrabin Apr 27, 2026
ff80be8
Merge pull request #3972 from samsrabin/docs-pr-preview-tool
samsrabin Apr 27, 2026
886c1b7
Docs docs: Explain "Failed to fetch object" error.
samsrabin Apr 27, 2026
34cd552
Docs docs: Explain "WARNING: Title underline too short".
samsrabin Apr 27, 2026
1113b13
Update doc/source/tech_note/External_Nitrogen_Cycle/CLM50_Tech_Note_E…
wwieder Apr 27, 2026
967a20e
Update doc/source/tech_note/External_Nitrogen_Cycle/CLM50_Tech_Note_E…
wwieder Apr 27, 2026
b1590a3
Docs docs: Add guide for converting b/w md and rst.
samsrabin Apr 28, 2026
24d4fe1
Docs docs: Resolve ambiguous cross-reference.
samsrabin Apr 28, 2026
e2f587c
Docs docs: Explain rST sub/superscripts.
samsrabin Apr 28, 2026
d6c1ae6
Eliminate multiple lines in paragraphs
olyson Apr 28, 2026
cb90cb0
Switch to double backticks
olyson Apr 28, 2026
680db59
More double backticks
olyson Apr 28, 2026
a8d965f
More double backticks to be more consistent
olyson Apr 28, 2026
f203528
Remove orphan parenthesis
olyson Apr 28, 2026
c621846
Superscript for obliquity constant
olyson Apr 28, 2026
a9a55fa
Change constant to math
olyson Apr 28, 2026
31cbe81
update equation, figure and reference linking, and correct grammar
Apr 29, 2026
c938aee
Docs docs: Add recommended VS Code setup.
samsrabin Apr 29, 2026
e0050d7
Docs docs: Add instructions for embedding files in other files.
samsrabin Apr 29, 2026
d1ea8be
Docs docs: Clarify Markdown flavor in conversion instructions.
samsrabin Apr 29, 2026
8cde7bd
Docs docs conversion instructions: Add a "vice versa".
samsrabin Apr 29, 2026
0dd8b04
Docs docs: rST tips section header now mentions superscripts.
samsrabin Apr 29, 2026
8d06a27
Docs docs: Add instructions for converting rST to MyST Markdown.
samsrabin Apr 29, 2026
02a6ee2
Merge pull request #3913 from olyson/docs-I3862-2-16-Urban-Model
olyson Apr 30, 2026
bfd4bf4
Merge branch 'b4b-dev' into documentation_2.23
wwieder Apr 30, 2026
8dc6e9b
Merge branch 'b4b-dev' into docs_photosynthetic_capacity_update
samsrabin Apr 30, 2026
0e3c169
Change variable symbol
olyson Apr 30, 2026
a195a72
Add sentence describing location of parameters
olyson Apr 30, 2026
0a3fff3
Merge pull request #3916 from olyson/docs-I3849-2-3-Surface-Albedos
olyson Apr 30, 2026
9182a34
Merge branch 'b4b-dev' into docs_photosynthetic_capacity_update
samsrabin Apr 30, 2026
2370b46
Add a missing newline in bibliography
samsrabin Apr 30, 2026
5e9265e
Add another missing newline in bibliography
samsrabin Apr 30, 2026
28c49c1
Merge branch 'b4b-dev' into upd_sec_2.17.2
slevis-lmwg Apr 30, 2026
3eafd71
Merge branch 'b4b-dev' into edit-docs
slevis-lmwg Apr 30, 2026
191ff11
Update doc/source/tech_note/Vegetation_Phenology_Turnover/CLM50_Tech_…
slevis-lmwg Apr 30, 2026
7b970d5
Merge pull request #3960 from linniahawkins/edit-docs
slevis-lmwg Apr 30, 2026
1f9e09a
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
409118b
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
1f03e6e
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
7544129
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
98a0ee6
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
7d3c3d3
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
858ace8
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
6c38a10
Merge branch 'b4b-dev' into documentation_2.19
slevis-lmwg May 1, 2026
32d755a
Apply suggestions from code review
wwieder May 1, 2026
e03ac47
Apply suggestions from code review
wwieder May 1, 2026
95c7d40
Update PR template.
samsrabin May 1, 2026
3794497
More PR template updates.
samsrabin May 1, 2026
683fb68
PR template: Convert a checkbox to a bullet.
samsrabin May 1, 2026
7a63166
Apply suggestion from @slevis-lmwg
slevis-lmwg May 1, 2026
3245c7e
Apply suggestion from @slevis-lmwg
slevis-lmwg May 1, 2026
4294590
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
7ed3c72
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
d80b282
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
626242a
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
643e23b
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
d03db6a
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
229dcc8
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
ba1ba3b
Update doc/source/tech_note/Introduction/CLM50_Tech_Note_Introduction…
slevis-lmwg May 1, 2026
4f406ed
Apply suggestion from @slevis-lmwg
slevis-lmwg May 1, 2026
55519bc
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
dafc5df
Update doc/source/tech_note/FUN/CLM50_Tech_Note_FUN.rst
slevis-lmwg May 1, 2026
a610dbe
Apply suggestion from @slevis-lmwg
slevis-lmwg May 1, 2026
d613702
Apply suggestion from @slevis-lmwg
slevis-lmwg May 1, 2026
f483456
Add math labels to all equations
slevis-lmwg May 2, 2026
f39ab98
Add GitHub workflow job to check for curlies in doc/.
samsrabin May 1, 2026
a7cc5e4
doc/: Replace all curly apostrophes/quotes with straight ones.
samsrabin May 1, 2026
6feb5b0
Add "Which?" in checklist item about docs changes
samsrabin May 4, 2026
5a9974b
Add some examples of fake degree signs.
samsrabin May 1, 2026
ccc47d1
Add GitHub workflow step to disallow fake degree signs.
samsrabin May 1, 2026
471a4f8
Delete masc ordinal indicator from style guide
samsrabin May 3, 2026
0c679e6
Revert "Add some examples of fake degree signs."
samsrabin May 4, 2026
bf3115c
PR template: Improve checkbox about docs check.
samsrabin May 1, 2026
3089972
PR template: Remove text about system testing.
samsrabin May 4, 2026
bb3aba2
PR template: Improve prompt to describe answer changes.
samsrabin May 4, 2026
796cc18
PR template: Explain keywords.
samsrabin May 4, 2026
08367c1
PR template: Add an "if any".
samsrabin May 4, 2026
25d46fc
Merge remote-tracking branch 'escomp/b4b-dev' into readmes_to_md
slevis-lmwg May 4, 2026
79b71c1
Merge pull request #3986 from samsrabin/update-pr-template-20260501
samsrabin May 4, 2026
8b7a511
README_on_CTSM.md: Turn lists into md bulleted lists.
samsrabin May 4, 2026
f833b6c
README_on_CTSM.md: Add some missing Markdown.
samsrabin May 4, 2026
63de9d1
README.unit_testing.md: Replace ' with backticks.
samsrabin May 4, 2026
1a69861
README.CHECKLIST.new_case.md: Remove trailing whitespace.
samsrabin May 4, 2026
47a5d72
README.CHECKLIST.new_case.md: Add missing Markdown.
samsrabin May 4, 2026
f007127
README_GITFLEXIMOD.md: Add missing Markdown.
samsrabin May 4, 2026
9acbfd4
README.python_pkgs.md: Small improvements.
samsrabin May 4, 2026
bb96692
README.mesh_mask_modifier.md: Minor improvements.
samsrabin May 4, 2026
ec3343e
README.fsurdat_modifier.md: Minor improvements.
samsrabin May 4, 2026
082ca87
Merge pull request #3816 from slevis-lmwg/readmes_to_md
slevis-lmwg May 4, 2026
64d3ed5
Apply suggestion from @olyson
wwieder May 5, 2026
ac18297
Merge branch 'b4b-dev' into Sturm
wwieder May 5, 2026
7a75461
numbering equations
wwieder May 5, 2026
40bc015
Apply suggestions from code review
wwieder May 5, 2026
8ab2a16
Apply suggestion from @wwieder
wwieder May 5, 2026
05bec3e
Apply suggestion from @olyson
olyson May 5, 2026
25c9fa8
Merge pull request #3971 from wwieder/Sturm
wwieder May 5, 2026
d6143db
Replace "base" with "ref" and remove 3rd and 4th columns from table
slevis-lmwg May 5, 2026
359dd40
Move the table reference to a better spot and consolidate two paragraphs
slevis-lmwg May 5, 2026
a965077
Change Eq. 2.17.1 from 3 lines to 2 lines
slevis-lmwg May 5, 2026
45584df
Slight change in math notation for consistency with Section 2.19
slevis-lmwg May 5, 2026
b751a64
Merge pull request #3930 from slevis-lmwg/upd_sec_2.17.2
slevis-lmwg May 5, 2026
ee357a8
Merge remote-tracking branch 'escomp/b4b-dev' into documentation_2.19
slevis-lmwg May 5, 2026
5c80191
Replace target_{CN} with CN_{target} and point to corresponding table
slevis-lmwg May 5, 2026
1fa9589
Resolve doc build error from labeling the equations
slevis-lmwg May 5, 2026
bbdd0e9
Merge pull request #3974 from samsrabin/docs-docs-20260427
samsrabin May 5, 2026
5e3c1c6
Fix some build errors
slevis-lmwg May 5, 2026
b33e9d9
Update doc-builder to v3.1.1.
samsrabin May 5, 2026
04c9dfe
Fix a few typos
slevis-lmwg May 5, 2026
c9fbe28
Merge pull request #3994 from samsrabin/doc-builder-improve-verbosity…
samsrabin May 5, 2026
673c8cb
Merge pull request #3967 from wwieder/documentation_2.19
slevis-lmwg May 5, 2026
6b9076d
Merge pull request #3929 from olyson/docs-I3886-1.7-Troubleshooting
olyson May 6, 2026
6e58003
requested updates
adrifoster May 6, 2026
2825c2b
update alpha label
adrifoster May 6, 2026
d0a55ed
Merge remote-tracking branch 'escomp/b4b-dev' into documentation_2.23
slevis-lmwg May 6, 2026
9dbd862
UG: Docs docs: "Embedded text"
samsrabin May 7, 2026
ba65df2
Merge branch 'b4b-dev' into docs-docs-embedding
samsrabin May 7, 2026
7d1b343
Merge pull request #3982 from samsrabin/docs-docs-embedding
samsrabin May 7, 2026
6772994
UG: Docs docs: VS Code: Esbonio settings
samsrabin May 7, 2026
fc2287d
UG: Docs docs: VS Code: Word wrap.
samsrabin May 7, 2026
65e0b0b
Merge branch 'b4b-dev' into docs-docs-vscode-setup
samsrabin May 7, 2026
22c9efc
Fix fates checkout
samsrabin May 7, 2026
8feb228
Merge pull request #3981 from samsrabin/docs-docs-vscode-setup
samsrabin May 7, 2026
a54c80b
Merge pull request #3990 from samsrabin/enforce-docs-style
samsrabin May 7, 2026
0814179
Merge pull request #3958 from adrifoster/docs_photosynthetic_capacity…
samsrabin May 7, 2026
67df914
Merge pull request #3942 from wwieder/documentation_2.23
samsrabin May 7, 2026
9af5143
Merge remote-tracking branch 'escomp/master' into merge-b4bdev-20260507
slevis-lmwg May 7, 2026
6daede0
Fix residual curly quotes in converting-between-md-and-rst.md.
samsrabin May 7, 2026
ee74417
Merge pull request #4001 from samsrabin/fix-residual-curlies
samsrabin May 7, 2026
3634814
Merge remote-tracking branch 'escomp/b4b-dev' into merge-b4bdev-20260507
slevis-lmwg May 7, 2026
a68fe66
Draft ChangeLog/Sum
slevis-lmwg May 7, 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
45 changes: 30 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
<!-- Please fill this out to the best of your ability when opening your PR! -->

<!-- **NOTE: Be sure to check your coding style against the standard
(https://github.com/ESCOMP/ctsm/wiki/CTSM-coding-guidelines) and review
the list of common problems to watch out for
(https://github.com/ESCOMP/CTSM/wiki/List-of-common-problems).** -->


### Description of changes

<!-- Description goes here -->

### Specific notes

Contributors other than yourself, if any:
**Contributors other than yourself, if any:**
- (Replace this text and add more list items as needed)

CTSM Issues Fixed (include github issue #):
**CTSM issues resolved or otherwise addressed, if any:**
- (Replace this text, including GitHub issue #, and add more list items as needed)
<!-- Put each issue on its own line, like "Resolves #3986" or "Contributes to #3151". -->
<!-- "Resolves" is a magic word; see them all at https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue -->

Are answers expected to change (and if so in what way)?
**If answers are expected to change, describe (delete this line otherwise):**

Any User Interface Changes (namelist or namelist defaults changes)?
**Any user interface changes (namelist or namelist defaults changes)?**

Does this create a need to change or add documentation? Did you do so?
**Testing planned or performed, if any:**
- [ ] (Replace this text and add more list items as needed)
<!-- (List what testing you did to show your changes worked as expected) -->

Testing performed, if any:
(List what testing you did to show your changes worked as expected)
(This can be manual testing or running of the different test suites)
(Documentation on system testing is here: https://github.com/ESCOMP/ctsm/wiki/System-Testing-Guide)
(aux_clm on derecho for intel/gnu and izumi for intel/gnu/nag/nvhpc is the standard for tags on master)

**NOTE: Be sure to check your coding style against the standard
(https://github.com/ESCOMP/ctsm/wiki/CTSM-coding-guidelines) and review
the list of common problems to watch out for
(https://github.com/ESCOMP/CTSM/wiki/List-of-common-problems).**

**If this PR changes the CTSM web documentation, please see our [contribution guidelines for documentation](https://escomp.github.io/CTSM/users_guide/working-with-documentation/docs-intro.html#contribution-guidelines).**
### Requirements before merge:
- [ ] I have followed the [CTSM contribution guidelines](https://github.com/ESCOMP/CTSM/blob/master/CONTRIBUTING.md).
<!-- Delete all list items below if this PR is purely Tech Note and/or User's Guide updates -->
- [ ] The code in this PR branch builds with no errors.
- [ ] The code in this PR branch runs with no errors. **Briefly describe tested configuration(s):**
- [ ] This either (a) does not change answers, (b) it only changes answers at roundoff level, or (c) I have performed a scientific evaluation of the answer changes. **Which?:**
<!-- If (c) above, include your analyses in the "Description of changes" section. -->
- [ ] I have reviewed relevant parts of the CLM documentation [Tech Note](https://escomp.github.io/CTSM/tech_note/index.html) or [User's Guide](https://escomp.github.io/CTSM/users_guide/index.html) to determine if anything needs to be changed or added. **If it does, describe:**
- [ ] This PR either (a) does not create a need to update the documentation or (b) includes required documentation updates (see [guidelines for contributing documentation](https://escomp.github.io/CTSM/users_guide/working-with-documentation/docs-intro.html#contribution-guidelines)). **Which?:**
4 changes: 2 additions & 2 deletions .github/workflows/docs-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
- '!doc/*ChangeSum*'
- '!doc/UpdateChangelog.pl'
# Include all include::ed files outside doc/ directory!
- 'src/README.unit_testing'
- 'tools/README'
- 'src/README.unit_testing.md'
- 'tools/README.md'
- 'doc/test/test_container_eq_ctsm_pylib.sh'

# Allows you to run this workflow manually from the Actions tab
Expand Down
143 changes: 139 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
- '!doc/UpdateChangelog.pl'
- '.github/workflows/docs-common.yml'
# Include all include::ed files outside doc/ directory!
- 'src/README.unit_testing'
- 'tools/README'
- 'src/README.unit_testing.md'
- 'tools/README.md'
- 'doc/test/test_container_eq_ctsm_pylib.sh'

pull_request:
Expand All @@ -27,8 +27,8 @@ on:
- '!doc/UpdateChangelog.pl'
- '.github/workflows/docs-common.yml'
# Include all include::ed files outside doc/ directory!
- 'src/README.unit_testing'
- 'tools/README'
- 'src/README.unit_testing.md'
- 'tools/README.md'
- 'doc/test/test_container_eq_ctsm_pylib.sh'

workflow_dispatch:
Expand Down Expand Up @@ -82,3 +82,138 @@ jobs:
with:
name: test-build-docs-container_failed
path: build-logs/

check-docs-style:
if: ${{ always() }}
name: Check documentation against style guide
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Disallow fake degree signs
if: always()
# Prevents anyone from using the masculine ordinal indicator, as well as superscript-o/O if
# preceded by a digit in
# - Markdown math style,
# - reStructuredText math style,
# - MyST text style, and
# - reStructuredText text style,
# with or without curly brackets and/or spaces.
#
# What follows is an explanation of the regex. Keep in mind that the superscript-o will
# match whether it's an uppercase O or lowercase o because of the -i flag to grep, so that's
# not handled in the regex.
#
# Markdown math style:
# Markdown math superscripts look like $^o$. There can also be curly brackets, like
# $^{o}$, which would allow you to put multiple characters (including spaces) in the
# superscript. The preceding digit can be inside or outside the dollar signs, again with
# or without spaces.
#
# There are two regex patterns separated by |, to handle the cases where the preceding
# digit is outside or inside the dollar signs, respectively:
# [0-9]\s*\\$\s*\^\{?\s*o
# [0-9] Any digit
# \s* Any number of spaces, including none
# \\$ A literal dollar sign
# \s* Any number of spaces, including none
# \^ A literal caret
# \{? Optionally a literal left curly bracket
# \s* Any number of spaces, including none
# o Lowercase o
# \\\$[0-9]+\s*\^\{?\s*o\s*\}?
# \\\$ A literal dollar sign
# [0-9]+ One or more digits
# \s* Any number of spaces, including none
# \^ A literal caret
# \{? Optionally a literal left curly bracket
# \s* Any number of spaces, including none
# o Lowercase o
# \s* Any number of spaces, including none
# \}? Optionally a literal right curly bracket
#
# MyST text style:
# MyST text superscripts look like {sup}`o`. Here's the regex:
# [0-9]\s*\{sup}\`\s*o\`
# [0-9] Any digit
# \s* Any number of spaces, including none
# \{ A literal left curly bracket
# sup The text "sup" designating the superscript role
# \} A literal right curly bracket
# \` A literal backtick
# \s* Any number of spaces, including none
# o Lowercase o
# \` A literal backtick
#
# reStructuredText text style
# Similar to MyST text superscripts, but with colons instead of curly brackets: :sup:`o`.
# Another difference is that spaces aren't allowed inside the backticks. Also, there has
# to be a space preceding the first colon; this can be preceded by a backslash to avoid
# putting an extraneous space in the rendered text. Here's the regex:
# [0-9]\\\? :sup:\`o\`
# [0-9] Any digit
# \\\? Optionally a literal backslash
# (A literal space)
# :sup: The text ":sup:" designating the superscript role
# \` A literal backtick
# o Lowercase o
# \` A literal backtick
#
# reStructuredText math style
# Mostly the same as reStructuredText text superscripts, but with :math: instead of
# :sup:. In addition, the superscript can optionally be in curly brackets. There can be
# a space after the first backtick but not before the last one.
#
# There are two regex patterns separated by |, to handle the cases where the preceding
# digit is outside or inside the dollar signs, respectively:
# [0-9]\\\? :math:\`\s*\^\{?\s*o\s*\}?\`
# [0-9] Any digit
# \\\? Optionally a literal backslash
# (A literal space)
# :math: The text ":math:" designating the math role
# \` A literal backtick
# \s* Any number of spaces, including none
# \^ A literal caret
# \{? Optionally a literal left curly bracket
# \s* Any number of spaces, including none
# o Lowercase o
# \s* Any number of spaces, including none
# \}? Optionally a literal right curly bracket
# \` A literal backtick
# :math:\`\s*[0-9]+\s*\^\{?\s*o\s*\}?\`
# :math: The text ":math:" designating the math role
# \` A literal backtick
# \s* Any number of spaces, including none
# [0-9]+ One or more digits
# \s* Any number of spaces, including none
# \^ A literal caret
# \{? Optionally a literal left curly bracket
# \s* Any number of spaces, including none
# o Lowercase o
# \s* Any number of spaces, including none
# \}? Optionally a literal right curly bracket
# \` A literal backtick
run: |
set +e
instances_of_fake_degree_signs="$(grep -ionE "[0-9]\s*\\$\s*\^\{?\s*o|\\\$[0-9]+\s*\^\{?\s*o\s*\}?|[0-9]\s*\{sup}\`\s*o\`|[0-9]\\\? :sup:\`o\`|[0-9]\\\? :math:\`\s*\^\{?\s*o\s*\}?\`| :math:\`\s*[0-9]+\s*\^\{?\s*o\s*\}?\`|º" $(find doc -name "*.md" -or -name "*.rst"))"
set -e
if [[ "$instances_of_fake_degree_signs" ]] then
echo -e "Instances of superscript-o or masculine ordinal indicator (º) instead of degree sign (°):\n${instances_of_fake_degree_signs}"
echo -e "\nSee https://escomp.github.io/CTSM/users_guide/working-with-documentation/docs-style-guide.html"
exit 1
fi
exit 0

- name: Disallow curly apostrophes/quotes
if: always()
run: |
set +e
instances_of_curlies="$(grep -onE "“|”|‘|’" $(find doc -name "*.md" -or -name "*.rst"))"
set -e
if [[ "$instances_of_curlies" ]] then
echo -e "Instances of curly apostrophes and/or quote marks:\n${instances_of_curlies}"
exit 1
fi
exit 0
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fxDONOTUSEurl = https://github.com/ESMCI/mpi-serial
[submodule "doc-builder"]
path = doc/doc-builder
url = https://github.com/ESMCI/doc-builder
fxtag = v3.1.0
fxtag = v3.1.1
fxrequired = ToplevelOptional
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
fxDONOTUSEurl = https://github.com/ESMCI/doc-builder
Loading
Loading