Skip to content

documentation error: pages not list of page objects, but of file objects #1736

Description

@rkoe

The documentation about "pages" on https://www.mkdocs.org/user-guide/custom-themes/ is wrong.
It says:

pages
A list of page objects including all pages in the project.

But in reality, pages is a list of file-objects, which also contain the page objects.
The page-object can be accessed by pages[i].page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions