Skip to main content

A theme devised by ANSYS, Inc. for Sphinx documentation.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansys_sphinx_theme-0.14.1.tar.gz (728.0 kB view hashes)

Uploaded Source

Built Distribution

ansys_sphinx_theme-0.14.1-py3-none-any.whl (743.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page