Buildsite Entrypoint¶
Module: thornforge.buildsite.__main__
Overview¶
The buildsite entrypoint parses --source and --output arguments and
delegates to build_versioned_site.
Autodoc¶
- thornforge.buildsite.__main__.main(argv: Sequence[str] | None = None) None¶
Entry point used by
python -m thornforge.build_versioned_docs.The function parses command-line arguments, normalizes local paths to absolute paths, and then delegates the actual build to
build_versioned_site.
- thornforge.buildsite.__main__.parse_args(argv: Sequence[str] | None = None) Namespace¶
Parse command-line arguments for the build command.
- Returns:
source: local path or GitHub repository URL to build.output: destination directory for the generated static site.- Return type:
An
argparse.Namespacecontaining