Skip to content

Commit

Permalink
Fix "Edit on GitHub" links
Browse files Browse the repository at this point in the history
Using "master" seems to mess it up, see
readthedocs/readthedocs.org#5518
  • Loading branch information
jeromegamez committed Aug 1, 2019
1 parent 9614b26 commit 926731b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
'canonical_url': 'https://firebase-php.readthedocs.io',
'analytics_id': 'UA-82654714-3'
}

### Syntax Highlighting
from sphinx.highlighting import lexers
Expand All @@ -37,7 +41,7 @@
"display_github": True,
"github_user": "kreait",
"github_repo": "firebase-php",
"github_version": "master",
"github_version": "",
"conf_py_path": "/docs/",
"source_suffix": ".rst",
}

0 comments on commit 926731b

Please sign in to comment.