diff --git a/docs/transitions.md b/docs/transitions.md index 0d81f01..cce22af 100644 --- a/docs/transitions.md +++ b/docs/transitions.md @@ -65,13 +65,13 @@ the [`Transition`][spiel.Transition] [protocol](https://docs.python.org/3/librar The protocol is: ```python title="Transition Protocol" ---8<-- "../spiel/transitions/protocol.py" +--8<-- "spiel/transitions/protocol.py" ``` As an example, consider the [`Swipe`][spiel.Swipe] transition included in Spiel: ```python title="Swipe Transition" ---8<-- "../spiel/transitions/swipe.py" +--8<-- "spiel/transitions/swipe.py" ``` The transition effect is implemented using diff --git a/mkdocs.yml b/mkdocs.yml index 59d44cb..a0c9f9e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -61,7 +61,7 @@ markdown_extensions: anchor_linenums: true - pymdownx.inlinehilite - pymdownx.snippets: - base_path: ['docs'] + base_path: ['docs', '.'] check_paths: true - pymdownx.superfences - pymdownx.tabbed: