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

refactor: update deno_doc, use prismjs, remove internal reference html generation logic #26885

Merged
merged 16 commits into from
Nov 19, 2024

Conversation

crowlKats
Copy link
Member

No description provided.

cli/tools/prism.css Outdated Show resolved Hide resolved
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how big deno_doc has been getting with all these extra dependencies. I also wonder if we should move some of this out of the binary eventually.

cli/tools/prism.js Outdated Show resolved Hide resolved
cli/tools/prism.js Outdated Show resolved Hide resolved
@crowlKats
Copy link
Member Author

I wonder how big deno_doc has been getting with all these extra dependencies. I also wonder if we should move some of this out of the binary eventually.

we removed a bunch recently. ammonia was removed thinking it wasnt necessary, however tha tbroke various things, so thats just reintroducing it

"regex",
"serde",
"serde-wasm-bindgen",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably the wasm build of deno_doc should be separated into a different crate so that serde-wasm-bindgen doesn't confusingly show up here. We've done it in the other crates and it's a bit cleaner.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crowlKats crowlKats merged commit 6288164 into denoland:main Nov 19, 2024
17 checks passed
@crowlKats crowlKats deleted the deno-doc-html-extration branch November 19, 2024 16:56
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

Successfully merging this pull request may close these issues.

2 participants