Skip to content

Commit 926731b

Browse files
committed
Fix "Edit on GitHub" links
Using "master" seems to mess it up, see readthedocs/readthedocs.org#5518
1 parent 9614b26 commit 926731b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/conf.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323

2424
html_theme = 'sphinx_rtd_theme'
2525
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
26+
html_theme_options = {
27+
'canonical_url': 'https://firebase-php.readthedocs.io',
28+
'analytics_id': 'UA-82654714-3'
29+
}
2630

2731
### Syntax Highlighting
2832
from sphinx.highlighting import lexers
@@ -37,7 +41,7 @@
3741
"display_github": True,
3842
"github_user": "kreait",
3943
"github_repo": "firebase-php",
40-
"github_version": "master",
44+
"github_version": "",
4145
"conf_py_path": "/docs/",
4246
"source_suffix": ".rst",
4347
}

0 commit comments

Comments
 (0)