Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(lib): moved Sphinx directive from docs to sphinxext
  • Loading branch information
jeertmans committed Apr 18, 2025
commit 880cba3064b90edd855420ed414c2517fffd0ebc
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
when using one of those extras, but as they were not part of the public API,
we do not consider this to be a **breaking change**.
[#542](https://github.com/jeertmans/manim-slides/pull/542)
- Moved `manim_slides.docs.manim_slides_directive` to `manim_slides.sphinxext.manim_slides_directive`.
This is a **breaking change** because documentation configs have
to be updated.
[#242](https://github.com/jeertmans/manim-slides/pull/242)

(v5.5.1)=
## [v5.5.1](https://github.com/jeertmans/manim-slides/compare/v5.5.0...v5.5.1)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"sphinx_copybutton",
"sphinx_design",
# Custom
"manim_slides.docs.manim_slides_directive",
"manim_slides.sphinxext.manim_slides_directive",
]

autodoc_typehints = "both"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/sphinx_extension.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manim Slides' Sphinx directive

```{eval-rst}
.. automodule:: manim_slides.docs.manim_slides_directive
.. automodule:: manim_slides.sphinxext.manim_slides_directive
:members: ManimSlidesDirective
```
2 changes: 1 addition & 1 deletion manim_slides/ipython/ipython_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def construct(self):
file) will be moved relative to the video locations. Use-cases include building
documentation with Sphinx and JupyterBook. See also the
:mod:`Manim Slides directive for Sphinx
<manim_slides.docs.manim_slides_directive>`.
<manim_slides.sphinxext.manim_slides_directive>`.

Examples
--------
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

extensions = [
# ...
"manim_slides.docs.manim_slides_directive",
"manim_slides.sphinxext.manim_slides_directive",
]

Its basic usage that allows processing **inline content**
Expand Down
Loading