Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
40 lines
745 B
Python
40 lines
745 B
Python
from pathlib import Path
|
|
|
|
from click.core import Group
|
|
|
|
from docforge.models import DocObject
|
|
|
|
cli: Group
|
|
|
|
def build(
|
|
mcp: bool,
|
|
mkdocs: bool,
|
|
api: bool,
|
|
wiki: bool,
|
|
module_is_source: bool,
|
|
module: str | None,
|
|
openapi_spec: Path | None,
|
|
project_name: str | None,
|
|
site_name: str | None,
|
|
docs_dir: Path,
|
|
wiki_dir: Path,
|
|
nav_file: Path,
|
|
template: Path | None,
|
|
out_dir: Path,
|
|
) -> None: ...
|
|
def serve(
|
|
mcp: bool,
|
|
mkdocs: bool,
|
|
lib: bool,
|
|
api: bool,
|
|
wiki: bool,
|
|
module: str | None,
|
|
mkdocs_yml: Path,
|
|
out_dir: Path,
|
|
) -> None: ...
|
|
def tree(
|
|
module: str,
|
|
project_name: str | None,
|
|
) -> None: ...
|
|
def _print_object(obj: DocObject, indent: str) -> None: ...
|