tests/roots/test-social-cards-svg/conf.py
raw| 1 | from __future__ import annotations |
| 2 | |
| 3 | extensions = ['sphinxext.opengraph'] |
| 4 | |
| 5 | master_doc = 'index' |
| 6 | exclude_patterns = ['_build'] |
| 7 | |
| 8 | html_theme = 'basic' |
| 9 | ogp_site_url = 'http://example.org/en/latest/' |
| 10 | |
| 11 | # The image is an SVG, and so it should not be included in the social cards |
| 12 | ogp_social_cards = { |
| 13 | 'image': 'foo.svg', |
| 14 | } |