Skip to content

Commit

Permalink
readd cli docs relative to .rst file
Browse files Browse the repository at this point in the history
change docs as well until
sphinx-doc/sphinx-argparse#61
is resolved
  • Loading branch information
maurerle committed Aug 7, 2024
1 parent ccfe528 commit a8ee94b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ sphinx-apidoc -o docs/source -Fa assume
To create and serve the documentation locally, use:

```bash
make -C docs html && python -m http.server --directory docs/build/html
cd docs/source && python -m sphinx . ../build && cd ../.. && python -m http.server --directory docs/build/html
```

## Contributors and Funding
Expand Down
5 changes: 5 additions & 0 deletions docs/source/command_line_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ There is a command line interface available to assume which makes it easy to run
It takes an input folder relative from the place it was run from.

The following command line parameters are available in the CLI:

.. argparse::
:filename: ../../assume_cli/cli.py
:func: create_parser
:prog: assume
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Documentation
* :doc:`buffers`
* :doc:`support_policies`
* :doc:`distributed_simulation`
* :doc:`command_line_interface`
* :doc:`assume`

.. toctree::
Expand All @@ -97,6 +98,7 @@ Documentation
buffers
support_policies
distributed_simulation
command_line_interface
assume


Expand Down

0 comments on commit a8ee94b

Please sign in to comment.