Skip to content

Commit

Permalink
improved docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Oct 12, 2024
1 parent c95dc5d commit f51578b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 24 deletions.
14 changes: 7 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@
"json_url": "https://raw.githubusercontent.com/fusion-energy/paramak/main/docs/version_switcher.json",
"version_match": version_match,
},
# "navbar_start": ["version-switcher", "navbar-icon-links"],
# "show_nav_level": 3,
# "collapse_navigation": True,
# "show_version_warning_banner": True,
"navbar_start": ["version-switcher", "navbar-icon-links"],
"show_nav_level": 3,
"collapse_navigation": True,
"show_version_warning_banner": True,
}
html_sidebars = {
"**": ["sidebar-nav-bs"]
}
# html_sidebars = {
# "**": ["sidebar-nav-bs", "sidebar-ethical-ads"]
# }

html_favicon = '_static/favicon.ico'
master_doc = "index"
10 changes: 5 additions & 5 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage
=====
Examples
========

There are two main reactors to choose from:

Expand All @@ -25,7 +25,7 @@ These examples show how to make various reactors with different options.
.. toctree::
:maxdepth: 3

usage_vis
usage_tokamak
usage_spherical_tokamak
examples_vis
examples_tokamak
examples_spherical_tokamak

15 changes: 6 additions & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,18 @@
Paramak documentation
=====================

**Version**: |version|


.. toctree::
:maxdepth: 1
**Version**: |version|

install

.. toctree::
:maxdepth: 3
:caption: Contents:
:hidden:

install
examples

.. toctree::
:maxdepth: 1

python_api

Parameter driven CAD creation for fusion reactors.
Expand Down Expand Up @@ -51,7 +47,7 @@ The style of reaction, sizes of components, plasma shape and number of radial or

Examples
^^^
\

.. button-ref:: examples
:expand:
:color: secondary
Expand All @@ -72,3 +68,4 @@ The style of reaction, sizes of components, plasma shape and number of radial or
:click-parent:

To the reference guide

3 changes: 0 additions & 3 deletions docs/python_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ Assemblies
----------

.. autofunction:: tokamak

.. autofunction:: tokamak_from_plasma

.. autofunction:: spherical_tokamak

.. autofunction:: spherical_tokamak_from_plasma

Workplanes
Expand Down

0 comments on commit f51578b

Please sign in to comment.