Skip to content

Docs/fix links uv setup#1435

Open
hsusul wants to merge 2 commits into
TransformerLensOrg:devfrom
hsusul:docs/fix-links-uv-setup
Open

Docs/fix links uv setup#1435
hsusul wants to merge 2 commits into
TransformerLensOrg:devfrom
hsusul:docs/fix-links-uv-setup

Conversation

@hsusul

@hsusul hsusul commented Jun 23, 2026

Copy link
Copy Markdown

Description

This is a small docs cleanup PR I noticed while going through the contributor and tutorial docs.

It fixes a couple of stale notebook/demo links and updates the UV setup wording so it matches the current default dependency groups.

Fixes no issue.

Type of change

  • This change requires a documentation update

Screenshots

Not applicable, docs-only change.

Validation

  • uv run --no-default-groups --group docs build-docs passed
  • git diff --check passed
  • uv run build-docs was attempted, but dependency resolution failed before Sphinx due to y-py==0.6.2 metadata from the default jupyter group

@jlarson4 jlarson4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small phrasing notes, other than that looks good.

Thank you for fixing those links!

```

Dependency groups are defined in `pyproject.toml` under `[dependency-groups]`. The project sets `default-groups = ["dev", "docs", "jupyter"]`, so `uv sync` installs all three out of the box — you do not need to pass `--group` flags for the standard contributor setup.
Dependency groups are defined in `pyproject.toml` under `[dependency-groups]`. The project sets `default-groups = ["dev", "docs", "jupyter", "multimodal"]`, so `uv sync` installs the standard contributor environment out of the box — you do not need to pass `--group` flags for the standard contributor setup.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rephrase this slightly, using "standard contributor environment" duplicates the same statement twice within this sentence. Replace with:

The project sets default-groups = ["dev", "docs", "jupyter", "multimodal"], uv sync installs these groups out of the box — you do not need to pass --group flags for the standard contributor setup.

hot-reloading docs (they change in real time as you edit docstrings).

For documentation generation to work, install with `uv sync --group docs`.
For documentation generation to work, the standard `uv sync` is enough because `docs` is a default group. For a docs-focused environment without other default groups, use `uv sync --no-default-groups --group docs`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence can be whole re-written, you don't need to preserve the "For documentation generation to work":

The standard uv sync includes documentation generation. For a docs-focused environment...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants