Skip to content

How to add Sphinx extensions to the docs? #140

Closed
@hugovk

Description

@hugovk

As part of python/docs-community#63, we've added a new Sphinx extension for the docs in main to add Open Graph metadata: python/cpython#99931

This has since been deployed but I don't see the metadata in the headers of pages, such <meta property="og:title" content="What’s New In Python 3.12" /> in https://docs.python.org/3.12/whatsnew/3.12.html

I'm guessing the extension wasn't installed.

@JulienPalard I don't see Sphinx itself in this repo, but do we need to add the new sphinxext-opengraph requirement to a file here? Or somewhere else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions