jekyll-docs-theme 0.1.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/LICENSE.md +20 -16
 - data/README.md +11 -34
 - data/_includes/fa-icon.html +13 -0
 - data/_includes/footer/content-post.html +4 -0
 - data/_includes/footer/content-pre.html +4 -0
 - data/_includes/footer/content.html +137 -0
 - data/_includes/footer/full.html +13 -0
 - data/_includes/footer/scripts-post.html +4 -0
 - data/_includes/footer/scripts-pre.html +4 -0
 - data/_includes/footer/scripts.html +48 -0
 - data/_includes/head/base.html +3 -0
 - data/_includes/head/content-post.html +0 -0
 - data/_includes/head/content-pre.html +0 -0
 - data/_includes/head/content.html +8 -0
 - data/_includes/head/full.html +9 -0
 - data/_includes/head/stylesheets-post.html +0 -0
 - data/_includes/head/stylesheets-pre.html +0 -0
 - data/_includes/head/stylesheets.html +16 -0
 - data/_includes/internal/variables.html +21 -0
 - data/_includes/jekyll-docs-theme/anchor_headings.html +34 -0
 - data/_includes/jekyll-docs-theme/toc.html +38 -0
 - data/_includes/jekyll-docs-theme/vendor/anchor_headings.html +110 -0
 - data/_includes/jekyll-docs-theme/vendor/toc.html +112 -0
 - data/_includes/masthead.html +13 -0
 - data/_includes/masthead/button.html +11 -0
 - data/_includes/masthead/buttons.html +30 -0
 - data/_includes/masthead/title.html +7 -0
 - data/_includes/navigation.html +50 -20
 - data/_includes/sidebar/content-post.html +0 -0
 - data/_includes/sidebar/content-pre.html +0 -0
 - data/_includes/sidebar/content.html +10 -0
 - data/_layouts/default.html +10 -4
 - data/_layouts/full.html +5 -3
 - data/_layouts/page.html +31 -11
 - data/_sass/abstracts/_highlight-dark.scss +136 -0
 - data/_sass/abstracts/_highlight-light.scss +251 -0
 - data/_sass/abstracts/_themer.scss +18 -0
 - data/_sass/abstracts/_variables.scss +6 -0
 - data/_sass/base/_anchor.scss +20 -0
 - data/_sass/base/_blockquote.scss +19 -0
 - data/_sass/base/_body.scss +12 -0
 - data/_sass/base/_horizontal-rule.scss +9 -0
 - data/_sass/base/_scope-markdown.scss +108 -0
 - data/_sass/components/_alert.scss +5 -0
 - data/_sass/components/_footer.scss +39 -0
 - data/_sass/components/_header.scss +22 -0
 - data/_sass/components/_highlight.scss +59 -0
 - data/_sass/components/_masthead.scss +62 -0
 - data/_sass/components/_mobile-toc.scss +30 -0
 - data/_sass/components/_sidebar.scss +86 -0
 - data/_sass/utilities/_colors.scss +301 -0
 - data/_sass/utilities/_js.scss +3 -0
 - data/assets/css/styles.scss +40 -50
 - data/assets/js/docs.js +49 -0
 - metadata +54 -26
 - data/_includes/footer.html +0 -91
 - data/_includes/head.html +0 -26
 - data/_includes/jumbotron.html +0 -21
 - data/assets/css/docs.css +0 -1527
 - data/assets/js/docs.min.js +0 -49
 
    
        data/assets/js/docs.min.js
    DELETED
    
    | 
         @@ -1,49 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            $(function(){
         
     | 
| 
       2 
     | 
    
         
            -
                $('html').toggleClass('no-js js');
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
                // build side menu
         
     | 
| 
       5 
     | 
    
         
            -
                var html = '';
         
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
                $('.bs-docs-section h1').each(function () {
         
     | 
| 
       8 
     | 
    
         
            -
                    var mainheader = $this = $(this);
         
     | 
| 
       9 
     | 
    
         
            -
                    var subheaders = $this.nextUntil('h1', 'h2, h3');
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                    if (mainheader.length) {
         
     | 
| 
       12 
     | 
    
         
            -
                        html += '<li><a href="#' + mainheader[0].id +'">' + mainheader.clone().children().remove().end().text() + '</a>';
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                        if (subheaders.length) {
         
     | 
| 
       15 
     | 
    
         
            -
                            html+= '<ul class="nav">';
         
     | 
| 
       16 
     | 
    
         
            -
                            subheaders.each(function() {
         
     | 
| 
       17 
     | 
    
         
            -
                              html +=  '<li><a href="#' + this.id +'">' + $(this).clone().children().remove().end().text() + '</a></li>';
         
     | 
| 
       18 
     | 
    
         
            -
                            });
         
     | 
| 
       19 
     | 
    
         
            -
                            html+= '</ul>';
         
     | 
| 
       20 
     | 
    
         
            -
                        }
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                        html += '</li>';
         
     | 
| 
       23 
     | 
    
         
            -
                    }
         
     | 
| 
       24 
     | 
    
         
            -
                });
         
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
                if (html != '') {
         
     | 
| 
       27 
     | 
    
         
            -
                    $('.bs-docs-sidenav').html(html);
         
     | 
| 
       28 
     | 
    
         
            -
                    $('[role=complementary]').show();
         
     | 
| 
       29 
     | 
    
         
            -
                    $('[role=main]').toggleClass('col-md-12 col-md-9');
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                    $('[role=complementary]').Stickyfill();
         
     | 
| 
       32 
     | 
    
         
            -
                }
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
                $('body').scrollspy({
         
     | 
| 
       35 
     | 
    
         
            -
                    target: ".bs-docs-sidebar"
         
     | 
| 
       36 
     | 
    
         
            -
                });
         
     | 
| 
       37 
     | 
    
         
            -
            });
         
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
            function trianglify(color1, color2) {
         
     | 
| 
       40 
     | 
    
         
            -
                var header = $('#jumbotron-header'),
         
     | 
| 
       41 
     | 
    
         
            -
                    t = new Trianglify({
         
     | 
| 
       42 
     | 
    
         
            -
                        cellsize: 90,
         
     | 
| 
       43 
     | 
    
         
            -
                        noiseIntensity: 0,
         
     | 
| 
       44 
     | 
    
         
            -
                        x_gradient: [color1, color2]
         
     | 
| 
       45 
     | 
    
         
            -
                    }),
         
     | 
| 
       46 
     | 
    
         
            -
                    pattern = t.generate(window.screen.width | header.outerWidth(), header.outerHeight()*1.2);
         
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
                header.css('background-image', pattern.dataUrl);
         
     | 
| 
       49 
     | 
    
         
            -
            }
         
     |