Skip to content

Commit 374e596

Browse files
committed
Merge branch 'master' into 3.0.0 with doc fixes
2 parents bdc6023 + 7db5f11 commit 374e596

File tree

7 files changed

+26
-22
lines changed

7 files changed

+26
-22
lines changed

.github/CONTRIBUTING.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,20 @@ The tables below list all prerequisites along with the minimum required version
6464

6565
#### Additional prerequisites for developing cmd2
6666

67-
| Prerequisite | Minimum Version | Purpose |
68-
| ------------------------------------------------------------------------------------------ | --------------- | --------------------------------- |
69-
| [codecov](http://doc.pytest.org/en/latest/) | `2.1.13` | Cover coverage reporting |
70-
| [invoke](https://www.pyinvoke.org/) | `2.2.0` | Command automation |
71-
| [griffe_typingdoc](https://github.com/mkdocstrings/griffe-typingdoc) | `0.2.7` | mkdocstrings extension for typing |
72-
| [mypy](https://mypy-lang.org/) | `1.13.0` | Static type checker |
73-
| [pytest](https://docs.pytest.org/en/stable/) | `3.0.6` | Unit and integration tests |
74-
| [pytest-cov](http://doc.pytest.org/en/latest/) | `6.0.0` | Pytest code coverage |
75-
| [pytest-mock](https://pypi.org/project/pytest-mock/) | `3.14.0` | Pytest mocker fixture |
76-
| [mkdocs-include-markdown-plugin](https://pypi.org/project/mkdocs-include-markdown-plugin/) | `7.1.2` | MkDocs Plugin include MkDn |
77-
| [mkdocs-macros-plugin](https://mkdocs-macros-plugin.readthedocs.io/) | `1.3.7` | MkDocs Plugin for macros |
78-
| [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) | `9.5.49` | Documentation |
79-
| [mkdocstrings[python]](https://mkdocstrings.github.io/) | `0.27.0` | MkDocs Plugin for Python AutoDoc |
80-
| [ruff](https://github.com/astral-sh/ruff) | `0.7.3` | Fast linter and formatter |
81-
| [uv](https://github.com/astral-sh/uv) | `0.5.1` | Python package management |
67+
| Prerequisite | Minimum Version | Purpose |
68+
| ------------------------------------------------------------------------------------------ | --------------- | -------------------------------- |
69+
| [codecov](http://doc.pytest.org/en/latest/) | `2.1.13` | Cover coverage reporting |
70+
| [invoke](https://www.pyinvoke.org/) | `2.2.0` | Command automation |
71+
| [mypy](https://mypy-lang.org/) | `1.13.0` | Static type checker |
72+
| [pytest](https://docs.pytest.org/en/stable/) | `3.0.6` | Unit and integration tests |
73+
| [pytest-cov](http://doc.pytest.org/en/latest/) | `6.0.0` | Pytest code coverage |
74+
| [pytest-mock](https://pypi.org/project/pytest-mock/) | `3.14.0` | Pytest mocker fixture |
75+
| [mkdocs-include-markdown-plugin](https://pypi.org/project/mkdocs-include-markdown-plugin/) | `7.1.2` | MkDocs Plugin include MkDn |
76+
| [mkdocs-macros-plugin](https://mkdocs-macros-plugin.readthedocs.io/) | `1.3.7` | MkDocs Plugin for macros |
77+
| [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) | `9.5.49` | Documentation |
78+
| [mkdocstrings[python]](https://mkdocstrings.github.io/) | `0.27.0` | MkDocs Plugin for Python AutoDoc |
79+
| [ruff](https://github.com/astral-sh/ruff) | `0.7.3` | Fast linter and formatter |
80+
| [uv](https://github.com/astral-sh/uv) | `0.5.1` | Python package management |
8281

8382
If Python is already installed in your machine, run the following commands to validate the versions:
8483

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: trailing-whitespace
99

1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: "v0.9.2"
11+
rev: "v0.9.3"
1212
hooks:
1313
- id: ruff-format
1414
args: [--config=pyproject.toml]

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
- Added `RawDescriptionCmd2HelpFormatter`, `RawTextCmd2HelpFormatter`, `ArgumentDefaultsCmd2HelpFormatter`,
1212
and `MetavarTypeCmd2HelpFormatter` and they all use `rich-argparse`.
1313

14+
## 2.5.11 (January 25, 2025)
15+
16+
- Bug Fixes
17+
- Fixed duplicated parameter tables in API documentation.
18+
19+
## 2.5.10 (January 25, 2025)
20+
21+
- Bug Fixes
22+
- Fixed docstring style for MkDocs API documentation so parameters are displayed properly.
23+
1424
## 2.5.9 (January 17, 2025)
1525

1626
- Bug Fixes

Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ cmd2 = { editable = true, path = "." }
1616
cmd2_ext_test = { editable = true, path = "plugins/ext_test" }
1717
codecov = "*"
1818
gnureadline = { version = "*", sys_platform = "== 'darwin'" }
19-
griffe-typingdoc = "*"
2019
invoke = "*"
2120
ipython = "*"
2221
mypy = "*"

docs/overview/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This will also install the required 3rd-party dependencies.
6060

6161
!!! warning
6262

63-
Versions of `cmd2` before 0.8.9 should be considered to be of unstable "beta" quality and should not be relied upon for production use. If you cannot get a version >= 0.8.9 from your OS repository, then we recommend installing from either pip or GitHub - see [Pip Install](installation.md#pip_install) or [Install from GitHub](installation.md#github).
63+
Versions of `cmd2` before 1.0.0 should be considered to be of unstable "beta" quality and should not be relied upon for production use. If you cannot get a version >= 0.8.9 from your OS repository, then we recommend installing from either pip or GitHub - see [Pip Install](installation.md#pip_install) or [Install from GitHub](installation.md#github).
6464

6565
## Upgrading cmd2
6666

mkdocs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ plugins:
7272
handlers:
7373
python:
7474
options:
75-
extensions:
76-
- griffe_typingdoc
7775
show_root_heading: true
7876
show_if_no_docstring: true
7977
preload_modules:

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ build = ["build>=1.2.1", "setuptools>=64", "setuptools-scm>=8"]
4646
dev = [
4747
"black>=24",
4848
"codecov>=2",
49-
"griffe-typingdoc>=0.2",
5049
"invoke>=2",
5150
"mkdocs-git-revision-date-localized-plugin>=1.3",
5251
"mkdocs-include-markdown-plugin>=6",
@@ -63,7 +62,6 @@ dev = [
6362
]
6463
docs = [
6564
"black>=24",
66-
"griffe-typingdoc>=0.2",
6765
"mkdocs-git-revision-date-localized-plugin>=1.3",
6866
"mkdocs-include-markdown-plugin>=6",
6967
"mkdocs-macros-plugin>=1",

0 commit comments

Comments
 (0)