Add tool to preview docs changes in a PR#3972
Conversation
4a8365f to
5d3126e
Compare
|
Thanks @slevis-lmwg!
|
|
My test failed. I did the following: message: Then running with --verbose: also failed |
|
Should I be doing this on casper? |
|
@wwieder I think this is related to whatever problem you had where you needed to load |
@wwieder Also yes, I would have thought this should work fine on Derecho, but I'm getting errors. So yeah please try on Casper. |
|
This worked on casper! Below is what I'm seeing for PR 3971, which provides updates for Sturm. |
I haven't been able to reproduce this error since last week. |
|
Great, thanks Will! I'll go ahead and merge this. Then could you revert the changes you made to the docs docs in #3942? |
ekluzek
left a comment
There was a problem hiding this comment.
This is great. It made it much easier to preview the documentation for a PR. I also added a softlink to the default directory for this on Scratch in VNC, which means I can pop this up really quickly.
I have a couple suggestions.
- Change the script name to leave off the .py extention
- Add a successfully done statement to the end
- Use the ctsm_logging add_logging_args/process_logging_args to maange the --verbose argument
|
d799948 to
a977d84
Compare
wwieder
left a comment
There was a problem hiding this comment.
Sorry, forgot to mark as approved
Description of changes
Given a GitHub PR URL, download the code as if it had been merged and then build the docs.
Example on Casper:
Specific notes
Contributors other than yourself, if any: None
CTSM Issues Fixed (include github issue #): None
Are answers expected to change (and if so in what way)? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Does this create a need to change or add documentation? Did you do so? No. It's currently in
tools/contrib/and thus unsupported.Testing performed, if any: Testing on #3958 and this PR.