Skip to content

Commit 839ddf6

Browse files
authored
docs: use sphinx argparse v0.4.0 (#67)
* docs: use sphinx argparse v0.4.0 refactor: use f-strings for ascii and verbose output * refactor: comment lines * Update test_download_and_read.py
1 parent b4df0be commit 839ddf6

78 files changed

Lines changed: 5148 additions & 5152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/auto-update-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
id: changes
5050
run: |
5151
if [ -n "$(git status --porcelain)" ] ; then
52-
echo "::set-output name=detected::true";
52+
echo "DETECTED=true" >> $GITHUB_OUTPUT;
5353
echo "::debug::Changes detected";
5454
else
55-
echo "::set-output name=detected::false";
55+
echo "DETECTED=false" >> $GITHUB_OUTPUT;
5656
echo "::debug::No changes detected";
5757
fi
5858
- name: Create pull request
59-
if: steps.changes.outputs.detected == 'true'
59+
if: steps.changes.outputs.DETECTED == 'true'
6060
uses: peter-evans/create-pull-request@v3
6161
with:
6262
assignees: ${{ github.actor }}

doc/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ dependencies:
2727
- scikit-learn
2828
- scp
2929
- sphinx
30-
- sphinx-argparse
3130
- sphinx_rtd_theme
3231
- texlive-core
3332
- zarr
3433
- pip:
34+
- sphinx-argparse>=0.4
3535
- git+https://github.com/tsutterley/yapc.git
3636
- ..
3737

doc/source/api_reference/MPI_DEM_ICESat2_ATL03.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Calling Sequence
2828
################
2929

3030
.. argparse::
31-
:filename: ../../scripts/MPI_DEM_ICESat2_ATL03.py
31+
:filename: MPI_DEM_ICESat2_ATL03.py
3232
:func: arguments
3333
:prog: MPI_DEM_ICESat2_ATL03.py
3434
:nodescription:

doc/source/api_reference/MPI_DEM_ICESat2_ATL06.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Calling Sequence
2929
################
3030

3131
.. argparse::
32-
:filename: ../../scripts/MPI_DEM_ICESat2_ATL06.py
32+
:filename: MPI_DEM_ICESat2_ATL06.py
3333
:func: arguments
3434
:prog: MPI_DEM_ICESat2_ATL06.py
3535
:nodescription:

doc/source/api_reference/MPI_DEM_ICESat2_ATL11.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Calling Sequence
2828
################
2929

3030
.. argparse::
31-
:filename: ../../scripts/MPI_DEM_ICESat2_ATL11.py
31+
:filename: MPI_DEM_ICESat2_ATL11.py
3232
:func: arguments
3333
:prog: MPI_DEM_ICESat2_ATL11.py
3434
:nodescription:

doc/source/api_reference/MPI_ICESat2_ATL03.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Calling Sequence
1616
################
1717

1818
.. argparse::
19-
:filename: ../../scripts/MPI_ICESat2_ATL03.py
19+
:filename: MPI_ICESat2_ATL03.py
2020
:func: arguments
2121
:prog: MPI_ICESat2_ATL03.py
2222
:nodescription:

doc/source/api_reference/MPI_ICESat2_ATL03_histogram.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Calling Sequence
1616
################
1717

1818
.. argparse::
19-
:filename: ../../scripts/MPI_ICESat2_ATL03_histogram.py
19+
:filename: MPI_ICESat2_ATL03_histogram.py
2020
:func: arguments
2121
:prog: MPI_ICESat2_ATL03_histogram.py
2222
:nodescription:

doc/source/api_reference/MPI_reduce_ICESat2_ATL03_RGI.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Calling Sequence
1212
################
1313

1414
.. argparse::
15-
:filename: ../../scripts/MPI_reduce_ICESat2_ATL03_RGI.py
15+
:filename: MPI_reduce_ICESat2_ATL03_RGI.py
1616
:func: arguments
1717
:prog: MPI_reduce_ICESat2_ATL03_RGI.py
1818
:nodescription:

doc/source/api_reference/MPI_reduce_ICESat2_ATL06_RGI.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Calling Sequence
1212
################
1313

1414
.. argparse::
15-
:filename: ../../scripts/MPI_reduce_ICESat2_ATL06_RGI.py
15+
:filename: MPI_reduce_ICESat2_ATL06_RGI.py
1616
:func: arguments
1717
:prog: MPI_reduce_ICESat2_ATL06_RGI.py
1818
:nodescription:

doc/source/api_reference/MPI_reduce_ICESat2_ATL06_drainages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Calling Sequence
1212
################
1313

1414
.. argparse::
15-
:filename: ../../scripts/MPI_reduce_ICESat2_ATL06_drainages.py
15+
:filename: MPI_reduce_ICESat2_ATL06_drainages.py
1616
:func: arguments
1717
:prog: MPI_reduce_ICESat2_ATL06_drainages.py
1818
:nodescription:

0 commit comments

Comments
 (0)