Skip to content

Commit

Permalink
cleanup docs build (#205)
Browse files Browse the repository at this point in the history
* trying again

* trying again

* trying again

* trying again

* trying again

* trying again
  • Loading branch information
edwardhartnett authored Jul 21, 2024
1 parent 7efeecc commit 8ddfcc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 46 deletions.
45 changes: 2 additions & 43 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,48 +32,7 @@ jobs:

- name: install
run: |
sudo apt-get update
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config
sudo apt-get install libpng-dev libaec-dev doxygen
- name: cache-jasper
id: cache-jasper
uses: actions/cache@v4
with:
path: ~/jasper
key: jasper-${{ runner.os }}-1.900.1

- name: checkout-jasper
if: steps.cache-jasper.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
repository: jasper-software/jasper
path: jasper
ref: version-1.900.1

- name: build-jasper
if: steps.cache-jasper.outputs.cache-hit != 'true'
run: |
cd jasper
./configure --prefix=$HOME/Jasper
make
make install
- name: checkout-ip
uses: actions/checkout@v4
with:
repository: NOAA-EMC/NCEPLIBS-ip
path: ip
ref: v5.0.0

- name: build-ip
run: |
cd ip
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/ip
make -j2
make install
sudo apt-get install doxygen
- name: checkout
uses: actions/checkout@v4
Expand All @@ -92,7 +51,7 @@ jobs:
cd wgrib2
mkdir build
cd build
cmake .. -DENABLE_DOCS=ON -DCMAKE_PREFIX_PATH="~/ip"
cmake .. -DUSE_IPOLATES=OFF -DENABLE_DOCS=ON
make VERBOSE=1
- name: upload
Expand Down
6 changes: 3 additions & 3 deletions docs/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ for interacting with, reading, writing, and manipulating GRIB2 files.
For more information see the [legacy wgrib2
documentation](https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/).

Wgrib2 is maintained as a collaboration between CPC and the
[Environmental Modeling Center
(EMC)](https://www.emc.ncep.noaa.gov/emc.php).
Wgrib2 is maintained as a collaboration between [Climate Prediction
Center (CPC)](https://www.cpc.ncep.noaa.gov/) and the [Environmental
Modeling Center (EMC)](https://www.emc.ncep.noaa.gov/emc.php).

## Documentation for Previous Versions of wgrib2

Expand Down

0 comments on commit 8ddfcc4

Please sign in to comment.