Skip to content

Sphinx PDF missing contents #2031

Closed

Description

@SuperCowProducts

Issue Description

I was able to generate a PDF file via

uv venv
source .venv/bin/activate
sphinx-build -M latexpdf source build

, but unfortunately the contents isn't included (the page under Contents heading is just blank). Could someone help fix this?

Code of Conduct

  • I am aware that participants in this repository must follow the PSF Code of Conduct.

Activity

  1. webknjaz commented on Apr 11, 2026

    @webknjaz
    Member

    What's the motivation here? Also, our supported automation is wrapped with nox. Running arbitrary commands wouldn't be considered supported.

  2. SuperCowProducts commented on Apr 12, 2026

    @SuperCowProducts
    Author

    Nothing critical, just prefer PDF docs as they can be annotated, so I thought someone might be able to understand why this is happening.

  3. webknjaz commented on Apr 14, 2026

    @webknjaz
    Member

    This probably means that conf.py is lacking something. You could try comparing it to some other Sphinx project that does what you want.. One other possible cause might be switching to the Furo theme that builds ToC differently, AFAIR.

  4. webknjaz commented on Apr 14, 2026

    @webknjaz
    Member

    xref #1358 #791

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions