Skip to content

anchor tags in markdown output are not being resolved #389

@nestorSag

Description

@nestorSag

I'm not sure whether this is a bug or simply I'm missing some configuration option, but if its the latter I can't find it so I apologise. I'm using the --pdf option to get a markdown document, but every section in it seems to have the same anchor tag, namely 'id' , for example one of the headers in the produced file is:

Method fit_tail_model {#id}

where the tag should be something like package.module.class.fit_tail_model instead of id .

Expected Behavior

producing a markdown file where anchor tags are resolved so that reference within the same document work

Actual Behavior

All tags seem to be set to a default string of 'id', so module/class/method links don't work. Strangely, for html outputs this works fine.

Steps to Reproduce

  1. pdoc3 --pdf -c latex_math=True mymodule > docs.md

Additional info

  • pdoc version: 0.10.0

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