Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
romanin-rf committed Dec 18, 2023
1 parent 6475f70 commit 08bc64c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs-publing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
cd site;
git fetch --refetch;
git pull https://github.com/romanin-rf/SeaPlayer.git docs;
cd ../src;
git fetch --refetch;
git pull https://github.com/romanin-rf/SeaPlayer.git main;
cd ..;
- name: Clear `docs`
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = site
url = https://github.com/romanin-rf/SeaPlayer.git
branch = docs
[submodule "src"]
path = src
url = https://github.com/romanin-rf/SeaPlayer.git
branch = main
1 change: 1 addition & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Welcome to SeaPlayer API
6 changes: 6 additions & 0 deletions docs/api/seaplayer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
::: seaplayer.seaplayer.SeaPlayer
handler: python
options:
members:
show_root_heading: false
show_source: false
9 changes: 8 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ nav:
- Welcome to SeaPlayer: index.md
- Plugin CLI: plugin-cli-home.md
- Plugin Development: plugin-dev-home.md
#- API:
# - api/index.md
# - Welcome to SeaPlayer API: api/index.md
# - SeaPlayer: api/seaplayer.md
- Сhangelog: changelog.md
theme:
name: material
Expand Down Expand Up @@ -44,4 +48,7 @@ markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.snippets
plugins:
- search
- mkdocstrings
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mkdocs-material
rich
mkdocs
rich
mkdocstrings[python]
mkdocs-material
1 change: 1 addition & 0 deletions src
Submodule src added at 98a712

0 comments on commit 08bc64c

Please sign in to comment.