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 static assets to docs pages #6951

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Add static assets to docs pages #6951

merged 1 commit into from
Sep 3, 2024

Conversation

charliermarsh
Copy link
Member

Summary

This PR points the docs towards the static assets that we use for astral.sh, so that we can use shared assets for the Ruff and uv docs.

@@ -2,7 +2,7 @@ site_name: uv
theme:
name: material
logo: assets/logo-letter.svg
favicon: assets/favicon.svg
favicon: assets/favicon.ico
Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we have to keep something here? I don't know if this will be used or the links in the override:

<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"/>

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like this gets used.

@charliermarsh charliermarsh marked this pull request as ready for review September 2, 2024 23:58
@charliermarsh charliermarsh merged commit 92e93da into main Sep 3, 2024
48 checks passed
@charliermarsh charliermarsh deleted the charlie/seo branch September 3, 2024 00:00
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Sep 3, 2024
charliermarsh added a commit to astral-sh/ruff that referenced this pull request Sep 3, 2024
## Summary

Same as astral-sh/uv#6951. Unfortunately we have
to use a single favicon for the docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant