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

Avoid resolving content during rendering #581

Open
d-ronnqvist opened this issue May 9, 2023 · 0 comments
Open

Avoid resolving content during rendering #581

d-ronnqvist opened this issue May 9, 2023 · 0 comments
Labels
code cleanup Code cleanup *without* user facing changes

Comments

@d-ronnqvist
Copy link
Contributor

d-ronnqvist commented May 9, 2023

During a documentation build, DocC resolves all content (both local and external links and assets) before rendering begins. Still, some rendering code resolve content again as a way to access the resolved content.

If we could change these to lookup the resolved content elsewhere then we'd be able to avoid some unneycceassy work of resolving links and content references that are known to fail. We'd also be able to release data held by the link resolver and data providers, lowering memory usage during rendering.

@d-ronnqvist d-ronnqvist added the code cleanup Code cleanup *without* user facing changes label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Code cleanup *without* user facing changes
Projects
None yet
Development

No branches or pull requests

1 participant