Skip to content

Commit

Permalink
html_context to build html. enable EditOnGithub
Browse files Browse the repository at this point in the history
correct the conf_py_path

code format
  • Loading branch information
wadefelix committed Dec 10, 2021
1 parent b980cb5 commit 90e29b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,11 @@

imgmath_latex = 'latex'

html_show_sourcelink = False
html_context = {
'display_github': True,
'show_source': False,
'github_user': 'PaddlePaddle',
'github_repo': project,
'github_version': 'develop',
'conf_py_path': '/docs/source/',
}

0 comments on commit 90e29b3

Please sign in to comment.