NiklasRosenstein / pydoc-markdown

Create Python API documentation in Markdown format.
http://niklasrosenstein.github.io/pydoc-markdown/
Other
460 stars 105 forks source link

Reload on config change #79

Closed lgeiger closed 4 years ago

lgeiger commented 5 years ago

It would be great if pydocmd serve would reload the when the config changes. This would make the functionality on-par with mkdocs serve.

NiklasRosenstein commented 4 years ago

v3 has a --watch-and-serve/-w option that re-renders the Markdown files when any of the parsed Python source files changes and runs mkdocs serve in parallel. Subsequently, mkdocs serve will automatically re-render the HTML files,

I should note that currently it re-renders all Markdown files, not only the ones that would need to be re-rendered from the change. But I think that this should be tackled in another issue.