8000 Use sphinxext-opengraph to generate OpenGraph metadata by hugovk · Pull Request #99931 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Use sphinxext-opengraph to generate OpenGraph metadata #99931

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 7 commits into from
Dec 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip sphinxext-opengraph if downstream redistributors haven't install…
…ed it
  • Loading branch information
hugovk committed Dec 2, 2022
commit 6a03896f437ee20a7d5a1b704d544d74fd2353eb
10 changes: 9 additions & 1 deletion Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@
'pyspecific',
'sphinx.ext.coverage',
'sphinx.ext.doctest',
'sphinxext.opengraph',
]

# Skip if downstream redistributors haven't installed it
try:
import sphinxext.opengraph
except ImportError:
pass
else:
extensions.append('sphinxext.opengraph')


doctest_global_setup = '''
try:
import _tkinter
Expand Down
0