Skip to content

Commit

Permalink
First try configuring docs autogeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed Oct 31, 2023
1 parent 536787f commit f54401d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ build:
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs

sphinx:
configuration: docs/source/conf.py

mkdocs:
configuration: pyproject.toml
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ testpaths = [

[tool.portray]
docs_dir = "docs/portray"
directory = "src"
directory = "."

[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions."pymdownx.highlight"]
Expand Down Expand Up @@ -164,4 +164,4 @@ palette = {scheme = "omnipy"}


[tool.portray.pdocs]
template_dir = "docs/templates/pdocs"
template_dir = "docs/templates/pdocs"

0 comments on commit f54401d

Please sign in to comment.