Skip to content

Commit

Permalink
fix snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKarpel committed Oct 7, 2023
1 parent 761a2d2 commit 76e740f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/transitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 76e740f

Please sign in to comment.