Skip to content

Dev docs build improvements #3774

@wpotrzebowski

Description

@wpotrzebowski

Currently, building documentation from a dev checkout can be done uing the default approach:
pip install -e .
However this approach is rather slow (seems to rebuild the entire package) and not reliable at picking up documentation changes in the local branch.
A slightly better workaround is:
uv pip install -e . --force-reinstall --no-deps
This is faster but still requires to manually remove a subfolder (e.g. in the built docs - tested on Maci) to force a full docs rebuild.

As a developer, I want to quickly test documentation changes from my local dev checkout using a simple command (for example):
python -m sas

Requirements:
Builds the documentation only (without a full reinstall) or it is fast.
Always picks up changes from the current branch and different repostories (sasmodels and sasdata).
Does not require manually deleting folders to trigger a rebuild.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions