From 4b3491468eb85c0311f4f022f5b6a07f0bbeff3d Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Tue, 4 Oct 2022 23:49:20 -0700 Subject: [PATCH] Update share cards (#677) --- docs/conf.py | 6 ++++++ nerfstudio/viewer/app/public/index.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 26543204a..0cc6e07ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,6 +45,7 @@ extensions = [ "sphinx_copybutton", "sphinx_design", "sphinx.ext.mathjax", + "sphinxext.opengraph", ] # List of patterns, relative to source directory, that match files and @@ -73,6 +74,11 @@ html_js_files = [ myst_enable_extensions = ["amsmath", "colon_fence", "deflist", "dollarmath", "html_image"] +# -- Options for open graph ------------------------------------------------- + +ogp_site_url = "http://docs.nerf.studio/" +ogp_image = "https://assets.nerf.studio/opg.png" + # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for diff --git a/nerfstudio/viewer/app/public/index.html b/nerfstudio/viewer/app/public/index.html index d172a587c..68201ae0d 100644 --- a/nerfstudio/viewer/app/public/index.html +++ b/nerfstudio/viewer/app/public/index.html @@ -34,11 +34,11 @@