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 --- .../_themes/eldocs/static/asset/js/method-toc.js | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js (limited to 'user_guide_src/source/_themes/eldocs/static/asset/js') diff --git a/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js b/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js new file mode 100644 index 000000000..92024c70a --- /dev/null +++ b/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js @@ -0,0 +1,44 @@ +/* modified from http://stackoverflow.com/a/12459801 */ +$(function (){ + var createList = function(selector){ + + var ul = $('