File tree 4 files changed +46
-9
lines changed
4 files changed +46
-9
lines changed Original file line number Diff line number Diff line change 18
18
19
19
sys .path .append (os .path .abspath ("_ext" ))
20
20
extensions = [
21
+ "hoverxref.extension" ,
21
22
"multiproject" ,
22
- "sphinx.ext.autosectionlabel" ,
23
+ "myst_parser" ,
24
+ "notfound.extension" ,
25
+ "sphinx_design" ,
26
+ "sphinx_search.extension" ,
27
+ "sphinx_tabs.tabs" ,
28
+ "sphinx-prompt" ,
23
29
"sphinx.ext.autodoc" ,
30
+ "sphinx.ext.autosectionlabel" ,
24
31
"sphinx.ext.extlinks" ,
25
32
"sphinx.ext.intersphinx" ,
26
33
"sphinxcontrib.httpdomain" ,
27
34
"sphinxcontrib.video" ,
28
- "sphinx_tabs.tabs" ,
29
- "sphinx-prompt" ,
30
- "notfound.extension" ,
31
- "hoverxref.extension" ,
32
- "sphinx_search.extension" ,
33
35
"sphinxemoji.sphinxemoji" ,
34
- "sphinx_design" ,
35
- "myst_parser" ,
36
+ "sphinxext.opengraph" ,
36
37
]
37
38
38
39
multiproject_projects = {
52
53
53
54
docset = get_project (multiproject_projects )
54
55
56
+ ogp_site_name = "Read the Docs Documentation"
57
+ ogp_use_first_image = True # https://github.com/readthedocs/blog/pull/118
58
+ ogp_image = "https://docs.readthedocs.io/en/stable/_static/img/logo-opengraph.png"
59
+ # Inspired by https://github.com/executablebooks/MyST-Parser/pull/404/
60
+ ogp_custom_meta_tags = [
61
+ '<meta name="twitter:card" content="summary_large_image" />' ,
62
+ ]
63
+ ogp_enable_meta_description = True
64
+ ogp_description_length = 300
55
65
56
66
templates_path = ["_templates" ]
57
67
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ sphinxemoji
17
17
sphinxcontrib-httpdomain
18
18
sphinx-prompt
19
19
sphinx-autobuild
20
+ sphinxext-opengraph
20
21
21
22
# Markdown
22
23
myst_parser
Original file line number Diff line number Diff line change @@ -18,12 +18,18 @@ click==8.1.3
18
18
# via sphinx-intl
19
19
colorama==0.4.6
20
20
# via sphinx-autobuild
21
+ contourpy==1.0.7
22
+ # via matplotlib
23
+ cycler==0.11.0
24
+ # via matplotlib
21
25
docutils==0.18.1
22
26
# via
23
27
# myst-parser
24
28
# sphinx
25
29
# sphinx-rtd-theme
26
30
# sphinx-tabs
31
+ fonttools==4.38.0
32
+ # via matplotlib
27
33
idna==3.4
28
34
# via requests
29
35
imagesize==1.4.1
@@ -32,6 +38,8 @@ jinja2==3.1.2
32
38
# via
33
39
# myst-parser
34
40
# sphinx
41
+ kiwisolver==1.4.4
42
+ # via matplotlib
35
43
livereload==2.6.3
36
44
# via sphinx-autobuild
37
45
markdown-it-py==2.1.0
@@ -40,21 +48,35 @@ markdown-it-py==2.1.0
40
48
# myst-parser
41
49
markupsafe==2.1.2
42
50
# via jinja2
51
+ matplotlib==3.7.0
52
+ # via sphinxext-opengraph
43
53
mdit-py-plugins==0.3.4
44
54
# via myst-parser
45
55
mdurl==0.1.2
46
56
# via markdown-it-py
47
57
myst-parser==0.18.1
48
58
# via -r requirements/docs.in
59
+ numpy==1.24.2
60
+ # via
61
+ # contourpy
62
+ # matplotlib
49
63
packaging==23.0
50
- # via sphinx
64
+ # via
65
+ # matplotlib
66
+ # sphinx
51
67
pbr==5.11.1
52
68
# via sphinxcontrib-video
69
+ pillow==9.4.0
70
+ # via matplotlib
53
71
pygments==2.14.0
54
72
# via
55
73
# sphinx
56
74
# sphinx-prompt
57
75
# sphinx-tabs
76
+ pyparsing==3.0.9
77
+ # via matplotlib
78
+ python-dateutil==2.8.2
79
+ # via matplotlib
58
80
pytz==2022.7.1
59
81
# via babel
60
82
pyyaml==6.0
@@ -66,6 +88,7 @@ requests==2.28.2
66
88
six==1.16.0
67
89
# via
68
90
# livereload
91
+ # python-dateutil
69
92
# sphinxcontrib-httpdomain
70
93
snowballstemmer==2.2.0
71
94
# via sphinx
@@ -83,6 +106,7 @@ sphinx==5.3.0
83
106
# sphinx-tabs
84
107
# sphinxcontrib-httpdomain
85
108
# sphinxemoji
109
+ # sphinxext-opengraph
86
110
sphinx-autobuild==2021.3.14
87
111
# via -r requirements/docs.in
88
112
sphinx-design==0.3.0
@@ -123,6 +147,8 @@ sphinxcontrib-video @ git+https://github.com/readthedocs/sphinxcontrib-video/
123
147
# via -r requirements/docs.in
124
148
sphinxemoji==0.2.0
125
149
# via -r requirements/docs.in
150
+ sphinxext-opengraph==0.8.1
151
+ # via -r requirements/docs.in
126
152
tornado==6.2
127
153
# via livereload
128
154
typing-extensions==4.5.0
You can’t perform that action at this time.
0 commit comments