Commit 115f207c authored by Yuxin Wu's avatar Yuxin Wu

bugfix in toc grouping. add GA for docs

parent 36d73304
...@@ -8,7 +8,7 @@ $(function (){ ...@@ -8,7 +8,7 @@ $(function (){
selected.each(function(i,e) { selected.each(function(i,e) {
var groupName = e.getElementsByTagName('a')[0].href; var groupName = $(e).find('a.internal')[0].href;
groupName = groupName.substr(groupName.lastIndexOf('/')+1); groupName = groupName.substr(groupName.lastIndexOf('/')+1);
groupName = groupName.substr(0,groupName.lastIndexOf(".html")); groupName = groupName.substr(0,groupName.lastIndexOf(".html"));
......
...@@ -160,7 +160,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] ...@@ -160,7 +160,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the
# documentation. # documentation.
html_theme_options = { } html_theme_options = { 'analytics_id': 'UA-42349716-2' }
# The name for this set of Sphinx documents. If None, it defaults to # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment