diff --git a/doc/source/api/index.rst b/doc/source/api/index.rst index 2591e619ba..a5c5e07ad2 100644 --- a/doc/source/api/index.rst +++ b/doc/source/api/index.rst @@ -3,8 +3,10 @@ ============= API reference ============= + .. toctree:: :maxdepth: 2 :caption: API reference ansys.dpf.core + diff --git a/doc/source/concepts/index.rst b/doc/source/concepts/index.rst deleted file mode 100644 index ebaaf9257a..0000000000 --- a/doc/source/concepts/index.rst +++ /dev/null @@ -1,44 +0,0 @@ -.. _ref_concepts: - -======== -Concepts -======== - -This section provides in-depth descriptions and explanations of DPF concepts, including terminology. - -DPF concepts -~~~~~~~~~~~~ - -.. toctree:: - :hidden: - - concepts.rst - waysofusing.rst - stepbystep.rst - - -.. card-carousel:: 2 - - .. card:: Concepts and terminology - :link: user_guide_concepts - :link-type: ref - :width: 25% - :text-align: center - - .. image:: ../images/drawings/book-logo.png - - .. card:: Ways of using DPF - :link: user_guide_waysofusing - :link-type: ref - :width: 25% - :text-align: center - - .. image:: ../images/drawings/using-dpf.png - - .. card:: Using DPF: Step by step - :link: user_guide_stepbystep - :link-type: ref - :width: 25% - :text-align: center - - .. image:: ../images/drawings/checklist.png diff --git a/doc/source/conf.py b/doc/source/conf.py index 4042e35481..dcee0fc119 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -7,7 +7,7 @@ import pyvista from ansys.dpf.core import __version__, server, server_factory from ansys.dpf.core.examples import get_example_required_minimum_dpf_version -from ansys_sphinx_theme import pyansys_logo_black, ansys_favicon, get_version_match +from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_light_mode, pyansys_logo_dark_mode # Manage errors pyvista.set_error_output_file("errors.txt") @@ -74,6 +74,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + "sphinx.ext.autosummary", "enum_tools.autoenum", "nbsphinx", "sphinx.ext.autosectionlabel", @@ -193,7 +194,6 @@ def reset_servers(gallery_conf, fname, when): # -- Options for HTML output ------------------------------------------------- html_short_title = html_title = "PyDPF-Core" html_theme = "ansys_sphinx_theme" -html_logo = pyansys_logo_black html_favicon = ansys_favicon html_theme_options = { "github_url": "https://github.com/ansys/pydpf-core", @@ -202,6 +202,10 @@ def reset_servers(gallery_conf, fname, when): "additional_breadcrumbs": [ ("PyAnsys", "https://docs.pyansys.com/"), ], + "logo" : { + "image_dark": pyansys_logo_dark_mode, + "image_light": pyansys_logo_light_mode, + }, "switcher": { "json_url": f"https://{cname}/versions.json", "version_match": get_version_match(__version__), diff --git a/doc/source/index.rst b/doc/source/index.rst index bef595d83d..6749950a6e 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -193,5 +193,5 @@ To reach the project support team, email `pyansys.core@ansys.com