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

Add warning to rustdocs when building from main branch #493

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

rj00a
Copy link
Member

@rj00a rj00a commented Aug 24, 2023

Objective

When viewing the API docs from valence.rs, there is no obvious indication that they are for the main branch. This could lead to confusion in the future.

Solution

Add a warning to the docs, but only when building from website/build.sh.

❗ NOTE: This documentation is sourced from the main branch. If you're looking for the most recent stable release, go here.

@dyc3 dyc3 merged commit 925f0db into main Aug 24, 2023
@dyc3 dyc3 deleted the main-doc-warning branch August 24, 2023 12:12
@rj00a
Copy link
Member Author

rj00a commented Aug 25, 2023

Note to self: rust-lang/rust#106561

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