Skip to content

Commit

Permalink
fix: API render, version switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyPlanden committed Jul 8, 2024
1 parent 64f635e commit 09cb665
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
16 changes: 13 additions & 3 deletions docs/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@
"url": "https://pybop-docs.readthedocs.io/en/latest/"
},
{
"name": "v23.12 (stable)",
"version": "v23.12",
"url": "https://pybop-docs.readthedocs.io/en/v23.12/",
"name": "v24.6 (stable)",
"version": "v24.6",
"url": "https://pybop-docs.readthedocs.io/en/v24.6/",
"preferred": true
},
{
"name": "v24.3.1",
"version": "v24.3.1",
"url": "https://pybop-docs.readthedocs.io/en/v24.3.1/"
},
{
"name": "v23.12",
"version": "v23.12",
"url": "https://pybop-docs.readthedocs.io/en/v23.12/"
}
]
2 changes: 2 additions & 0 deletions docs/_templates/autoapi/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ This page contains auto-generated API reference documentation [#f1]_.
{% endif %}
{% endfor %}

pybop/index

.. [#f1] Created with `sphinx-autoapi <https://github.com/readthedocs/sphinx-autoapi>`_
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# -- Options for autoapi -------------------------------------------------------
autoapi_type = "python"
autoapi_dirs = ["../pybop"]
autoapi_keep_files = True
autoapi_keep_files = False
autoapi_root = "api"
autoapi_member_order = "groupwise"

Expand Down

0 comments on commit 09cb665

Please sign in to comment.