From 1e617c9b0cab036cff4de14f36ba9a2903462e51 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 19 Jul 2013 15:34:49 -0700 Subject: Allowing creation of dynamic local ToC for method / function names --- user_guide_src/source/_themes/eldocs/layout.html | 12 +++--- .../_themes/eldocs/static/asset/js/method-toc.js | 44 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js (limited to 'user_guide_src') diff --git a/user_guide_src/source/_themes/eldocs/layout.html b/user_guide_src/source/_themes/eldocs/layout.html index 7f2fe1a34..535c2f194 100644 --- a/user_guide_src/source/_themes/eldocs/layout.html +++ b/user_guide_src/source/_themes/eldocs/layout.html @@ -31,7 +31,7 @@ {%- for cssfile in css_files %} {%- endfor %} - + {%- if not embedded %} {%- endfor %} + + {%- if favicon %} {%- endif %} {%- endif %} - + {%- block linktags %} {%- if hasdoc('about') %} @@ -96,7 +98,7 @@ {%- block rootrellink %}
  • User Guide Home{%- if pagename != 'index' %}  {{ reldelim1 }}{%- endif %}
  • {%- endblock %} - + {%- for parent in parents %}
  • {{ parent.title }}   {{ reldelim1 }}
  • {%- endfor %} @@ -117,8 +119,8 @@ {% if pagename not in exclude_comments -%} {% endif %} - - {%- block footer %} + + {%- block footer %}