Skip to content

SMoraisAnsys/ansys-sphinx-theme

 
 

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.

About

PyData-based Sphinx theme from the PyAnsys community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.5%
  • CSS 32.9%
  • HTML 11.8%
  • TeX 5.1%
  • JavaScript 2.7%