Skip to content

Commit

Permalink
feat: #4 included class diagrams at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
sim13pods committed Dec 16, 2024
1 parent e933046 commit b08985c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 150 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
run: |
pip install hatch pdocs mkdocs-material mkdocs-jupyter mkdocs-plantuml-local pydoctor
hatch build
pyreverse --all-ancestors --show-builtin --output svg --output-directory ./docs/puml/ --source-roots ./calrissian/ --verbose ./calrissian/
pydoctor
mkdocs gh-deploy --force
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ env-calrissian*
.pydevproject
.cache
site
*/apidocs
*.svg
149 changes: 0 additions & 149 deletions docs/puml/class.md

This file was deleted.

9 changes: 9 additions & 0 deletions docs/puml/classes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Calrissian class diagram

## Classes

![Calrissian Class diagram](./classes.svg "Calrissian Class diagram")

## Packages

![Calrissian class diagram](./packages.svg "Calrissian Packages diagram")
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- attr_list
- markdown_include.include:
base_path: docs

plugins:
- search
Expand Down Expand Up @@ -43,4 +45,4 @@ nav:
- 1.2.1: 'conformance/1.2.1.md'
- Development:
- API Docs: 'apidocs/index.html'
- Class diagram: 'puml/class.md'
- Class diagram: 'puml/classes.md'

0 comments on commit b08985c

Please sign in to comment.