Skip to content

Including documentation from non-public modules. #2009

@moe-ad

Description

@moe-ad

In versions of the api reference that used sphinx-apidoc, documentation from private modules were being included via python domain directives. The 2 occurrences of this include:

The above logic works because apidoc executes imports, so it is still able to resolve the location of the documented python objects even though the */gate/ folder is excluded from the api documentation.

Due to switching to autoapi, this logic will not work when using equivalent autoapi directives because autoapi parses files and never executes imports, making it unable to resolve the location of the python objects.

This issue should address the best way forward to solve this problem.

Metadata

Metadata

Assignees

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