It has been asked a couple of times on stackoverflow and I have the same issue. with that I try to generate documentation from docstrings plugins: - search - mkdocstrings: handlers: python: ...
The documentation pages are written in Markdown format. All pages are strored in folder docs/ and written in Markdwon format. All related figures are stored in folder docs/assets/ and saved as PNG.