From 76e740f55692a559bf44daae28596b16f01559f2 Mon Sep 17 00:00:00 2001 From: Josh Karpel Date: Sat, 7 Oct 2023 13:14:37 -0500 Subject: [PATCH] fix snippets --- docs/transitions.md | 4 ++-- mkdocs.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: