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

Use docutils transformer to resolve links #421

Open
tristanlatr opened this issue Jul 25, 2021 · 1 comment
Open

Use docutils transformer to resolve links #421

tristanlatr opened this issue Jul 25, 2021 · 1 comment

Comments

@tristanlatr
Copy link
Contributor

Using a custom Transform, we could apply this transformation in-place to ParsedDocstring documents.

The main advantage of this approach is to be able to clearly separate the xref linking step from the HTML rendering.

Initial discussion here: #386 (comment).

@tristanlatr
Copy link
Contributor Author

This means major refactoring of the docstrig linker in order to make it work with docutils nodes instead of stan.

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

No branches or pull requests

1 participant