File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ Configuration
2020 Configuration tutorial for details.
2121
2222
23+ Documentation
24+ ^^^^^^^^^^^^^
25+
26+ #. Add ``:issue: `` and ``:pr: `` directives for simplifying linking to issues and
27+ pull requests on GitHub (via :pr: `685 `).
2328
2429
2530Mobjects, Scenes, and Animations
Original file line number Diff line number Diff line change 5656 "sphinx.ext.napoleon" ,
5757 "sphinx.ext.autosummary" ,
5858 "sphinx.ext.doctest" ,
59+ "sphinx.ext.extlinks" ,
5960 "sphinxext.opengraph" ,
6061 "manim_directive" ,
6162]
103104# This specifies any additional css files that will override the theme's
104105html_css_files = ["custom.css" ]
105106
107+ # external links
108+ extlinks = {
109+ "issue" : ("https://github.com/ManimCommunity/manim/issues/%s" , "issue " ),
110+ "pr" : ("https://github.com/ManimCommunity/manim/pull/%s" , "pull request " ),
111+ }
112+
106113# opengraph settings
107114ogp_image = "https://www.manim.community/logo.png"
108115ogp_site_name = "Manim Community | Documentation"
You can’t perform that action at this time.
0 commit comments