Contents
- Next
- 2026.01.12
- 2025.12.15
- 2025.11.17
- 2025.10.24
- 2025.06.06
- 2025.04.03
- 2025.03.03
- 2025.02.19
- 2025.01.02
- 2024.10.17
- 2024.08.06
- 2024.02.25
- 2024.02.24.1
- 2024.02.24
- 2022.02.16
- 2020.09.30.0
- 2020.07.04.1
- 2020.07.04.0
- 2020.05.30.0
- 2020.05.27.0
- 2020.05.23.0
- 2020.04.05.0
- 2020.02.21.0
- 2019.12.28.1
- 2019.12.28.0
- 2019.06.15.0
- 2019.04.04.1
- 2019.04.04.0
- 2018.11.12.3
- 2018.11.12.2
- 2018.11.12.0
- Drop Python 3.10 support (requires Python >=3.11).
- Pin Sphinx to <9 in dev dependencies for sphinx_toolbox compatibility in sample project.
- Fix bug where
SubstitutionXRefRoleremoved all occurrences of "substitution-" from CSS class names instead of only the prefix.
- Give version in extension metadata.
literalincludedirective now supports the following options::content-substitutions:- Performs substitutions on the included file content.:path-substitutions:- Performs substitutions on the file path.
imagedirective now supports the following option::path-substitutions:- Performs substitutions on the image file path.
- Add
substitutions_default_enabledconfiguration option to enable substitutions by default. When set toTrueinconf.py:- Substitutions are applied to all
code-blockdirectives without requiring the:substitutions:flag. Use the:nosubstitutions:flag on individual code blocks to disable substitutions when the default is enabled. - Substitutions are applied to all
literalincludedirectives (both content and path) without requiring the:content-substitutions:or:path-substitutions:flags. Use the:nocontent-substitutions:or:nopath-substitutions:flags on individual literalinclude directives to disable substitutions when the default is enabled. - Substitutions are applied to all
imagedirectives (path) without requiring the:path-substitutions:flag. Use the:nopath-substitutions:flag on individual image directives to disable substitutions when the default is enabled.
- Substitutions are applied to all
- Add support for Python 3.10.
- Support the
substitution-coderole in MyST documents. - Support the
substitution-downloadrole in MyST documents. - Drop support for Python 3.10.
- Supports situations where there is no source file name available to the extension, such as when using
sphinx_toolbox.rest_example.
- Support Python 3.13.
- In MyST documents, support the
myst_sub_delimitersoption. This means you can use the{{replace-me}}syntax in MyST documents.
- Bump the minimum supported version of Sphinx to 7.3.5.
- Remove support for
sphinx-prompt. Please create a GitHub issue if you have a use case for this extension which is not covered by the built-in Sphinx functionality.
- Add
substitution-downloadrole.
- Add support for MyST. Thanks to Václav Votípka (@eNcacz) for the contribution.
- Bump the minimum supported version of Sphinx to 7.2.0.
- Bump the minimum supported version of docutils to 0.19.
sphinx-promptis no longer an optional dependency, meaning you can remove the[prompt]extras dependency specification.- Remove the need to specify the
sphinx-promptextension inconf.pyin order to use thepromptdirective. - Support Python 3.12
- Drop support for Python 3.9
- Breaking change: The required Sphinx version is at least 4.0.
sphinx-promptis now an optional dependency. Thanks go to @dgarcia360 for this change.
- Ensure non-lower-case replacements can also be substituted in the inline substitution code role.
- Ensure non-lower-case replacements can also be substituted. Thanks go to @Julian for this change.
- Breaking change: Use
:substitutions:option oncode-blockorpromptrather than new directives.
- Breaking change: Use the default Sphinx replacements, rather than a custom variable. Thanks go to @sbaudoin for the original code for this change. Please make a GitHub issue if you have a use case which this does not suit.
- Support Sphinx 2.0.0.
- Make
substitutiona list, not a tuple.
- Add
substitution-code-blockdirective.
- Initial release with
substitution-prompt.