Closed hugovk closed 1 year ago
Sorry, this was merged prematurely. It's been reverted for now.
A few changes required:
ogp
. I think ogp_enable_meta_description
would be fine.config["ogp_custom_meta_tags"]
). I understand that this is a workaround because tags
is a dict. We deferred running make_tags on purpose to make it easier to detect conflicting tags.I'll leave additional thoughts on the overall concept/design in #65.
But let's continue in #65.
For https://github.com/wpilibsuite/sphinxext-opengraph/issues/65.
Adds a Boolean option for
conf.py
calledenable_meta_description
, which when true, will add the same description to<meta name="description" content="...">
as used for<meta property="og:description" content="...">
.We're looking into using this extension in the CPython docs (for example: official docs, devguide, PEPs), and improving the SEO by adding the meta description would be very helpful.
Re: https://github.com/python/docs-community/issues/65