Skip to content

Docs: Add opengraph #10066

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

Merged
merged 5 commits into from
Feb 24, 2023
Merged

Docs: Add opengraph #10066

merged 5 commits into from
Feb 24, 2023

Conversation

ericholscher
Copy link
Member

@ericholscher ericholscher commented Feb 23, 2023

@ericholscher ericholscher requested review from a team as code owners February 23, 2023 18:36
@ericholscher ericholscher changed the title Add opengraph to our docs Docs: Add opengraph Feb 23, 2023
@benjaoming
Copy link
Contributor

@ericholscher does this need some kind of graphic be made for SOME cards?

@ericholscher
Copy link
Member Author

Hrm yea, it doesn't like svg's it seems..

@ericholscher
Copy link
Member Author

The image will work after merge, because reasons 🙃

@ericholscher
Copy link
Member Author

It now also shows the first image as the preview, which is pretty neat! Better than the logo I think.

@benjaoming
Copy link
Contributor

Yes, having the logo is nice in some cases, but often it makes previews large and a big clumsy. Much better to have an individual image when possible 👍

Copy link
Contributor

@benjaoming benjaoming left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Funky stuff with the canonical URL on PR builds, but that's another reason why I want Sphinx to have an explicit canonical_url context variable.

@benjaoming
Copy link
Contributor

Really liking that we can have some actual SOME previews on documentation 💯

@ericholscher ericholscher merged commit 51b3150 into main Feb 24, 2023
@ericholscher ericholscher deleted the docs-opengraph branch February 24, 2023 17:08
@ericholscher
Copy link
Member Author

Yea, I think it'll be nice 👍

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