Skip to content

Add warning to rustdocs when building from main branch#493

Merged
dyc3 merged 1 commit intomainfrom
main-doc-warning
Aug 24, 2023
Merged

Add warning to rustdocs when building from main branch#493
dyc3 merged 1 commit intomainfrom
main-doc-warning

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