Skip to content

Commit

Permalink
Add CLI reference page, auto-generated from Click (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Oct 8, 2022
1 parent aa10190 commit b2083d0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/user-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ bar at the top of the page to move through the documentation in order.
- [Customizing Your Theme](customizing-your-theme.md)
- [Localizing Your Theme](localizing-your-theme.md)
- [Configuration](configuration.md)
- [Command Line Interface](cli.md)
- [Deploying Your Docs](deploying-your-docs.md)

[Getting Started]: ../getting-started.md
8 changes: 8 additions & 0 deletions docs/user-guide/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Command Line Interface

::: mkdocs-click
:module: mkdocs.__main__
:command: cli
:prog_name: mkdocs
:style: table
:list_subcommands: true
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ markdown_extensions:
- mdx_gh_links:
user: mkdocs
repo: mkdocs
- mkdocs-click

copyright: Copyright &copy; 2014 <a href="https://twitter.com/_tomchristie">Tom Christie</a>, Maintained by the <a href="/about/release-notes/#maintenance-team">MkDocs Team</a>.

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ dependencies = [
"mkdocs-redirects >=1.0.1",
"pymdown-extensions >=8.0.1",
"mkdocstrings-python >=0.7.1",
"mkdocs-click >=0.8.0",
]

[tool.black]
Expand Down

0 comments on commit b2083d0

Please sign in to comment.