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

docs: Add architecture doc #919

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

ericyd
Copy link

@ericyd ericyd commented Apr 19, 2024

Description

This PR adds an Architecture doc. The purpose of this doc is to describe the high level architecture of the rolldown crate.

▶️ Rendered doc ◀️
(ignore the script src at the top)

Notably, this PR adds a Mermaid component to the documentation site. This has a client-side rendering requirement, which might be undesirable. An alternative approach could be to render the mermaid diagrams to SVG at build time, and link to the pre-built images for the production build, as suggested in this comment to a similar issue.

This document is not complete, but rather a starting point which should be built on. There are still many parts of the rolldown code which are not clear to me and could be better explained. I'm choosing to open the PR now to get preliminary feedback from maintainers on the style and content of this doc. I'm not convinced this document is at a level of maturity that it adds value to this project. I have no ego attached to this and fully respect the decision to close this PR rather than merge it.

@ericyd ericyd changed the title Architecture docs docs: Add architecture doc Apr 19, 2024
Copy link

netlify bot commented Apr 19, 2024

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 3259159
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/6622998d5e2d8f0008dc8421

@hyf0
Copy link
Member

hyf0 commented Apr 20, 2024

Nice!

@hyf0 hyf0 self-assigned this Apr 20, 2024
@hyf0
Copy link
Member

hyf0 commented Apr 21, 2024

Don't worry about the conflicts. I need some time to adjust the content. Once it's done, I' ll solve the conflict and merge it.

@ericyd
Copy link
Author

ericyd commented Apr 22, 2024

Thanks @hyf0, I'm happy to take any feedback too and make adjustments, whatever is more convenient for you.

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.

None yet

2 participants