Skip to content

Commit

Permalink
Add API documentation to documentation build, turn off documentation …
Browse files Browse the repository at this point in the history
…warning check (#508)

---------
  • Loading branch information
edwardhartnett authored Oct 3, 2024
1 parent 273e5ee commit 9d754c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinxcontrib-bibtex sphinx-rtd-theme
pip install sphinx sphinxcontrib-bibtex sphinx-rtd-theme numpy matplotlib pandas cartopy pandas cartopy f90nml netCDF4 xarray scipy
- name: Build docs
run: |
cd rrfs-workflow/doc/UsersGuide
sphinx-build -W --keep-going source build
sphinx-apidoc -o source/ ../../ush/
#sphinx-build -W --keep-going source build
sphinx-build source build
- uses: actions/upload-artifact@v4
with:
name: rrfs-workflow docs
Expand Down
1 change: 1 addition & 0 deletions doc/UsersGuide/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../../ush'))

# -- Project information -----------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/UsersGuide/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RRFS-WORKFLOW Users Guide


Quickstart

modules

0 comments on commit 9d754c8

Please sign in to comment.