diff --git a/docs/source/conf.py b/docs/source/conf.py index 5004914ab..3ade97229 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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/', +}