Skip to content

Commit

Permalink
Rejig index page in docs. (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kraus authored Aug 18, 2022
1 parent d1cbd6c commit a509411
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-job/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "Build the documentation."
runs:
using: "composite"
steps:
- run: sphinx-apidoc -o docs/source src/yadg -T -M -E -f --templatedir=docs/apidoc
- run: sphinx-apidoc -o docs/source/apidoc src/yadg -T -M -E -f --templatedir=docs/apidoc_t
shell: bash
- run: sphinx-build -W -b html docs/source public/master
shell: bash
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dist/
*.egg
build/
public/
docs/source/yadg*.rst
docs/source/apidoc/
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ You can read more about yadg in our paper: [Kraus2022b]_.
.. toctree::
:maxdepth: 3
:caption: yadg user manual
:hidden:

usage
features
parsers
citing

.. include:: parsers.rst

.. toctree::
:maxdepth: 1
Expand All @@ -41,4 +40,4 @@ You can read more about yadg in our paper: [Kraus2022b]_.
devdocs
version
objects
yadg
apidoc/yadg
23 changes: 12 additions & 11 deletions docs/source/parsers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ following links:

.. toctree::
:maxdepth: 1
:caption: yadg parsers

yadg.parsers.dummy
yadg.parsers.basiccsv
yadg.parsers.meascsv
yadg.parsers.flowdata
yadg.parsers.electrochem
yadg.parsers.chromtrace
yadg.parsers.chromdata
yadg.parsers.qftrace
yadg.parsers.xpstrace
yadg.parsers.xrdtrace
yadg.parsers.masstrace
apidoc/yadg.parsers.dummy
apidoc/yadg.parsers.basiccsv
apidoc/yadg.parsers.meascsv
apidoc/yadg.parsers.flowdata
apidoc/yadg.parsers.electrochem
apidoc/yadg.parsers.chromtrace
apidoc/yadg.parsers.chromdata
apidoc/yadg.parsers.qftrace
apidoc/yadg.parsers.xpstrace
apidoc/yadg.parsers.xrdtrace
apidoc/yadg.parsers.masstrace

0 comments on commit a509411

Please sign in to comment.