Skip to content

Commit

Permalink
Fix og:image preview
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed May 7, 2024
1 parent 1c65bc5 commit ec7ef73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['images', 'data', 'theme', 'video']

html_extra_path = [
'images/preview.png'
]

html_css_files = [
'extra.css',
'sphinx_literate.css',
Expand All @@ -135,7 +139,7 @@

ogp_site_url = "https://eliemichel.github.io/LearnWebGPU"
ogp_site_name = "Learn WebGPU for C++"
ogp_image = "images/preview.png"
ogp_image = "_static/preview.png"

# -- Options for sphinx-favicon -----------------------------------------

Expand Down

0 comments on commit ec7ef73

Please sign in to comment.