diff options
| author | home_pc <[email protected]> | 2020-01-20 13:48:51 -0800 |
|---|---|---|
| committer | home_pc <[email protected]> | 2020-01-20 13:48:51 -0800 |
| commit | 75fa1d1810e98453960a81115d88302e276d817f (patch) | |
| tree | 92f37accb3cb041d056d00525b5830a69862631a /docs/build/_static/apitoc.js | |
| parent | fixed install.mel issue (diff) | |
| download | artv2-75fa1d1810e98453960a81115d88302e276d817f.tar.xz artv2-75fa1d1810e98453960a81115d88302e276d817f.zip | |
Uploading work on refactor
At this point, all components can build their skeletons. Next steps are to get components building their rigs.
Diffstat (limited to 'docs/build/_static/apitoc.js')
| -rw-r--r-- | docs/build/_static/apitoc.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/build/_static/apitoc.js b/docs/build/_static/apitoc.js new file mode 100644 index 0000000..3220bd1 --- /dev/null +++ b/docs/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 |