Skip to content

Commit

Permalink
Add Command Line Reference section to docs (#1934)
Browse files Browse the repository at this point in the history
Co-authored-by: chrysle <fritzihab@posteo.de>
  • Loading branch information
atugushev and chrysle authored Jul 24, 2023
1 parent 8c418e8 commit 7ccf975
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/cli/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Command Line Reference

This page provides a reference for the `pip-tools` command-line interface (CLI):

```{toctree}
:maxdepth: 1
pip-compile
pip-sync
```
5 changes: 5 additions & 0 deletions docs/cli/pip-compile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# pip-compile

```{program-output} pip-compile --help
```
5 changes: 5 additions & 0 deletions docs/cli/pip-sync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# pip-sync

```{program-output} pip-sync --help
```
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["myst_parser"]
extensions = ["myst_parser", "sphinxcontrib.programoutput"]


# -- Options for HTML output -------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
:maxdepth: 2
:caption: Contents
cli/index
contributing
changelog
```
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ furo >= 2021.7.5b38
myst-parser >= 0.15.1
setuptools-scm >= 6.0.1
Sphinx >= 4.1.1
sphinxcontrib-programoutput >= 0.17

0 comments on commit 7ccf975

Please sign in to comment.