-
Notifications
You must be signed in to change notification settings - Fork 313
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 docs infrastructure #2809
base: b4b-dev
Are you sure you want to change the base?
Conversation
Based on ESMCI/cime#4613. Builds OK, but I'm not sure if the new versions setup works.
Might break things?
### Sam Rabin 2024-10-02: Commented out to resolve "WARNING: unsupported theme option 'versions' given". Might break things! | ||
### html_theme_options = {} | ||
### html_theme_options['versions'] = {version: ''} | ||
### html_theme_options['versions']['[placeholder]'] = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonb5 In trying to move us off that old sphinx_rtd_theme
fork, I made changes based on your PR at ESMCI/cime#4613. However, I was getting "WARNING: unsupported theme option 'versions' given" warnings until I commented out this bit. I see that CIME has it uncommented, though. Does that warning still happen for CIME, or is there something better I can do to resolve it?
f344a1e
to
ff003dd
Compare
ff003dd
to
c3788bb
Compare
Via updating doc-builder external to c51795f; branch update-20241002: Merge branch 'warnings-as-errors' into update-20241002
|
Will ask at CSEG meeting today if I can get a new |
Treat Sphinx warnings as errors by default.
Description of changes
sphinx_rtd_theme
docs/
docs/
:doc-builder
(would require more testing; probably a different PR)Specific notes
Note that this PR tests the workflow jobs that are run on PRs of branches from forks. Specifically, the doc building is tested, but nothing is previewed or published. That only happens for PRs of branches from this canonical ESCOMP/CTSM repo; see #2812 for testing of that.
Contributors other than yourself, if any: None
CTSM Issues Fixed (include github issue #):
Are answers expected to change (and if so in what way)? The way users switch between documentation versions will be different.
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed, if any: Builds locally with no errors or warnings. Hopefully the version switching isn't broken—it looks broken locally, but I don't know if that's just an issue of it being local.