File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4444 "sphinx_design" ,
4545 "sphinx_gallery.gen_gallery" ,
4646]
47- github_repo = "GenericMappingTools/pygmt"
4847
4948# Suppress warnings
5049suppress_warnings = [
214213# Theme config
215214html_theme = "sphinx_rtd_theme"
216215html_theme_options = {}
217- repository = "GenericMappingTools/pygmt"
218- repository_url = "https://github.com/GenericMappingTools/pygmt "
216+ github_repo = "GenericMappingTools/pygmt"
217+ repository_url = f "https://github.com/{ github_repo } "
219218if __commit__ :
220219 commit_link = (
221220 f'<a href="{ repository_url } /commit/{ __commit__ } ">{ __commit__ [:8 ] } </a>'
254253 strict = True ,
255254 )
256255 ),
257- "github_repo" : repository ,
256+ "github_repo" : github_repo ,
258257 "github_version" : "main" ,
259258 "commit" : commit_link ,
260259}
You can’t perform that action at this time.
0 commit comments