├── theme
├── __init__.py
├── img
│ ├── info.png
│ ├── site.png
│ ├── warn.png
│ ├── favicon.ico
│ └── ribbon-draft.png
├── fonts
│ ├── FontAwesome.otf
│ ├── league-gothic
│ │ ├── LICENSE
│ │ ├── league-gothic.eot
│ │ ├── league-gothic.ttf
│ │ ├── league-gothic.woff
│ │ └── league-gothic.css
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── fontawesome-webfont.woff2
│ └── source-sans-pro
│ │ ├── source-sans-pro-italic.eot
│ │ ├── source-sans-pro-italic.ttf
│ │ ├── source-sans-pro-italic.woff
│ │ ├── source-sans-pro-regular.eot
│ │ ├── source-sans-pro-regular.ttf
│ │ ├── source-sans-pro-regular.woff
│ │ ├── source-sans-pro-semibold.eot
│ │ ├── source-sans-pro-semibold.ttf
│ │ ├── source-sans-pro-semibold.woff
│ │ ├── source-sans-pro-semibolditalic.eot
│ │ ├── source-sans-pro-semibolditalic.ttf
│ │ ├── source-sans-pro-semibolditalic.woff
│ │ ├── source-sans-pro.css
│ │ └── LICENSE
├── js
│ ├── extra
│ │ ├── jsmind-options.js
│ │ ├── flowchart-options.js
│ │ └── collapsible-sidebar.js
│ ├── plugin
│ │ ├── menu
│ │ │ ├── font-awesome-4.3.0
│ │ │ │ └── fonts
│ │ │ │ │ ├── FontAwesome.otf
│ │ │ │ │ ├── fontawesome-webfont.eot
│ │ │ │ │ ├── fontawesome-webfont.ttf
│ │ │ │ │ ├── fontawesome-webfont.woff
│ │ │ │ │ └── fontawesome-webfont.woff2
│ │ │ ├── TODO
│ │ │ ├── bower.json
│ │ │ ├── package.json
│ │ │ ├── LICENSE
│ │ │ ├── lib
│ │ │ │ └── bowser.min.js
│ │ │ └── menu.css
│ │ ├── markdown
│ │ │ ├── example.md
│ │ │ └── example.html
│ │ ├── flowchart-js
│ │ │ ├── flowchart.css
│ │ │ ├── svg-innerhtml.js
│ │ │ └── flowchart.js
│ │ ├── multiplex
│ │ │ ├── client.js
│ │ │ ├── package.json
│ │ │ ├── master.js
│ │ │ └── index.js
│ │ ├── print-pdf
│ │ │ └── print-pdf.js
│ │ ├── math
│ │ │ └── math.js
│ │ ├── quizz
│ │ │ ├── quizz.css
│ │ │ └── quizz.js
│ │ ├── notes-server
│ │ │ ├── index.js
│ │ │ └── client.js
│ │ ├── title-footer
│ │ │ ├── title-footer.css
│ │ │ └── title-footer.js
│ │ ├── toc-progress
│ │ │ └── toc-progress.css
│ │ ├── jsmind
│ │ │ ├── jsmind.js
│ │ │ └── jsmind.css
│ │ └── notes
│ │ │ └── notes.js
│ ├── classList.js
│ └── theme.js
├── searchbox.html
├── main.html
├── search.html
├── versions.html
├── toc.html
├── breadcrumbs.html
├── css
│ ├── customizations.css
│ ├── theme
│ │ ├── source
│ │ │ ├── night.scss
│ │ │ ├── serif.scss
│ │ │ ├── league.scss
│ │ │ ├── simple.scss
│ │ │ ├── sky.scss
│ │ │ ├── beige.scss
│ │ │ ├── black.scss
│ │ │ ├── white.scss
│ │ │ ├── moon.scss
│ │ │ ├── solarized.scss
│ │ │ └── blood.scss
│ │ ├── template
│ │ │ ├── settings.scss
│ │ │ └── mixins.scss
│ │ ├── README.md
│ │ ├── night.css
│ │ ├── serif.css
│ │ ├── moon.css
│ │ ├── solarized.css
│ │ └── white.css
│ ├── material-icons.css
│ ├── zenburn.css
│ ├── slide-customizations.css
│ ├── tooltip.css
│ ├── highlight.css
│ ├── site-customizations.css
│ ├── print
│ │ ├── pdf.css
│ │ └── paper.css
│ ├── theme_extra.css
│ ├── extra
│ │ └── mermaid.css
│ └── codehilite.css
├── nav.html
├── footer.html
├── slideshow.html
└── base.html
├── _config.yml
├── src_example
├── slides
│ ├── template
│ │ ├── slideshow.html
│ │ ├── process.diag
│ │ ├── questions.json
│ │ ├── mindmap.json
│ │ └── slides.mdtxt
│ └── template.md
└── index.md
├── doc
├── img
│ ├── note-box.png
│ ├── danger-box.png
│ ├── important-box.png
│ ├── reminder-box.png
│ ├── warning-box.png
│ ├── adding-a-quizz.gif
│ ├── adding-a-flowchart.gif
│ ├── adding-a-mindmap.gif
│ ├── organizing-the-slideshow.gif
│ ├── section-with-subsections-1.png
│ └── section-with-subsections-2.png
├── tuning-mkdocs-web-pages.md
└── tuning-revealjs-slideshows.md
├── mkdocs.yml.template
├── .gitignore
└── README.md
/theme/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-hacker
--------------------------------------------------------------------------------
/src_example/slides/template/slideshow.html:
--------------------------------------------------------------------------------
1 | ../../../theme/slideshow.html
--------------------------------------------------------------------------------
/doc/img/note-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/note-box.png
--------------------------------------------------------------------------------
/theme/img/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/img/info.png
--------------------------------------------------------------------------------
/theme/img/site.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/img/site.png
--------------------------------------------------------------------------------
/theme/img/warn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/img/warn.png
--------------------------------------------------------------------------------
/doc/img/danger-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/danger-box.png
--------------------------------------------------------------------------------
/theme/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/img/favicon.ico
--------------------------------------------------------------------------------
/doc/img/important-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/important-box.png
--------------------------------------------------------------------------------
/doc/img/reminder-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/reminder-box.png
--------------------------------------------------------------------------------
/doc/img/warning-box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/warning-box.png
--------------------------------------------------------------------------------
/doc/img/adding-a-quizz.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/adding-a-quizz.gif
--------------------------------------------------------------------------------
/theme/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/theme/img/ribbon-draft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/img/ribbon-draft.png
--------------------------------------------------------------------------------
/doc/img/adding-a-flowchart.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/adding-a-flowchart.gif
--------------------------------------------------------------------------------
/doc/img/adding-a-mindmap.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/adding-a-mindmap.gif
--------------------------------------------------------------------------------
/theme/fonts/league-gothic/LICENSE:
--------------------------------------------------------------------------------
1 | SIL Open Font License (OFL)
2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
3 |
--------------------------------------------------------------------------------
/theme/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/theme/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/doc/img/organizing-the-slideshow.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/organizing-the-slideshow.gif
--------------------------------------------------------------------------------
/theme/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/theme/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/doc/img/section-with-subsections-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/section-with-subsections-1.png
--------------------------------------------------------------------------------
/doc/img/section-with-subsections-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/doc/img/section-with-subsections-2.png
--------------------------------------------------------------------------------
/theme/js/extra/jsmind-options.js:
--------------------------------------------------------------------------------
1 | var jsmind_options = {
2 | container: 'mindmap',
3 | theme: 'white',
4 | editable: false
5 | };
6 |
--------------------------------------------------------------------------------
/theme/fonts/league-gothic/league-gothic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/league-gothic/league-gothic.eot
--------------------------------------------------------------------------------
/theme/fonts/league-gothic/league-gothic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/league-gothic/league-gothic.ttf
--------------------------------------------------------------------------------
/theme/fonts/league-gothic/league-gothic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/league-gothic/league-gothic.woff
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-italic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-italic.eot
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-italic.woff
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-regular.eot
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-regular.woff
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf
--------------------------------------------------------------------------------
/theme/js/plugin/menu/font-awesome-4.3.0/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/js/plugin/menu/font-awesome-4.3.0/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff
--------------------------------------------------------------------------------
/src_example/slides/template.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | !!! info "Additional Documentation"
6 |
7 | Some references...
8 |
--------------------------------------------------------------------------------
/theme/js/plugin/menu/TODO:
--------------------------------------------------------------------------------
1 | TODO
2 |
3 | Add menu panel for changing options, for both reveal (eg autoSlide, loop, show/hide controls, ...) and menu (eg change side, effect, ...)
4 |
5 | Customise width
6 |
--------------------------------------------------------------------------------
/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dhondta/mkdocs-revealjs-template/HEAD/theme/js/plugin/menu/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/theme/searchbox.html:
--------------------------------------------------------------------------------
1 |
10 | 11 | !!! reminder "Documentation & Basic Commands" 12 | 13 | For full documentation visit [mkdocs.org](http://mkdocs.org). 14 | 15 | **Commands** 16 | 17 | * `mkdocs new [dir-name]` - Create a new project. 18 | * `mkdocs serve` - Start the live-reloading docs server. 19 | * `mkdocs build` - Build the documentation site. 20 | * `mkdocs help` - Print this help message. 21 | 22 |
23 |Remember that you need to serve the presentation HTML from a HTTP server.
'); 24 | } 25 | } 26 | }; 27 | 28 | get_mindmap.open( 'GET', './' + fn, false ); 29 | 30 | try { 31 | get_mindmap.send(); 32 | } catch ( e ) { 33 | alert( 'Failed to get the mindmap file "' + fn + 34 | '". Make sure that the file is served by an HTTP server and the file can be found there. ' + e ); 35 | } 36 | }); 37 | }; 38 | 39 | // modified from math plugin 40 | function loadResource( url, type, callback ) { 41 | var head = document.querySelector( 'head' ); 42 | var resource; 43 | 44 | if ( type === 'script' ) { 45 | resource = document.createElement( 'script' ); 46 | resource.type = 'text/javascript'; 47 | resource.src = url; 48 | } 49 | else if ( type === 'stylesheet' ) { 50 | resource = document.createElement( 'link' ); 51 | resource.rel = 'stylesheet'; 52 | resource.href = url; 53 | } 54 | 55 | // Wrapper for callback to make sure it only fires once 56 | var finish = function() { 57 | if( typeof callback === 'function' ) { 58 | callback.call(); 59 | callback = null; 60 | } 61 | } 62 | 63 | resource.onload = finish; 64 | 65 | // IE 66 | resource.onreadystatechange = function() { 67 | if ( this.readyState === 'loaded' ) { 68 | finish(); 69 | } 70 | } 71 | 72 | // Normal browsers 73 | head.appendChild( resource ); 74 | } 75 | }); 76 | -------------------------------------------------------------------------------- /theme/js/plugin/flowchart-js/flowchart.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Reveal.js flowchart plugin 3 | * (c) Alexandre D'Hondt 2016 4 | * 5 | * See Flowchart.js at: https://github.com/adrai/flowchart.js/ 6 | */ 7 | $(function () { 8 | var diagram = $("div#flowchart"), fn = "process.diag"; 9 | if (diagram.length) { 10 | loadResource( '../../js/plugin/flowchart-js/flowchart.css', 'stylesheet', function() { 11 | loadResource( '../../js/plugin/flowchart-js/svg-innerhtml.js', 'script', function() { 12 | var get_flowchart = new XMLHttpRequest(); 13 | get_flowchart.overrideMimeType( 'text/plain; charset=utf-8' ); 14 | 15 | get_flowchart.onreadystatechange = function() { 16 | if( get_flowchart.readyState === 4 ) { 17 | if ( ( get_flowchart.status >= 200 && get_flowchart.status < 300 ) || get_flowchart.status === 0 ) { 18 | var p = flowchart.parse(get_flowchart.responseText), diagram = $("div#flowchart"); 19 | // NB: of course, flowchart_options is loaded in an apart js file 20 | p.drawSVG(this, flowchart_options); 21 | $('svg').appendTo(diagram); 22 | } else { 23 | diagram.text('ERROR: The attempt to fetch "' + fn + '" failed with HTTP status ' + get_flowchart.status + '.' + 24 | 'Check your browser\'s JavaScript console for more details.' + 25 | 'Remember that you need to serve the presentation HTML from a HTTP server.
'); 26 | console.log(get_flowchart.status); 27 | } 28 | } 29 | }; 30 | 31 | get_flowchart.open( 'GET', './' + fn, false ); 32 | 33 | try { 34 | get_flowchart.send(); 35 | } catch ( e ) { 36 | alert( 'Failed to get the flowchart file "' + fn + 37 | '". Make sure that the file is served by an HTTP server and the file can be found there. ' + e ); 38 | } 39 | }) 40 | }); 41 | }; 42 | 43 | // modified from math plugin 44 | function loadResource( url, type, callback ) { 45 | var head = document.querySelector( 'head' ); 46 | var resource; 47 | 48 | if ( type === 'script' ) { 49 | resource = document.createElement( 'script' ); 50 | resource.type = 'text/javascript'; 51 | resource.src = url; 52 | } 53 | else if ( type === 'stylesheet' ) { 54 | resource = document.createElement( 'link' ); 55 | resource.rel = 'stylesheet'; 56 | resource.href = url; 57 | } 58 | 59 | // Wrapper for callback to make sure it only fires once 60 | var finish = function() { 61 | if( typeof callback === 'function' ) { 62 | callback.call(); 63 | callback = null; 64 | } 65 | } 66 | 67 | resource.onload = finish; 68 | 69 | // IE 70 | resource.onreadystatechange = function() { 71 | if ( this.readyState === 'loaded' ) { 72 | finish(); 73 | } 74 | } 75 | 76 | // Normal browsers 77 | head.appendChild( resource ); 78 | } 79 | }); 80 | -------------------------------------------------------------------------------- /theme/js/plugin/menu/lib/bowser.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bowser - a browser detector 3 | * https://github.com/ded/bowser 4 | * MIT License | (c) Dustin Diaz 2014 5 | */ 6 | !function(e,t){typeof module!="undefined"&&module.exports?module.exports.browser=t():typeof define=="function"&&define.amd?define(t):this[e]=t()}("bowser",function(){function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function r(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var i=n(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(t),o=!s&&/android/i.test(t),u=n(/edge\/(\d+(\.\d+)?)/i),a=n(/version\/(\d+(\.\d+)?)/i),f=/tablet/i.test(t),l=!f&&/[^-]mobi/i.test(t),c;/opera|opr/i.test(t)?c={name:"Opera",opera:e,version:a||n(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?c={name:"Yandex Browser",yandexbrowser:e,version:a||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(t)?(c={name:"Windows Phone",windowsphone:e},u?(c.msedge=e,c.version=u):(c.msie=e,c.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?c={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?c={name:"Microsoft Edge",msedge:e,version:u}:/chrome|crios|crmo/i.test(t)?c={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:i?(c={name:i=="iphone"?"iPhone":i=="ipad"?"iPad":"iPod"},a&&(c.version=a)):/sailfish/i.test(t)?c={name:"Sailfish",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?c={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(t)?(c={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(c.firefoxos=e)):/silk/i.test(t)?c={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:o?c={name:"Android",version:a}:/phantom/i.test(t)?c={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?c={name:"BlackBerry",blackberry:e,version:a||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(t)?(c={name:"WebOS",webos:e,version:a||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(c.touchpad=e)):/bada/i.test(t)?c={name:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:/tizen/i.test(t)?c={name:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||a}:/safari/i.test(t)?c={name:"Safari",safari:e,version:a}:c={name:n(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!c.msedge&&/(apple)?webkit/i.test(t)?(c.name=c.name||"Webkit",c.webkit=e,!c.version&&a&&(c.version=a)):!c.opera&&/gecko\//i.test(t)&&(c.name=c.name||"Gecko",c.gecko=e,c.version=c.version||n(/gecko\/(\d+(\.\d+)?)/i)),!c.msedge&&(o||c.silk)?c.android=e:i&&(c[i]=e,c.ios=e);var h="";c.windowsphone?h=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i?(h=n(/os (\d+([_\s]\d+)*) like mac os x/i),h=h.replace(/[_\s]/g,".")):o?h=n(/android[ \/-](\d+(\.\d+)*)/i):c.webos?h=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):c.blackberry?h=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):c.bada?h=n(/bada\/(\d+(\.\d+)*)/i):c.tizen&&(h=n(/tizen[\/\s](\d+(\.\d+)*)/i)),h&&(c.osversion=h);var p=h.split(".")[0];if(f||i=="ipad"||o&&(p==3||p==4&&!l)||c.silk)c.tablet=e;else if(l||i=="iphone"||i=="ipod"||o||c.blackberry||c.webos||c.bada)c.mobile=e;return c.msedge||c.msie&&c.version>=10||c.yandexbrowser&&c.version>=15||c.chrome&&c.version>=20||c.firefox&&c.version>=20||c.safari&&c.version>=6||c.opera&&c.version>=10||c.ios&&c.osversion&&c.osversion.split(".")[0]>=6||c.blackberry&&c.version>=10.1?c.a=e:c.msie&&c.version<10||c.chrome&&c.version<20||c.firefox&&c.version<20||c.safari&&c.version<6||c.opera&&c.version<10||c.ios&&c.osversion&&c.osversion.split(".")[0]<6?c.c=e:c.x=e,c}var e=!0,n=t(typeof navigator!="undefined"?navigator.userAgent:"");return n.test=function(e){for(var t=0;tRemember that you need to serve the presentation HTML from a HTTP server.
'); 23 | } 24 | } else { 25 | quizz.text('ERROR: The attempt to fetch "' + fn + '" failed with HTTP status ' + get_quiz.status + '.' + 26 | 'Check your browser\'s JavaScript console for more details.' + 27 | 'Remember that you need to serve the presentation HTML from a HTTP server.
'); 28 | } 29 | } 30 | }; 31 | 32 | get_quiz.open( 'GET', './' + fn, false ); 33 | 34 | try { 35 | get_quiz.send(); 36 | } catch ( e ) { 37 | alert( 'Failed to get the questions file "' + fn + 38 | '". Make sure that the file is served by an HTTP server and the file can be found there. ' + e ); 39 | } 40 | }); 41 | 42 | function quizzRefresh() { 43 | var c, clist = $('.quizz-choices'); 44 | $('.quizz-next').attr('disabled', true); 45 | $('.quizz-question').text(qlist[nq].question); 46 | clist.find("li").remove(); 47 | for (i = 0; i < qlist[nq].choices.length; i++) { 48 | c = qlist[nq].choices[i]; 49 | $('').appendTo(clist); 51 | } 52 | $('.quizz-radio').click(function (e) { 53 | $('.quizz-next').removeAttr('disabled'); 54 | $('.quizz-radio').removeAttr('checked'); 55 | $(this).attr('checked', true); 56 | }); 57 | } 58 | 59 | function quizzReset() { 60 | nq = 0, ans = 0, over = false; 61 | $('.quizz-next').text("Next"); 62 | $('.quizz-result').hide(); 63 | } 64 | 65 | function quizzStart() { 66 | if (qlist == undefined || qlist.length == 0) { 67 | $('.quizz-question').text("No question to display"); 68 | $('.quizz-choices').remove(); 69 | $('.quizz-next').remove(); 70 | return; 71 | } else { 72 | quizzReset(); 73 | quizzRefresh(); 74 | $('.quizz-next').click(function (e) { 75 | if (over) { 76 | quizzReset(); 77 | quizzRefresh(); 78 | } else { 79 | v = $('input[class="quizz-radio"]:checked').val(); 80 | if (v == undefined) { 81 | $('.quizz-next').attr('disabled', true); 82 | } else { 83 | if (v == qlist[nq].answer) { ans++; } 84 | nq++; 85 | if (nq < qlist.length) { 86 | quizzRefresh(); 87 | } else { 88 | $('.quizz-result').text("Your score: " + ans + "/" + qlist.length).show(); 89 | $('.quizz-next').text("Restart"); 90 | over = true; 91 | } 92 | } 93 | } 94 | }); 95 | } 96 | } 97 | }; 98 | 99 | // modified from math plugin 100 | function loadResource( url, type, callback ) { 101 | var head = document.querySelector( 'head' ); 102 | var resource; 103 | 104 | if ( type === 'script' ) { 105 | resource = document.createElement( 'script' ); 106 | resource.type = 'text/javascript'; 107 | resource.src = url; 108 | } 109 | else if ( type === 'stylesheet' ) { 110 | resource = document.createElement( 'link' ); 111 | resource.rel = 'stylesheet'; 112 | resource.href = url; 113 | } 114 | 115 | // Wrapper for callback to make sure it only fires once 116 | var finish = function() { 117 | if( typeof callback === 'function' ) { 118 | callback.call(); 119 | callback = null; 120 | } 121 | } 122 | 123 | resource.onload = finish; 124 | 125 | // IE 126 | resource.onreadystatechange = function() { 127 | if ( this.readyState === 'loaded' ) { 128 | finish(); 129 | } 130 | } 131 | 132 | // Normal browsers 133 | head.appendChild( resource ); 134 | } 135 | }); 136 | -------------------------------------------------------------------------------- /theme/css/extra/mermaid.css: -------------------------------------------------------------------------------- 1 | /* Flowchart variables */ 2 | /* Sequence Diagram variables */ 3 | /* Gantt chart variables */ 4 | .mermaid .label { 5 | color: #333; 6 | } 7 | .node rect, 8 | .node circle, 9 | .node ellipse, 10 | .node polygon { 11 | fill: #ECECFF; 12 | stroke: #CCCCFF; 13 | stroke-width: 1px; 14 | } 15 | .edgePath .path { 16 | stroke: #333333; 17 | } 18 | .edgeLabel { 19 | background-color: #e8e8e8; 20 | } 21 | .cluster rect { 22 | fill: #ffffde !important; 23 | rx: 4 !important; 24 | stroke: #aaaa33 !important; 25 | stroke-width: 1px !important; 26 | } 27 | .cluster text { 28 | fill: #333; 29 | } 30 | .actor { 31 | stroke: #CCCCFF; 32 | fill: #ECECFF; 33 | } 34 | text.actor { 35 | fill: black; 36 | stroke: none; 37 | } 38 | .actor-line { 39 | stroke: grey; 40 | } 41 | .messageLine0 { 42 | stroke-width: 1.5; 43 | stroke-dasharray: "2 2"; 44 | marker-end: "url(#arrowhead)"; 45 | stroke: #333; 46 | } 47 | .messageLine1 { 48 | stroke-width: 1.5; 49 | stroke-dasharray: "2 2"; 50 | stroke: #333; 51 | } 52 | #arrowhead { 53 | fill: #333; 54 | } 55 | #crosshead path { 56 | fill: #333 !important; 57 | stroke: #333 !important; 58 | } 59 | .messageText { 60 | fill: #333; 61 | stroke: none; 62 | } 63 | .labelBox { 64 | stroke: #CCCCFF; 65 | fill: #ECECFF; 66 | } 67 | .labelText { 68 | fill: black; 69 | stroke: none; 70 | } 71 | .loopText { 72 | fill: black; 73 | stroke: none; 74 | } 75 | .loopLine { 76 | stroke-width: 2; 77 | stroke-dasharray: "2 2"; 78 | marker-end: "url(#arrowhead)"; 79 | stroke: #CCCCFF; 80 | } 81 | .note { 82 | stroke: #aaaa33; 83 | fill: #fff5ad; 84 | } 85 | .noteText { 86 | fill: black; 87 | stroke: none; 88 | font-family: 'trebuchet ms', verdana, arial; 89 | font-size: 14px; 90 | } 91 | /** Section styling */ 92 | .section { 93 | stroke: none; 94 | /* below commented out because it conflicts with the readthedocs theme */ 95 | /* opacity: 0.2; */ 96 | } 97 | .section0 { 98 | fill: rgba(102, 102, 255, 0.49); 99 | } 100 | .section2 { 101 | fill: #fff400; 102 | } 103 | .section1, 104 | .section3 { 105 | fill: white; 106 | opacity: 0.2; 107 | } 108 | .sectionTitle0 { 109 | fill: #333; 110 | } 111 | .sectionTitle1 { 112 | fill: #333; 113 | } 114 | .sectionTitle2 { 115 | fill: #333; 116 | } 117 | .sectionTitle3 { 118 | fill: #333; 119 | } 120 | .sectionTitle { 121 | text-anchor: start; 122 | font-size: 11px; 123 | text-height: 14px; 124 | } 125 | /* Grid and axis */ 126 | .grid .tick { 127 | stroke: lightgrey; 128 | opacity: 0.3; 129 | shape-rendering: crispEdges; 130 | } 131 | .grid path { 132 | stroke-width: 0; 133 | } 134 | /* Today line */ 135 | .today { 136 | fill: none; 137 | stroke: red; 138 | stroke-width: 2px; 139 | } 140 | /* Task styling */ 141 | /* Default task */ 142 | .task { 143 | stroke-width: 2; 144 | } 145 | .taskText { 146 | text-anchor: middle; 147 | font-size: 11px; 148 | } 149 | .taskTextOutsideRight { 150 | fill: black; 151 | text-anchor: start; 152 | font-size: 11px; 153 | } 154 | .taskTextOutsideLeft { 155 | fill: black; 156 | text-anchor: end; 157 | font-size: 11px; 158 | } 159 | /* Specific task settings for the sections*/ 160 | .taskText0, 161 | .taskText1, 162 | .taskText2, 163 | .taskText3 { 164 | fill: white; 165 | } 166 | .task0, 167 | .task1, 168 | .task2, 169 | .task3 { 170 | fill: #8a90dd; 171 | stroke: #534fbc; 172 | } 173 | .taskTextOutside0, 174 | .taskTextOutside2 { 175 | fill: black; 176 | } 177 | .taskTextOutside1, 178 | .taskTextOutside3 { 179 | fill: black; 180 | } 181 | /* Active task */ 182 | .active0, 183 | .active1, 184 | .active2, 185 | .active3 { 186 | fill: #bfc7ff; 187 | stroke: #534fbc; 188 | } 189 | .activeText0, 190 | .activeText1, 191 | .activeText2, 192 | .activeText3 { 193 | fill: black !important; 194 | } 195 | /* Completed task */ 196 | .done0, 197 | .done1, 198 | .done2, 199 | .done3 { 200 | stroke: grey; 201 | fill: lightgrey; 202 | stroke-width: 2; 203 | } 204 | .doneText0, 205 | .doneText1, 206 | .doneText2, 207 | .doneText3 { 208 | fill: black !important; 209 | } 210 | /* Tasks on the critical line */ 211 | .crit0, 212 | .crit1, 213 | .crit2, 214 | .crit3 { 215 | stroke: #ff8888; 216 | fill: red; 217 | stroke-width: 2; 218 | } 219 | .activeCrit0, 220 | .activeCrit1, 221 | .activeCrit2, 222 | .activeCrit3 { 223 | stroke: #ff8888; 224 | fill: #bfc7ff; 225 | stroke-width: 2; 226 | } 227 | .doneCrit0, 228 | .doneCrit1, 229 | .doneCrit2, 230 | .doneCrit3 { 231 | stroke: #ff8888; 232 | fill: lightgrey; 233 | stroke-width: 2; 234 | cursor: pointer; 235 | shape-rendering: crispEdges; 236 | } 237 | .doneCritText0, 238 | .doneCritText1, 239 | .doneCritText2, 240 | .doneCritText3 { 241 | fill: black !important; 242 | } 243 | .activeCritText0, 244 | .activeCritText1, 245 | .activeCritText2, 246 | .activeCritText3 { 247 | fill: black !important; 248 | } 249 | .titleText { 250 | text-anchor: middle; 251 | font-size: 18px; 252 | fill: black; 253 | } 254 | /* 255 | 256 | 257 | */ 258 | .node text { 259 | font-family: 'trebuchet ms', verdana, arial; 260 | font-size: 14px; 261 | } 262 | div.mermaidTooltip { 263 | position: absolute; 264 | text-align: center; 265 | max-width: 200px; 266 | padding: 2px; 267 | font-family: 'trebuchet ms', verdana, arial; 268 | font-size: 12px; 269 | background: #ffffde; 270 | border: 1px solid #aaaa33; 271 | border-radius: 2px; 272 | pointer-events: none; 273 | z-index: 100; 274 | } 275 | -------------------------------------------------------------------------------- /theme/css/print/paper.css: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | 9 | @media print { 10 | 11 | /* SECTION 1: Set default width, margin, float, and 12 | background. This prevents elements from extending 13 | beyond the edge of the printed page, and prevents 14 | unnecessary background images from printing */ 15 | html { 16 | background: #fff; 17 | width: auto; 18 | height: auto; 19 | overflow: visible; 20 | } 21 | body { 22 | background: #fff; 23 | font-size: 20pt; 24 | width: auto; 25 | height: auto; 26 | border: 0; 27 | margin: 0 5%; 28 | padding: 0; 29 | overflow: visible; 30 | float: none !important; 31 | } 32 | 33 | /* SECTION 2: Remove any elements not needed in print. 34 | This would include navigation, ads, sidebars, etc. */ 35 | .nestedarrow, 36 | .controls, 37 | .fork-reveal, 38 | .share-reveal, 39 | .state-background, 40 | .reveal .progress, 41 | .reveal .backgrounds { 42 | display: none !important; 43 | } 44 | 45 | /* SECTION 3: Set body font face, size, and color. 46 | Consider using a serif font for readability. */ 47 | body, p, td, li, div { 48 | font-size: 20pt!important; 49 | font-family: Georgia, "Times New Roman", Times, serif !important; 50 | color: #000; 51 | } 52 | 53 | /* SECTION 4: Set heading font face, sizes, and color. 54 | Differentiate your headings from your body text. 55 | Perhaps use a large sans-serif for distinction. */ 56 | h1,h2,h3,h4,h5,h6 { 57 | color: #000!important; 58 | height: auto; 59 | line-height: normal; 60 | font-family: Georgia, "Times New Roman", Times, serif !important; 61 | text-shadow: 0 0 0 #000 !important; 62 | text-align: left; 63 | letter-spacing: normal; 64 | } 65 | /* Need to reduce the size of the fonts for printing */ 66 | h1 { font-size: 28pt !important; } 67 | h2 { font-size: 24pt !important; } 68 | h3 { font-size: 22pt !important; } 69 | h4 { font-size: 22pt !important; font-variant: small-caps; } 70 | h5 { font-size: 21pt !important; } 71 | h6 { font-size: 20pt !important; font-style: italic; } 72 | 73 | /* SECTION 5: Make hyperlinks more usable. 74 | Ensure links are underlined, and consider appending 75 | the URL to the end of the link for usability. */ 76 | a:link, 77 | a:visited { 78 | color: #000 !important; 79 | font-weight: bold; 80 | text-decoration: underline; 81 | } 82 | /* 83 | .reveal a:link:after, 84 | .reveal a:visited:after { 85 | content: " (" attr(href) ") "; 86 | color: #222 !important; 87 | font-size: 90%; 88 | } 89 | */ 90 | 91 | 92 | /* SECTION 6: more reveal.js specific additions by @skypanther */ 93 | ul, ol, div, p { 94 | visibility: visible; 95 | position: static; 96 | width: auto; 97 | height: auto; 98 | display: block; 99 | overflow: visible; 100 | margin: 0; 101 | text-align: left !important; 102 | } 103 | .reveal pre, 104 | .reveal table { 105 | margin-left: 0; 106 | margin-right: 0; 107 | } 108 | .reveal pre code { 109 | padding: 20px; 110 | border: 1px solid #ddd; 111 | } 112 | .reveal blockquote { 113 | margin: 20px 0; 114 | } 115 | .reveal .slides { 116 | position: static !important; 117 | width: auto !important; 118 | height: auto !important; 119 | 120 | left: 0 !important; 121 | top: 0 !important; 122 | margin-left: 0 !important; 123 | margin-top: 0 !important; 124 | padding: 0 !important; 125 | zoom: 1 !important; 126 | 127 | overflow: visible !important; 128 | display: block !important; 129 | 130 | text-align: left !important; 131 | -webkit-perspective: none; 132 | -moz-perspective: none; 133 | -ms-perspective: none; 134 | perspective: none; 135 | 136 | -webkit-perspective-origin: 50% 50%; 137 | -moz-perspective-origin: 50% 50%; 138 | -ms-perspective-origin: 50% 50%; 139 | perspective-origin: 50% 50%; 140 | } 141 | .reveal .slides section { 142 | visibility: visible !important; 143 | position: static !important; 144 | width: auto !important; 145 | height: auto !important; 146 | display: block !important; 147 | overflow: visible !important; 148 | 149 | left: 0 !important; 150 | top: 0 !important; 151 | margin-left: 0 !important; 152 | margin-top: 0 !important; 153 | padding: 60px 20px !important; 154 | z-index: auto !important; 155 | 156 | opacity: 1 !important; 157 | 158 | page-break-after: always !important; 159 | 160 | -webkit-transform-style: flat !important; 161 | -moz-transform-style: flat !important; 162 | -ms-transform-style: flat !important; 163 | transform-style: flat !important; 164 | 165 | -webkit-transform: none !important; 166 | -moz-transform: none !important; 167 | -ms-transform: none !important; 168 | transform: none !important; 169 | 170 | -webkit-transition: none !important; 171 | -moz-transition: none !important; 172 | -ms-transition: none !important; 173 | transition: none !important; 174 | } 175 | .reveal .slides section.stack { 176 | padding: 0 !important; 177 | } 178 | .reveal section:last-of-type { 179 | page-break-after: avoid !important; 180 | } 181 | .reveal section .fragment { 182 | opacity: 1 !important; 183 | visibility: visible !important; 184 | 185 | -webkit-transform: none !important; 186 | -moz-transform: none !important; 187 | -ms-transform: none !important; 188 | transform: none !important; 189 | } 190 | .reveal section img { 191 | display: block; 192 | margin: 15px 0px; 193 | background: rgba(255,255,255,1); 194 | border: 1px solid #666; 195 | box-shadow: none; 196 | } 197 | 198 | .reveal section small { 199 | font-size: 0.8em; 200 | } 201 | 202 | } -------------------------------------------------------------------------------- /theme/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {%- block site_meta %} 6 | 7 | 8 | 9 | {% if page and page.is_homepage %}{% endif %} 10 | {% if config.site_author %}{% endif %} 11 | {% if page and page.canonical_url %}{% endif %} 12 | {% if config.site_favicon %} 13 | {% else %}{% endif %} 14 | {%- endblock %} 15 | 16 | {%- block htmltitle %} 17 |