Skip to content

Commit 32c444a

Browse files
committed
Merge branch 'main' into changelog/v0.15.0
2 parents 4fbf155 + bcc00e6 commit 32c444a

File tree

5 files changed

+26
-15
lines changed

5 files changed

+26
-15
lines changed

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
path: deploy
177177
# Download the entire history
178178
fetch-depth: 0
179-
persist-credentials: false
179+
persist-credentials: true
180180
if: (github.event_name == 'release' || github.event_name == 'push') && (matrix.os == 'ubuntu-latest')
181181

182182
- name: Push the built HTML to gh-pages

.github/workflows/release-drafter.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Draft the next release notes
22
#
3-
# This workflow is run to update the next release notes as pull requests are
4-
# merged into the main branch. The configuration file is located at
5-
# `.github/release-drafter.yml`.
3+
# This workflow is run to update the next release notes as pull requests are merged into
4+
# the main branch. The configuration file is located at `.github/release-drafter.yml`.
65
#
76
name: Release Drafter
87

@@ -11,10 +10,14 @@ on:
1110
branches:
1211
- main
1312

14-
permissions: {}
13+
permissions:
14+
contents: read
1515

1616
jobs:
1717
update_release_draft:
18+
permissions:
19+
# write permission is required to create a github release
20+
contents: write
1821
runs-on: ubuntu-latest
1922
if: github.repository == 'GenericMappingTools/pygmt'
2023

doc/techref/common_parameters.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Common Parameters
2+
3+
```{glossary}
4+
``verbose``
5+
Select verbosity level, which modulates the messages written to stderr.
6+
7+
Choose among 7 levels of verbosity [Default is ``"w"``]:
8+
9+
- ``"q"``: Quiet, not even fatal error messages are produced
10+
- ``"e"``: Error messages only
11+
- ``"w"``: Warnings [Default]
12+
- ``"t"``: Timings (report runtimes for time-intensive algorithms)
13+
- ``"i"``: Informational messages (same as ``verbose=True``)
14+
- ``"c"``: Compatibility warnings
15+
- ``"d"``: Debugging messages
16+
```

doc/techref/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ visit the {gmt-docs}`GMT Technical Reference <reference.html>`.
88
```{toctree}
99
:maxdepth: 1
1010
11+
common_parameters.md
1112
projections.md
1213
fonts.md
1314
patterns.md

pygmt/helpers/decorators.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -364,16 +364,7 @@
364364
in the image (for further processing). """,
365365
"verbose": r"""
366366
verbose : bool or str
367-
Select verbosity level [Default is **w**], which modulates the messages
368-
written to stderr. Choose among 7 levels of verbosity:
369-
370-
- **q**: Quiet, not even fatal error messages are produced
371-
- **e**: Error messages only
372-
- **w**: Warnings [Default]
373-
- **t**: Timings (report runtimes for time-intensive algorithms)
374-
- **i**: Informational messages (same as ``verbose=True``)
375-
- **c**: Compatibility warnings
376-
- **d**: Debugging messages""",
367+
Select verbosity level [:term:`Full usage <verbose>`].""",
377368
"wrap": r"""
378369
wrap : str
379370
**y**\|\ **a**\|\ **w**\|\ **d**\|\ **h**\|\ **m**\|\ **s**\|\

0 commit comments

Comments
 (0)