Skip to content

Including specific docstring at specific location #6

@nignatiadis

Description

@nignatiadis

Hi!

First of all, thanks for this package, it's such an awesome and useful idea!

I wanted to ask if the following is possible: to include a specific docstring in a specific location.

To be concrete, I'd like a command similar to e.g., "[Base.:+](@ref)", that also directly prints the docstring at that location. Currently a URL is provided and the user needs to open another tab to view the docstring.

The closest I found was to use something like:

{{< include docstrings/src/file.qmd >}}

but this prints all docstrings in file.qmd.

Thank you,
Nikos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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