forked from ufs-community/ufs-srweather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/daily_obs_tasks' into feature/daily_obs_tasks_h…
…rrrcast
- Loading branch information
Showing
70 changed files
with
1,608 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# This script recreates technical documentation for the ush and tests/WE2E Python scripts | ||
# If the tech docs produced here do not match the branch's contents, the script will fail | ||
|
||
set -eo pipefail | ||
|
||
# Install prerequisites | ||
pip install sphinx | ||
pip install sphinx-rtd-theme | ||
pip install sphinxcontrib-bibtex | ||
|
||
# Regenerate tech docs in ush and tests/WE2E based on current state of scripts in those directories. | ||
cd doc/TechDocs | ||
sphinx-apidoc -fM --remove-old -o ./ush ../../ush | ||
sphinx-apidoc -fM --remove-old -o ./tests/WE2E ../../tests/WE2E | ||
|
||
# Check for mismatch between what comes out of this action and what is in the PR. | ||
status=`git status -s` | ||
|
||
if [ -n "${status}" ]; then | ||
echo ${status} | ||
echo "" | ||
echo "Please update your Technical Documentation RST files." | ||
exit 1 | ||
else | ||
echo "Technical documentation is up-to-date." | ||
exit 0 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Doc Tests | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- develop | ||
- 'release/*' | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash -leo pipefail {0} | ||
|
||
jobs: | ||
doc_tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Check tech docs | ||
run: .github/scripts/check_tech_doc.sh | ||
- name: Build documentation | ||
run: | | ||
cd doc | ||
make doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
eval\_metplus\_timestr\_tmpl module | ||
=================================== | ||
|
||
.. automodule:: eval_metplus_timestr_tmpl | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
get\_obs module | ||
=============== | ||
|
||
.. automodule:: get_obs | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set\_cycle\_and\_obs\_timeinfo module | ||
===================================== | ||
|
||
.. automodule:: set_cycle_and_obs_timeinfo | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set\_leadhrs module | ||
=================== | ||
|
||
.. automodule:: set_leadhrs | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.