Skip to content

Nested autodoc (autodoc in docstrings) breaks nav #348

@pawamoy

Description

@pawamoy
class GriffeLoader(_BaseGriffeLoader):
    """The Griffe loader, allowing to load data from modules.

    ::: griffe.loader._BaseGriffeLoader.__init__
    """

Every item rendered before ::: griffe.loader._BaseGriffeLoader.__init__ (including it) is lost: they do not appear in the nav (secondary nav? the right sidebar by default on Material).

Without nested autodoc With nested autodoc
notnested nested

Information (please complete the following information):

  • OS: arch
  • Browser: firefox
  • mkdocstrings version: 0.16.2

Additional context
Probably related to autorefs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions