Updated
On this page
Root package module for selfdoc, the code-aware static site generator that extracts live content from Python, Go, and TypeScript source via directives.
#selfdoc
#selfdoc
selfdoc: Code-aware static site generator with directive-based content extraction.
#_detect_version
python
def _detect_version()Detect package version, preferring pyproject.toml over installed metadata.
Order: pyproject.toml in the source tree (accurate during editable installs) -> importlib.metadata (works for regular installs) -> "unknown".
#main
python
def main()Entry point for the selfdoc CLI.