Skip to content

doc: Bad link to Facts Index from "Using Operations" #1978

Open

Description

@aylen384

At https://docs.pyinfra.com/en/3.x/using-operations.html#host-facts there is a bad link to https://docs.pyinfra.com/en/3.x/facts/index.html (See [Facts Index](https://docs.pyinfra.com/en/3.x/facts/index.html) for a full list of available facts and arguments.)

Activity

  1. added
    documentation
    operations
    facts
    on Sep 28, 2026
  2. xoism commented on Oct 2, 2026

    @xoism

    Here is a list of documentation issues I came across while exploring this project:

    • page: server Operations - pyinfra
      • line/text: Hostname file: The hostname file only matters no systems that do not have hostnamectl, which is part of systemd.
      • issue: "only matters no systems" -> "only matters on systems"
    • page: Using Operations - pyinfra
      • line/text: Uses operations.files and operations.server. You can see all available operations in the Operations Index. If you save the file as deploy.py you can test it out using Docker:
      • issue: broken link to operations index
    • page: Using Operations - pyinfra
      • line/text: See Facts Index for a full list of available facts and arguments.
      • issue: broken link to facts index
    • page: Inventory & Data - pyinfra
      • line/text: Note that group names cannot start _:
      • issue: "cannot start _:" -> "cannot start with _:""
    • page: Inventory & Data - pyinfra
      • line/text: The Connectors Index contains full details of which data keys are available in each connector.
      • issue: broken link to connectors index
    • page: Facts - pyinfra
      • line/text: Want a new fact? Check out the writing facts guide.
      • issue: broken link to the writing facts guide
    • page: Connectors - pyinfra
      • line/text: Want a new connector? Check out the writing connectors guide.
      • issue: broken link to the writing connectors guide.
    • page: Using the API - pyinfra
      • line/text: See pyinfra.api.state.BaseStateCallback for the full signature list.
      • issue: link to pyinfra.api.state.BaseStateCallback goes to API Reference - pyinfra which does not contain the text BaseStateCallback nor any "full signature list" that I see.
  3. maisim commented on Oct 3, 2026

    @maisim
    Contributor

    Thanks for the list — here's where each item stands.

    Already fixed on 3.x (by #1918 and #1956): the Operations, Facts and Connectors
    Index links, plus the "writing facts guide" / "writing connectors guide" links. They
    still show up as broken on /en/3.x because that version of the docs is only rebuilt
    when a release tag is pushed — en/latest and en/next are rebuilt on every push to
    3.x. So they'll be correct under /en/3.x from the next release onwards.

    Addressed in #1985:

    • server.hostname: "only matters no systems" → "only matters on systems"
    • inventory docs: "group names cannot start _" → "cannot start with _"
    • the BaseStateCallback reference: the link target was right, but the class had no
      docstring, so mkdocstrings left it (and its hooks) out of the API reference entirely —
      which is why the page contained neither the name nor a signature list. It now has a
      docstring per hook, and the link points at the new anchor, so the full signature list
      renders on the reference page.

    Also fixed a stray lamba → lambda typo in using-operations.md while I was there.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationfactsoperations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions