Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit b3934e1

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #107 from staticdev/add-sphinx-click
Add sphinx-click
2 parents 6dcf80d + 44b6f58 commit b3934e1

File tree

6 files changed

+176
-104
lines changed

6 files changed

+176
-104
lines changed

README.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ Git Portfolio
3939
Features
4040
--------
4141

42-
* Mass create issues.
43-
* Mass create pull requests.
44-
* Mass merge pull requests.
45-
* Mass delete branches by name.
42+
* Configure multiple working repositories.
43+
* Batch `git checkout`, `git commit`, `git pull`, `git push` and `git status`.
44+
* Batch creation of issues, creation of pull requests, merge of pull requests and deletion branches by name on GitHub.
4645

4746

4847
Requirements
@@ -66,7 +65,9 @@ You can install *Git Portfolio* via pip_ from PyPI_:
6665
Usage
6766
-----
6867

69-
* TODO.
68+
.. click:: git_portfolio.__main__:main
69+
:prog: gitp
70+
:nested: full
7071

7172

7273
Contributing

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
project = "Git Portfolio"
66
author = "Thiago Carvalho D'Ávila"
77
copyright = f"{datetime.now().year}, {author}"
8-
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"]
8+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_click"]
99
autodoc_typehints = "description"

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def docs_build(session: Session) -> None:
267267
"""Build the documentation."""
268268
args = session.posargs or ["docs", "docs/_build"]
269269
install_package(session)
270-
install(session, "sphinx")
270+
install(session, "sphinx", "sphinx-click")
271271

272272
build_dir = Path("docs", "_build")
273273
if build_dir.exists():
@@ -281,7 +281,7 @@ def docs(session: Session) -> None:
281281
"""Build and serve the documentation with live reloading on file changes."""
282282
args = session.posargs or ["--open-browser", "docs", "docs/_build"]
283283
install_package(session)
284-
install(session, "sphinx", "sphinx-autobuild")
284+
install(session, "sphinx", "sphinx-autobuild", "sphinx-click")
285285

286286
build_dir = Path("docs", "_build")
287287
if build_dir.exists():

0 commit comments

Comments
 (0)