wpilibsuite / sphinxext-opengraph

Sphinx extension to generate unique OpenGraph metadata
https://sphinxext-opengraph.readthedocs.io
Other
69 stars 25 forks source link

Fix default Roboto font not being found by the matplotlib FontManager #116

Closed madmiraal closed 7 months ago

madmiraal commented 7 months ago

Fixes #115

requirements.txt:

sphinx==7.2.6
sphinxext-opengraph==0.9.0
matplotlib==3.8.2

With a default conf.py created using sphinx-quickstart (minus the comments) and adding the sphinxext-opengraph extension:

project = 'Test'
copyright = '2023, Test Authors'
author = 'Test Authors'

extensions = [
    "sphinxext.opengraph",
]

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

html_theme = 'alabaster'
html_static_path = ['_static']

Running make html now creates a beautiful Social Card:

summary_index_29209853