Skip to content

Sphinx Guidance? #141

@ax3l

Description

@ax3l

Hi,

Thank you so much for this project!

I was reading up a bit and cannot find yet guidance on this:
Which extensions do people use to read stub-only .pyi files into Sphinx docs, e.g., for quick RTD builds?

Are there a few example pybind11 projects you are aware of that build API docs purely from .pyi files?

My workflow is as follows:

  • update .pyi stubs in CI, where I can run a long time (build pybind11 modules)
  • commit .pyi stubs to the repo
  • build on RTD for Sphinx docs (w/o long runtime that would be sufficient to build the pybind11 modules)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions