Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/_templates/sidebar-nav-bs.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<div class="bd-toc-item active">
{% if pagename.startswith("_autosummary") or pagename.startswith("api")%}
{{ generate_nav_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
{% else %}
{{ generate_nav_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
{% endif %}

</div>
Expand Down
11 changes: 6 additions & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,20 @@
copyright = f"(c) {datetime.now().year} ANSYS, Inc. All rights reserved"
author = "ANSYS, Inc."
release = version = "0.1.dev0"
switcher_version = get_version_match(__version__)

cname = os.getenv("DOCUMENTATION_CNAME", "<DEFAULT_CNAME>")
"""The canonical name of the webpage hosting the documentation."""

# Select desired logo, theme, and declare the html title
html_logo = pyansys_logo_black
html_theme = "ansys_sphinx_theme"
html_short_title = html_title = "PyAnsys Math"

cname = os.getenv("DOCUMENTATION_CNAME", "<DEFAULT_CNAME>")
"""The canonical name of the webpage hosting the documentation."""


# specify the location of your github repo
html_theme_options = {
"github_url": "https://github.com/pyansys/pyansys-math",
"check_switcher": False,
"show_prev_next": False,
"show_breadcrumbs": True,
"collapse_navigation": True,
Expand All @@ -70,7 +71,7 @@
],
"switcher": {
"json_url": f"https://{cname}/versions.json",
"version_match": get_version_match(__version__),
"version_match": switcher_version,
},
}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ doc = [
"Sphinx==5.3.0",
"ansys-mapdl-core==0.64.0",
"ansys-mapdl-reader==0.52.9",
"ansys-sphinx-theme==0.8.2",
"ansys-sphinx-theme==0.9.5",
"jupyter_sphinx==0.4.0",
"jupyterlab==3.6.1",
"numpydoc==1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/math/core/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Version of ansys-<product/service>-<library> library.
"""Version of ansys-math-core library.

On the ``main`` branch, use 'dev0' to denote a development version.
For example:
Expand Down