Skip to content

Commit

Permalink
docs: configure mkdocstring and add documentation
Browse files Browse the repository at this point in the history
mkdocs: configure mkdocstrings
add app.md with sections to add documentation to
Issue #39
  • Loading branch information
iacopy committed Nov 3, 2023
1 parent 8d48015 commit 278cda0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# App Documentation

## Flask app

::: src.flask_app.hello_world

::: src.flask_app.index

## Foobar

::: src.foobar.sum_two_numbers
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Welcome to My Project

This is my wonderful project.
5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
site_name: My Docs
nav:
- Home: index.md
- App: app.md

plugins:
- mkdocstrings:
default_handler: python

0 comments on commit 278cda0

Please sign in to comment.