Skip to content

Commit 55170bc

Browse files
committed
Add sphinx-examples extension
1 parent 65fa8ba commit 55170bc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/contributing/documentation/themes-and-extensions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ We use several MyST and Sphinx extensions to enhance the presentation of Plone d
4242

4343
- [`myst_parser`](https://myst-parser.readthedocs.io/en/latest/) parses MyST, a rich and extensible flavour of Markdown for authoring documentation.
4444
- [`sphinx-design`](https://sphinx-design.readthedocs.io/en/latest/), with a configuration name of `sphinx_design`, adds grids, cards, icons, badges, buttons, tabs, and dropdowns.
45+
- [`sphinx-examples`](https://ebp-sphinx-examples.readthedocs.io/en/latest/) adds "example snippets" that allow you to show off source Markdown and the result of rendering it in Sphinx.
4546
- [`sphinx-notfound-page`](https://sphinx-notfound-page.readthedocs.io/en/latest/index.html), with a configuration name of `notfound.extension`, creates a custom 404 page and helps generate proper static resource links to render the page properly.
4647
- [`sphinx.ext.autodoc`](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html) pulls in documentation from Python docstrings to generate reStructuredText which in turn gets parsed by Sphinx and rendered to the output format.
4748
It is used by {doc}`/plone.api/index`.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ sphinx-autobuild
99
sphinx-book-theme==0.3.3 # Temporary pin until we can sort out HTML refactoring.
1010
sphinx-copybutton
1111
sphinx-design # Documentation only
12+
sphinx-examples # Documentation only
1213
sphinx-notfound-page # Documentation only
1314
sphinx-reredirects
1415
sphinx-sitemap

0 commit comments

Comments
 (0)