Skip to content

PyData-based Sphinx theme from the PyAnsys community

License

Notifications You must be signed in to change notification settings

ansys/ansys-sphinx-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

557624f · Sep 8, 2023
Sep 5, 2023
Aug 28, 2023
Sep 8, 2023
Feb 1, 2023
Jan 24, 2023
Sep 8, 2023
Aug 30, 2023
Aug 10, 2023
Aug 30, 2023
Aug 31, 2023
Feb 26, 2023

Repository files navigation

Ansys Sphinx theme

Ansys Python PyPI GH-CI MIT Black

Introduction

The Ansys Sphinx theme is an extension of the popular PyData Sphinx theme that is used by numpy, pandas, pyvista, and many more scientific Python packages.

You use the Ansys Sphinx theme with Sphinx, a Python documentation generator, to create documentation. The theme's objective is to ensure that Ansys documentation looks and behaves consistently.

While this theme is primarily used to create documentation for PyAnsys libraries, you can also use it to create documentation for any Ansys project with content in reStructuredText (RST) and Markdown (files).

If you are new to using Sphinx, see Sphinx Getting Started.

Documentation and issues

In addition to installation information, the Ansys Sphinx theme documentation provides information on how you can customize the theme. Because this documentation is created using this theme, viewing it is an easy way to preview the theme itself.

On the Issues page for this repository, you can create issues to submit questions, report bugs, and request new features. To reach the PyAnsys support team, email pyansys.support@ansys.com.

Getting started

Install the ansys-sphinx-theme package with:

python -m pip install ansys-sphinx-theme

Modify your Sphinx conf.py file to use html_theme = 'ansys_sphinx_theme'.

Development and contributions

If you want to contribute to the PyAnsys Sphinx theme, install the ansys-sphinx-theme package in development mode with:

git clone https://github.com/ansys/ansys-sphinx-theme.git
python -m pip install -U pip tox
tox -e style,doc

To simplify checks, this repository uses pre-commit. You can optionally install and use this tool. For more information, see its installation and usage documentation.

Before contributing to a PyAnsys library, see Contributing in the PyAnsys Developer's Guide for overall guidance, paying particular attention to How-to for guidelines and best practices.

License

This theme is licensed under the MIT License.