Skip to content

Commit f819d12

Browse files
committed
Update
1 parent e3c9aed commit f819d12

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,12 @@ def wrapper(*args, **kwargs):
127127
"sphinx_sitemap",
128128
"sphinxcontrib.mermaid",
129129
"pytorch_sphinx_theme2",
130+
"sphinxext.opengraph",
130131
]
131132

133+
ogp_site_url = "http://pytorch.org/"
134+
ogp_image = "https://pytorch.org/assets/images/social-share.jpg"
135+
132136
myst_enable_extensions = [
133137
"colon_fence",
134138
"deflist",

prototype_source/prototype_index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ Prototype features are not available as part of binary distributions like PyPI o
290290
.. Page TOC
291291
.. -----------------------------------------
292292
.. toctree::
293+
:maxdepth: 1
293294
:hidden:
294295

295296
prototype/context_parallel.html

0 commit comments

Comments
 (0)