scaffold
Scaffold templates for ``autoredocs init``. Contains the template strings and helpers that generate a ready-to-deploy project setup in a single command.
Functions
def
def write_workflow(project_dir: Path, source: str = './src') -> Path | None
Create ``.github/workflows/autoredocs.yml`` for GitHub Pages deployment.
Returns the path to the created file, or None if it already exists.
def
def write_env_example(project_dir: Path) -> Path | None
Create ``.env.example`` with placeholder environment variables.
Returns the path to the created file, or None if it already exists.
def
def update_gitignore(project_dir: Path) -> bool
Append autoredocs entries to ``.gitignore`` if not already present.
Returns True if entries were added, False if they were already there.