Skip to content

Linking to other identifiers does not work after "foobar" is introduced #106

@brameret

Description

@brameret

Expected Behavior

When a docstring has a `module.identifier`, it should always resolve the link.

Actual Behavior

When a docstring has a mention with double back quotes ``something``, afterwards the `module.identifier` does not resolve anymore.

Steps to Reproduce

  1. Create a foobar/__init__.py with the following content:
    VERSION = "0"
    """
    The identifier `foobar.VERSION` links correctly to the version,
    but ``if there are double back quotes``,
    this link does not work anymore `foobar.VERSION`
    (without warning)
    """
  2. pdoc3 foobar --html
  3. See html/index.html that the first foobar.VERSION is resolved but not the second one.

Additional info

  • pdoc version: 0.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions