ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
23 stars 8 forks source link

Use Jinja macros in `autoapi.rst` file for customization #533

Open Revathyvenugopal162 opened 1 week ago

Revathyvenugopal162 commented 1 week ago

Description:
Implement Jinja macros in the autoapi.rst file: https://github.com/ansys/ansys-sphinx-theme/tree/main/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/_templates/autoapi to streamline and customize the content generation for API documentation. Using Jinja macros will help create reusable templates, reduce code duplication, and enhance maintainability of the .rst files.

Acceptance Criteria:

Note

Before contributing and starting any work, please make sure you agree with the CLA and sign it in your PR.

jorgepiloto commented 5 days ago

We already have macros in those files. Are we missing any additional macros, @Revathyvenugopal162?