Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to append to inventory file with directives for cross-referencing? #78

Open
kratsg opened this issue Jun 19, 2024 · 1 comment
Open

Comments

@kratsg
Copy link

kratsg commented Jun 19, 2024

It would be great to allow for the CLI commands generated to be loaded as well into the objects.inv that's generated alongside something like mkdocstrings. This would let me use the native cross-referencing of something like [my-entrypoint subprogram][] to generate a cross-reference, rather than [my-entrypoint subprogram](references#my-entrypoint-subprogram) at the moment.

@pawamoy
Copy link

pawamoy commented Jun 19, 2024

In the meantime you could also try to enable autorefs' full-mode by listing it in plugins, in mkdocs.yml. Then just use your command anchors as identifiers: [my-entrypoint subprogram][my-entrypoint-subprogram] probably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants