Skip to content

Custom attributes to HTML templates #335

@silverbucket

Description

@silverbucket

I would like to append the documentation with auxiliary data which would be collected at the time of document generation. (eg. test results).

Expected Behavior

When using pdoc3 programmatically, it would be nice if additional variables could be attached to the Class/Method objects, which could be accessed from within the templates.

Actual Behavior

Currently I'm unable to find any way to add custom variables.

Additional info

  • pdoc version: 0.9.2

Metadata

Metadata

Assignees

No one assigned

    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