Skip to content

Commit

Permalink
Merge pull request #91 from datalad/docs-sections
Browse files Browse the repository at this point in the history
Move python and cli reference to separate doc pages
  • Loading branch information
adswa committed Oct 10, 2023
2 parents 81dcfe5 + e3607da commit 3faf449
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/source/cli_reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Command line reference
======================

.. toctree::
:maxdepth: 1

generated/man/datalad-hello-cmd
12 changes: 5 additions & 7 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,19 @@ API
High-level API commands
-----------------------

.. currentmodule:: datalad.api
.. autosummary::
:toctree: generated
.. toctree::
:maxdepth: 2

hello_cmd
python_reference.rst


Command line reference
----------------------

.. toctree::
:maxdepth: 1

generated/man/datalad-hello-cmd
:maxdepth: 2

cli_reference.rst

Indices and tables
==================
Expand Down
8 changes: 8 additions & 0 deletions docs/source/python_reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
High-level API commands
=======================

.. currentmodule:: datalad.api
.. autosummary::
:toctree: generated

hello_cmd

0 comments on commit 3faf449

Please sign in to comment.