aboutsummaryrefslogtreecommitdiff
path: root/Documentation/build/_static/apitoc.js
diff options
context:
space:
mode:
authorMobileMachine\jeremy <[email protected]>2017-06-06 22:59:03 -0400
committerMobileMachine\jeremy <[email protected]>2017-06-06 22:59:03 -0400
commit24725fa8681f906ab44d80687c09fecc171a2896 (patch)
tree312a601df29aca7f8db9f44082d96ebc7a679138 /Documentation/build/_static/apitoc.js
parentInitial commit (diff)
downloadartv2-24725fa8681f906ab44d80687c09fecc171a2896.tar.xz
artv2-24725fa8681f906ab44d80687c09fecc171a2896.zip
Initial Submission
First submission of current state of ARTv2. Currently considered to be in Alpha. There are a couple of animation tools not implemented yet, and one module not implemented yet, as well as incomplete documentation.
Diffstat (limited to 'Documentation/build/_static/apitoc.js')
-rw-r--r--Documentation/build/_static/apitoc.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/build/_static/apitoc.js b/Documentation/build/_static/apitoc.js
new file mode 100644
index 0000000..3220bd1
--- /dev/null
+++ b/Documentation/build/_static/apitoc.js
@@ -0,0 +1,21 @@
+// Inject API members into the TOC in the sidebar.
+// This should be loaded in the localtoc.html template.
+
+$(function (){
+ $('div.section').each(function(index) {
+ var $section = $(this),
+ $tocitem = $('.sphinxlocaltoc li:has(> a.reference.internal[href="#' +
+ $section.attr('id') +
+ '"])');
+ $members = $('<ul>').appendTo($tocitem);
+ $('> dl > dt', $section).each(function(index) {
+ var $member = $(this),
+ $tocMember = $('<li class="api-member">');
+ $tocMember.text($('.property', $member).text() + ' ');
+ $tocMember.append('<a href="#' + $member.attr('id') + '">' +
+ $('.descname', $member).text() +
+ '</a>');
+ $members.append($tocMember);
+ });
+ });
+}); \ No newline at end of file