diff --git a/org/theme-bigblow-local.setup b/org/theme-bigblow-local.setup index 2488692..4df260c 100644 --- a/org/theme-bigblow-local.setup +++ b/org/theme-bigblow-local.setup @@ -1,15 +1,15 @@ # -*- mode: org; -*- -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: diff --git a/org/theme-bigblow.setup b/org/theme-bigblow.setup index d552f90..1d9588c 100644 --- a/org/theme-bigblow.setup +++ b/org/theme-bigblow.setup @@ -1,15 +1,15 @@ # -*- mode: org; -*- -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: diff --git a/org/theme-readtheorg-local.setup b/org/theme-readtheorg-local.setup index 7e732ee..f646a0f 100644 --- a/org/theme-readtheorg-local.setup +++ b/org/theme-readtheorg-local.setup @@ -1,9 +1,9 @@ # -*- mode: org; -*- -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: diff --git a/org/theme-readtheorg.setup b/org/theme-readtheorg.setup index 99c3c15..7eca4e7 100644 --- a/org/theme-readtheorg.setup +++ b/org/theme-readtheorg.setup @@ -1,9 +1,9 @@ # -*- mode: org; -*- -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: #+HTML_HEAD: #+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: diff --git a/styles/bigblow/css/bigblow.css b/src/bigblow_theme/css/bigblow.css similarity index 100% rename from styles/bigblow/css/bigblow.css rename to src/bigblow_theme/css/bigblow.css diff --git a/styles/bigblow/css/hideshow.css b/src/bigblow_theme/css/hideshow.css similarity index 100% rename from styles/bigblow/css/hideshow.css rename to src/bigblow_theme/css/hideshow.css diff --git a/styles/bigblow/css/htmlize.css b/src/bigblow_theme/css/htmlize.css similarity index 100% rename from styles/bigblow/css/htmlize.css rename to src/bigblow_theme/css/htmlize.css diff --git a/styles/bigblow/images/checked.png b/src/bigblow_theme/images/checked.png similarity index 100% rename from styles/bigblow/images/checked.png rename to src/bigblow_theme/images/checked.png diff --git a/styles/bigblow/images/fixme.png b/src/bigblow_theme/images/fixme.png similarity index 100% rename from styles/bigblow/images/fixme.png rename to src/bigblow_theme/images/fixme.png diff --git a/styles/bigblow/images/halfchecked.png b/src/bigblow_theme/images/halfchecked.png similarity index 100% rename from styles/bigblow/images/halfchecked.png rename to src/bigblow_theme/images/halfchecked.png diff --git a/styles/bigblow/images/info.png b/src/bigblow_theme/images/info.png similarity index 100% rename from styles/bigblow/images/info.png rename to src/bigblow_theme/images/info.png diff --git a/styles/bigblow/images/note.png b/src/bigblow_theme/images/note.png similarity index 100% rename from styles/bigblow/images/note.png rename to src/bigblow_theme/images/note.png diff --git a/styles/bigblow/images/tip.png b/src/bigblow_theme/images/tip.png similarity index 100% rename from styles/bigblow/images/tip.png rename to src/bigblow_theme/images/tip.png diff --git a/styles/bigblow/images/unchecked.png b/src/bigblow_theme/images/unchecked.png similarity index 100% rename from styles/bigblow/images/unchecked.png rename to src/bigblow_theme/images/unchecked.png diff --git a/styles/bigblow/images/warning.png b/src/bigblow_theme/images/warning.png similarity index 100% rename from styles/bigblow/images/warning.png rename to src/bigblow_theme/images/warning.png diff --git a/styles/bigblow/js/ZeroClipboard.swf b/src/bigblow_theme/js/ZeroClipboard.swf similarity index 100% rename from styles/bigblow/js/ZeroClipboard.swf rename to src/bigblow_theme/js/ZeroClipboard.swf diff --git a/styles/bigblow/js/bigblow.js b/src/bigblow_theme/js/bigblow.js similarity index 99% rename from styles/bigblow/js/bigblow.js rename to src/bigblow_theme/js/bigblow.js index e7349c7..453ca0c 100644 --- a/styles/bigblow/js/bigblow.js +++ b/src/bigblow_theme/js/bigblow.js @@ -217,7 +217,7 @@ $(document).ready(function() { if ((window.location.protocol != 'file:') && ($(this).find('.zclip').length == 0)) { $(this).find('.copy-to-clipboard-button').zclip({ //path: 'http://www.steamdev.com/zclip/js/ZeroClipboard.swf', - //path: 'styles/bigblow/js/ZeroClipboard.swf', + //path: 'src/bigblow_theme/js/ZeroClipboard.swf', path: bbPathToZeroClipboardSwf, copy: function() { return $(this).parent().parent().find('.src').text(); diff --git a/styles/bigblow/js/hideshow.js b/src/bigblow_theme/js/hideshow.js similarity index 100% rename from styles/bigblow/js/hideshow.js rename to src/bigblow_theme/js/hideshow.js diff --git a/styles/bigblow/js/jquery-1.11.0.min.js b/src/bigblow_theme/js/jquery-1.11.0.min.js similarity index 100% rename from styles/bigblow/js/jquery-1.11.0.min.js rename to src/bigblow_theme/js/jquery-1.11.0.min.js diff --git a/styles/bigblow/js/jquery-1.9.1.min.js b/src/bigblow_theme/js/jquery-1.9.1.min.js similarity index 100% rename from styles/bigblow/js/jquery-1.9.1.min.js rename to src/bigblow_theme/js/jquery-1.9.1.min.js diff --git a/styles/bigblow/js/jquery-ui-1.10.2.min.js b/src/bigblow_theme/js/jquery-ui-1.10.2.min.js similarity index 100% rename from styles/bigblow/js/jquery-ui-1.10.2.min.js rename to src/bigblow_theme/js/jquery-ui-1.10.2.min.js diff --git a/styles/bigblow/js/jquery.localscroll-min.js b/src/bigblow_theme/js/jquery.localscroll-min.js similarity index 100% rename from styles/bigblow/js/jquery.localscroll-min.js rename to src/bigblow_theme/js/jquery.localscroll-min.js diff --git a/styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js b/src/bigblow_theme/js/jquery.scrollTo-1.4.3.1-min.js similarity index 100% rename from styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js rename to src/bigblow_theme/js/jquery.scrollTo-1.4.3.1-min.js diff --git a/styles/bigblow/js/jquery.zclip.min.js b/src/bigblow_theme/js/jquery.zclip.min.js similarity index 100% rename from styles/bigblow/js/jquery.zclip.min.js rename to src/bigblow_theme/js/jquery.zclip.min.js diff --git a/styles/lib/js/bootstrap-license.txt b/src/lib/js/bootstrap-license.txt similarity index 100% rename from styles/lib/js/bootstrap-license.txt rename to src/lib/js/bootstrap-license.txt diff --git a/styles/lib/js/bootstrap.min.js b/src/lib/js/bootstrap.min.js similarity index 100% rename from styles/lib/js/bootstrap.min.js rename to src/lib/js/bootstrap.min.js diff --git a/styles/lib/js/jquery-license.txt b/src/lib/js/jquery-license.txt similarity index 100% rename from styles/lib/js/jquery-license.txt rename to src/lib/js/jquery-license.txt diff --git a/styles/lib/js/jquery.min.js b/src/lib/js/jquery.min.js similarity index 100% rename from styles/lib/js/jquery.min.js rename to src/lib/js/jquery.min.js diff --git a/styles/lib/js/jquery.stickytableheaders.min.js b/src/lib/js/jquery.stickytableheaders.min.js similarity index 100% rename from styles/lib/js/jquery.stickytableheaders.min.js rename to src/lib/js/jquery.stickytableheaders.min.js diff --git a/styles/lib/js/stickytableheaders-license.txt b/src/lib/js/stickytableheaders-license.txt similarity index 92% rename from styles/lib/js/stickytableheaders-license.txt rename to src/lib/js/stickytableheaders-license.txt index d3f756a..a9da71c 100644 --- a/styles/lib/js/stickytableheaders-license.txt +++ b/src/lib/js/stickytableheaders-license.txt @@ -1,20 +1,20 @@ -Copyright (c) 2011 Jonas Mosbech - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +Copyright (c) 2011 Jonas Mosbech + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/styles/readtheorg/css/htmlize.css b/src/readtheorg_theme/css/htmlize.css similarity index 100% rename from styles/readtheorg/css/htmlize.css rename to src/readtheorg_theme/css/htmlize.css diff --git a/styles/readtheorg/css/readtheorg.css b/src/readtheorg_theme/css/readtheorg.css similarity index 100% rename from styles/readtheorg/css/readtheorg.css rename to src/readtheorg_theme/css/readtheorg.css diff --git a/styles/readtheorg/css/rtd-full.css b/src/readtheorg_theme/css/rtd-full.css similarity index 100% rename from styles/readtheorg/css/rtd-full.css rename to src/readtheorg_theme/css/rtd-full.css diff --git a/styles/readtheorg/js/readtheorg.js b/src/readtheorg_theme/js/readtheorg.js similarity index 82% rename from styles/readtheorg/js/readtheorg.js rename to src/readtheorg_theme/js/readtheorg.js index 6dff6c4..3336bc2 100644 --- a/styles/readtheorg/js/readtheorg.js +++ b/src/readtheorg_theme/js/readtheorg.js @@ -1,3 +1,23 @@ +function collapse_toc_elements_on_click (nav_li_a){ + /* + When an `a' element in the TOC is clicked, its parent + `li' element's active attribute is toggled. This causes + the element to toggle between minimized and maximized + states. The active attribute is documented in bootstrap. + https://getbootstrap.com/docs/4.0/components/navbar/#nav + */ + $(nav_li_el).parent().toggleClass("active"); +} + +$( document ).ready(function() { + // When the document is loaded and ready, bind the + // function `collapse_toc_elements_on_click' to the + // `a' elements in the table of contents. + $("#text-table-of-contents a").click(function() { + collapse_toc_elements_on_click(this); + }); +}); + $(function() { $('.note').before("

Note

"); $('.seealso').before("

See also

"); diff --git a/styles/readtheorg/readtheorg.org b/src/readtheorg_theme/readtheorg.org similarity index 100% rename from styles/readtheorg/readtheorg.org rename to src/readtheorg_theme/readtheorg.org