Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d467cd3

Browse files
committedOct 4, 2024
Add config file for pydoc
1 parent 575d66b commit d467cd3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[[tool.pydoc-markdown.loaders]]
2+
type = "python"
3+
search_path = [ "./src" ]
4+
packages = ["arduino_nicla_sense_env"]
5+
6+
[tool.pydoc-markdown.renderer]
7+
type = "markdown"
8+
filename = "docs/api.md"
9+
code_headers = true
10+
descriptive_class_title = "class "
11+
descriptive_module_title = true
12+
add_module_prefix = false
13+
render_toc = true
14+
render_toc_title = "Summary"
15+
render_module_header = false
16+
17+
[tool.pydoc-markdown.renderer.header_level_by_type]
18+
Module = 1
19+
Class = 2
20+
Method = 3
21+
Function = 3
22+
Variable = 3

0 commit comments

Comments
 (0)
Please sign in to comment.