Skip to content

Commit

Permalink
Add example to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Jan 21, 2024
1 parent 6481815 commit 4800661
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/examples/where_is_the_iss/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```python
-8<-- "where_is_the_iss/app.py"
```

Run example:

```bash
poetry run uvicorn docs.examples.where_is_the_iss.app:app --reload
```
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ nav:
- Custom basemap: examples/custom_basemap/index.md
- GeoPandas: examples/geopandas/index.md
- UK Road Safety: examples/road_safety/index.md
- Where is the ISS: examples/where_is_the_iss/index.md

plugins:
- search:
Expand Down

0 comments on commit 4800661

Please sign in to comment.