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: document docs.rs #158

Merged
merged 1 commit into from
Oct 1, 2024
Merged

docs: document docs.rs #158

merged 1 commit into from
Oct 1, 2024

Conversation

MarcoIeni
Copy link
Member

This is not very exhaustive but we will rewrite the docs.rs architecture soon

@MarcoIeni MarcoIeni marked this pull request as ready for review October 1, 2024 12:30
@MarcoIeni MarcoIeni merged commit ed8837b into master Oct 1, 2024
5 checks passed
The docs.rs codebase is available at [rust-lang/docs.rs] and
it's maintained by the [docs.rs team](https://www.rust-lang.org/governance/teams/dev-tools#team-docs-rs).

The codebase is deployed via the [terraform/docs-rs] module.
Copy link
Member

Choose a reason for hiding this comment

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

@MarcoIeni to my knowledge this is not fully true.

Most of the deployment is done manually on the EC2 machine,

parts of the infra are managed by terraform (cloudfront, s3 for example),

but I think some things are just the "new" WIP infra, ( RDS / webserver), and not what we use in prod


The EC2 `docsrs.infra.rust-lang.org` is served by Cloudfront CDN at `docs.rs`.

Docs.rs also uses the `rust-docs-rs` S3 bucket which is served by Cloudfront CDN at `static.docs.rs`.
Copy link
Member

Choose a reason for hiding this comment

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

the bucket is served through the docs.rs webserver itself, and additionally through static.docs.rs

( we are rewriting the doc pages before serving them)

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