jekyll 0.11.0 → 0.11.2
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.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- data/History.txt +9 -0
- data/Rakefile +7 -2
- data/jekyll.gemspec +17 -26
- data/lib/jekyll.rb +1 -1
- data/lib/jekyll/tags/highlight.rb +3 -5
- metadata +98 -92
- data/doc/output/book.html +0 -574
- data/doc/output/ch00-preface.asc +0 -41
- data/doc/output/ch01-quick-start.asc +0 -153
- data/doc/output/ch02-directory-layout.asc +0 -90
- data/doc/output/stylesheets/handbookish-quirks.css +0 -0
- data/doc/output/stylesheets/handbookish.css +0 -231
- data/doc/output/stylesheets/scribe-quirks.css +0 -0
- data/doc/output/stylesheets/scribe.css +0 -177
- data/g.pl +0 -48
- data/output/stylesheets/scribe-quirks.css +0 -0
- data/output/stylesheets/scribe.css +0 -177
| 
            File without changes
         | 
| @@ -1,177 +0,0 @@ | |
| 1 | 
            -
            /* ---------------------------------------------------------------------------
         | 
| 2 | 
            -
               Bare AsciiDoc styles
         | 
| 3 | 
            -
               Ryan Tomayko <r@tomayko.com>
         | 
| 4 | 
            -
            --------------------------------------------------------------------------- */
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            body {
         | 
| 7 | 
            -
            	font-family:verdana,helvetica,arial,sans-serif;
         | 
| 8 | 
            -
            	font-size:81.25%;   /* 13px */
         | 
| 9 | 
            -
            	line-height:1.538;  /* 20px */
         | 
| 10 | 
            -
            	margin:40px auto 50px auto;
         | 
| 11 | 
            -
            	max-width:53.8461538462em; /* 790px */
         | 
| 12 | 
            -
            	color:#333;
         | 
| 13 | 
            -
            }
         | 
| 14 | 
            -
             | 
| 15 | 
            -
            em {
         | 
| 16 | 
            -
            	font-style:italic;
         | 
| 17 | 
            -
            }
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            strong {
         | 
| 20 | 
            -
            	font-weight:bold;
         | 
| 21 | 
            -
            	color:#000;
         | 
| 22 | 
            -
            }
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            tt {
         | 
| 25 | 
            -
            	font-family:consolas, 'lucida console', 'bitstream vera sans mono',
         | 
| 26 | 
            -
            	           'courier new', monospace;
         | 
| 27 | 
            -
            	color:#000;
         | 
| 28 | 
            -
            }
         | 
| 29 | 
            -
             | 
| 30 | 
            -
            p, ul, ol, dl {
         | 
| 31 | 
            -
            	margin:10px 0
         | 
| 32 | 
            -
            }
         | 
| 33 | 
            -
             | 
| 34 | 
            -
            dl {
         | 
| 35 | 
            -
            	margin-left:40px
         | 
| 36 | 
            -
            }
         | 
| 37 | 
            -
             | 
| 38 | 
            -
            dt {
         | 
| 39 | 
            -
            	font-weight:normal;
         | 
| 40 | 
            -
            	color:#000;
         | 
| 41 | 
            -
            }
         | 
| 42 | 
            -
             | 
| 43 | 
            -
            h1, h2, h3, h4, h5 {
         | 
| 44 | 
            -
            	font-family:'lucida grande',georgia,verdana,helvetica,arial,sans-serif;
         | 
| 45 | 
            -
            	font-weight:normal;
         | 
| 46 | 
            -
            	color:#000;
         | 
| 47 | 
            -
            }
         | 
| 48 | 
            -
             | 
| 49 | 
            -
            h1 {
         | 
| 50 | 
            -
            	font-size:40px;
         | 
| 51 | 
            -
            	line-height:1.428;
         | 
| 52 | 
            -
            	margin:20px 0;
         | 
| 53 | 
            -
            }
         | 
| 54 | 
            -
             | 
| 55 | 
            -
            h2 {
         | 
| 56 | 
            -
            	font-size:30px;
         | 
| 57 | 
            -
            	line-height:1.36363636; /* repeating, of course */
         | 
| 58 | 
            -
            	margin:60px 0 20px 0;
         | 
| 59 | 
            -
            }
         | 
| 60 | 
            -
             | 
| 61 | 
            -
            h2 + .sectionbody {}
         | 
| 62 | 
            -
             | 
| 63 | 
            -
            h3 {
         | 
| 64 | 
            -
            	font-size:24px;
         | 
| 65 | 
            -
            	line-height:1.1;
         | 
| 66 | 
            -
            	margin:30px 0 10px 0;
         | 
| 67 | 
            -
            }
         | 
| 68 | 
            -
             | 
| 69 | 
            -
            h4 {
         | 
| 70 | 
            -
            	font-size:18px;
         | 
| 71 | 
            -
            	line-height:1.1;
         | 
| 72 | 
            -
            	margin:20px 0 5px 0;
         | 
| 73 | 
            -
            }
         | 
| 74 | 
            -
             | 
| 75 | 
            -
            h5 {
         | 
| 76 | 
            -
            	font-size:13px;
         | 
| 77 | 
            -
            	font-style:italic;
         | 
| 78 | 
            -
            	line-height:1.1;
         | 
| 79 | 
            -
            }
         | 
| 80 | 
            -
             | 
| 81 | 
            -
            #header { 
         | 
| 82 | 
            -
            	text-align:center;
         | 
| 83 | 
            -
            	margin-bottom:30px;
         | 
| 84 | 
            -
            }
         | 
| 85 | 
            -
             | 
| 86 | 
            -
            #header h1 { margin-bottom:0 }
         | 
| 87 | 
            -
             | 
| 88 | 
            -
            .title, .sidebar-title {
         | 
| 89 | 
            -
            	font-weight:normal;
         | 
| 90 | 
            -
            	color:#000;
         | 
| 91 | 
            -
            	margin-bottom:0;
         | 
| 92 | 
            -
            }
         | 
| 93 | 
            -
             | 
| 94 | 
            -
            .admonitionblock .title {
         | 
| 95 | 
            -
            	font-weight:bold;
         | 
| 96 | 
            -
            }
         | 
| 97 | 
            -
             | 
| 98 | 
            -
            .admonitionblock {
         | 
| 99 | 
            -
            	margin:30px 0px;
         | 
| 100 | 
            -
            	color:#555;
         | 
| 101 | 
            -
            }
         | 
| 102 | 
            -
             | 
| 103 | 
            -
            .admonitionblock td.icon {
         | 
| 104 | 
            -
            	width:30px;
         | 
| 105 | 
            -
            	padding-right:20px;
         | 
| 106 | 
            -
            	padding-left:20px;
         | 
| 107 | 
            -
            	text-transform:uppercase;
         | 
| 108 | 
            -
            	font-weight:bold;
         | 
| 109 | 
            -
            	color:#888;
         | 
| 110 | 
            -
            }
         | 
| 111 | 
            -
             | 
| 112 | 
            -
            .listingblock {
         | 
| 113 | 
            -
              margin: 13px 0;
         | 
| 114 | 
            -
            }
         | 
| 115 | 
            -
             | 
| 116 | 
            -
            .listingblock .content {
         | 
| 117 | 
            -
            	border:1px solid silver;
         | 
| 118 | 
            -
            	background:#eee;
         | 
| 119 | 
            -
            	padding:5px;
         | 
| 120 | 
            -
            }
         | 
| 121 | 
            -
             | 
| 122 | 
            -
            .listingblock .content pre {
         | 
| 123 | 
            -
            	margin:0;
         | 
| 124 | 
            -
            }
         | 
| 125 | 
            -
             | 
| 126 | 
            -
            .literalblock .content {
         | 
| 127 | 
            -
            	margin-left:40px;
         | 
| 128 | 
            -
            }
         | 
| 129 | 
            -
             | 
| 130 | 
            -
            .verseblock .content {
         | 
| 131 | 
            -
            	white-space:pre
         | 
| 132 | 
            -
            }
         | 
| 133 | 
            -
             | 
| 134 | 
            -
            .sidebarblock .sidebar-content {
         | 
| 135 | 
            -
            	border:1px solid silver;
         | 
| 136 | 
            -
            	background:#FFFFEE;
         | 
| 137 | 
            -
            	padding:0 10px;
         | 
| 138 | 
            -
            	color:#222;
         | 
| 139 | 
            -
            	font-size:smaller;
         | 
| 140 | 
            -
            	line-height:1.5;
         | 
| 141 | 
            -
            }
         | 
| 142 | 
            -
             | 
| 143 | 
            -
            .sidebar-title {
         | 
| 144 | 
            -
            	margin:10px 0;
         | 
| 145 | 
            -
            	font-weight:bold;
         | 
| 146 | 
            -
            	color:#442;
         | 
| 147 | 
            -
            }
         | 
| 148 | 
            -
             | 
| 149 | 
            -
            .quoteblock-content {
         | 
| 150 | 
            -
            	font-style:italic;
         | 
| 151 | 
            -
            	color:#444;
         | 
| 152 | 
            -
            	margin-left:40px;
         | 
| 153 | 
            -
            }
         | 
| 154 | 
            -
             | 
| 155 | 
            -
            .quoteblock-content .attribution {
         | 
| 156 | 
            -
            	font-style:normal;
         | 
| 157 | 
            -
            	text-align:right;
         | 
| 158 | 
            -
            	color:#000;
         | 
| 159 | 
            -
            }
         | 
| 160 | 
            -
             | 
| 161 | 
            -
            .exampleblock-content *:first-child { margin-top:0 }
         | 
| 162 | 
            -
            .exampleblock-content {
         | 
| 163 | 
            -
            	border-left:2px solid silver;
         | 
| 164 | 
            -
            	padding-left:8px;
         | 
| 165 | 
            -
            }
         | 
| 166 | 
            -
             | 
| 167 | 
            -
            #footer {
         | 
| 168 | 
            -
            	font-size:11px;
         | 
| 169 | 
            -
            	margin-top:40px;
         | 
| 170 | 
            -
            	border-top:1px solid silver;
         | 
| 171 | 
            -
            	color:#555;
         | 
| 172 | 
            -
            }
         | 
| 173 | 
            -
             | 
| 174 | 
            -
            #author {
         | 
| 175 | 
            -
            	color:#000;
         | 
| 176 | 
            -
            	text-transform:uppercase
         | 
| 177 | 
            -
            }
         | 
    
        data/g.pl
    DELETED
    
    | @@ -1,48 +0,0 @@ | |
| 1 | 
            -
            #!/usr/bin/perl
         | 
| 2 | 
            -
            #fetch Gravatars
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            use strict;
         | 
| 5 | 
            -
            use warnings;
         | 
| 6 | 
            -
             | 
| 7 | 
            -
            use LWP::Simple;
         | 
| 8 | 
            -
            use Digest::MD5 qw(md5_hex);
         | 
| 9 | 
            -
             | 
| 10 | 
            -
            my $size       = 90;
         | 
| 11 | 
            -
            my $output_dir = '.git/avatar';
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            die("no .git/ directory found in current path\n") unless -d '.git';
         | 
| 14 | 
            -
             | 
| 15 | 
            -
            mkdir($output_dir) unless -d $output_dir;
         | 
| 16 | 
            -
             | 
| 17 | 
            -
            open(GITLOG, q/git log --pretty=format:"%ae|%an" |/) or die("failed to read git-log: $!\n");
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            my %processed_authors;
         | 
| 20 | 
            -
             | 
| 21 | 
            -
            while(<GITLOG>) {
         | 
| 22 | 
            -
                chomp;
         | 
| 23 | 
            -
                my($email, $author) = split(/\|/, $_);
         | 
| 24 | 
            -
             | 
| 25 | 
            -
                next if $processed_authors{$author}++;
         | 
| 26 | 
            -
             | 
| 27 | 
            -
                my $author_image_file = $output_dir . '/' . $author . '.png';
         | 
| 28 | 
            -
             | 
| 29 | 
            -
                #skip images we have
         | 
| 30 | 
            -
                next if -e $author_image_file;
         | 
| 31 | 
            -
             | 
| 32 | 
            -
                #try and fetch image
         | 
| 33 | 
            -
             | 
| 34 | 
            -
                my $grav_url = "http://www.gravatar.com/avatar/".md5_hex(lc $email)."?d=404&size=".$size; 
         | 
| 35 | 
            -
             | 
| 36 | 
            -
                warn "fetching image for '$author' $email ($grav_url)...\n";
         | 
| 37 | 
            -
             | 
| 38 | 
            -
                my $rc = getstore($grav_url, $author_image_file);
         | 
| 39 | 
            -
             | 
| 40 | 
            -
                sleep(1);
         | 
| 41 | 
            -
             | 
| 42 | 
            -
                if($rc != 200) {
         | 
| 43 | 
            -
                    unlink($author_image_file);
         | 
| 44 | 
            -
                    next;
         | 
| 45 | 
            -
                }
         | 
| 46 | 
            -
            }
         | 
| 47 | 
            -
             | 
| 48 | 
            -
            close GITLOG;
         | 
| 
            File without changes
         | 
| @@ -1,177 +0,0 @@ | |
| 1 | 
            -
            /* ---------------------------------------------------------------------------
         | 
| 2 | 
            -
               Bare AsciiDoc styles
         | 
| 3 | 
            -
               Ryan Tomayko <r@tomayko.com>
         | 
| 4 | 
            -
            --------------------------------------------------------------------------- */
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            body {
         | 
| 7 | 
            -
            	font-family:verdana,helvetica,arial,sans-serif;
         | 
| 8 | 
            -
            	font-size:81.25%;   /* 13px */
         | 
| 9 | 
            -
            	line-height:1.538;  /* 20px */
         | 
| 10 | 
            -
            	margin:40px auto 50px auto;
         | 
| 11 | 
            -
            	max-width:53.8461538462em; /* 790px */
         | 
| 12 | 
            -
            	color:#333;
         | 
| 13 | 
            -
            }
         | 
| 14 | 
            -
             | 
| 15 | 
            -
            em {
         | 
| 16 | 
            -
            	font-style:italic;
         | 
| 17 | 
            -
            }
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            strong {
         | 
| 20 | 
            -
            	font-weight:bold;
         | 
| 21 | 
            -
            	color:#000;
         | 
| 22 | 
            -
            }
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            tt {
         | 
| 25 | 
            -
            	font-family:consolas, 'lucida console', 'bitstream vera sans mono',
         | 
| 26 | 
            -
            	           'courier new', monospace;
         | 
| 27 | 
            -
            	color:#000;
         | 
| 28 | 
            -
            }
         | 
| 29 | 
            -
             | 
| 30 | 
            -
            p, ul, ol, dl {
         | 
| 31 | 
            -
            	margin:10px 0
         | 
| 32 | 
            -
            }
         | 
| 33 | 
            -
             | 
| 34 | 
            -
            dl {
         | 
| 35 | 
            -
            	margin-left:40px
         | 
| 36 | 
            -
            }
         | 
| 37 | 
            -
             | 
| 38 | 
            -
            dt {
         | 
| 39 | 
            -
            	font-weight:normal;
         | 
| 40 | 
            -
            	color:#000;
         | 
| 41 | 
            -
            }
         | 
| 42 | 
            -
             | 
| 43 | 
            -
            h1, h2, h3, h4, h5 {
         | 
| 44 | 
            -
            	font-family:'lucida grande',georgia,verdana,helvetica,arial,sans-serif;
         | 
| 45 | 
            -
            	font-weight:normal;
         | 
| 46 | 
            -
            	color:#000;
         | 
| 47 | 
            -
            }
         | 
| 48 | 
            -
             | 
| 49 | 
            -
            h1 {
         | 
| 50 | 
            -
            	font-size:40px;
         | 
| 51 | 
            -
            	line-height:1.428;
         | 
| 52 | 
            -
            	margin:20px 0;
         | 
| 53 | 
            -
            }
         | 
| 54 | 
            -
             | 
| 55 | 
            -
            h2 {
         | 
| 56 | 
            -
            	font-size:30px;
         | 
| 57 | 
            -
            	line-height:1.36363636; /* repeating, of course */
         | 
| 58 | 
            -
            	margin:60px 0 20px 0;
         | 
| 59 | 
            -
            }
         | 
| 60 | 
            -
             | 
| 61 | 
            -
            h2 + .sectionbody {}
         | 
| 62 | 
            -
             | 
| 63 | 
            -
            h3 {
         | 
| 64 | 
            -
            	font-size:24px;
         | 
| 65 | 
            -
            	line-height:1.1;
         | 
| 66 | 
            -
            	margin:30px 0 10px 0;
         | 
| 67 | 
            -
            }
         | 
| 68 | 
            -
             | 
| 69 | 
            -
            h4 {
         | 
| 70 | 
            -
            	font-size:18px;
         | 
| 71 | 
            -
            	line-height:1.1;
         | 
| 72 | 
            -
            	margin:20px 0 5px 0;
         | 
| 73 | 
            -
            }
         | 
| 74 | 
            -
             | 
| 75 | 
            -
            h5 {
         | 
| 76 | 
            -
            	font-size:13px;
         | 
| 77 | 
            -
            	font-style:italic;
         | 
| 78 | 
            -
            	line-height:1.1;
         | 
| 79 | 
            -
            }
         | 
| 80 | 
            -
             | 
| 81 | 
            -
            #header { 
         | 
| 82 | 
            -
            	text-align:center;
         | 
| 83 | 
            -
            	margin-bottom:30px;
         | 
| 84 | 
            -
            }
         | 
| 85 | 
            -
             | 
| 86 | 
            -
            #header h1 { margin-bottom:0 }
         | 
| 87 | 
            -
             | 
| 88 | 
            -
            .title, .sidebar-title {
         | 
| 89 | 
            -
            	font-weight:normal;
         | 
| 90 | 
            -
            	color:#000;
         | 
| 91 | 
            -
            	margin-bottom:0;
         | 
| 92 | 
            -
            }
         | 
| 93 | 
            -
             | 
| 94 | 
            -
            .admonitionblock .title {
         | 
| 95 | 
            -
            	font-weight:bold;
         | 
| 96 | 
            -
            }
         | 
| 97 | 
            -
             | 
| 98 | 
            -
            .admonitionblock {
         | 
| 99 | 
            -
            	margin:30px 0px;
         | 
| 100 | 
            -
            	color:#555;
         | 
| 101 | 
            -
            }
         | 
| 102 | 
            -
             | 
| 103 | 
            -
            .admonitionblock td.icon {
         | 
| 104 | 
            -
            	width:30px;
         | 
| 105 | 
            -
            	padding-right:20px;
         | 
| 106 | 
            -
            	padding-left:20px;
         | 
| 107 | 
            -
            	text-transform:uppercase;
         | 
| 108 | 
            -
            	font-weight:bold;
         | 
| 109 | 
            -
            	color:#888;
         | 
| 110 | 
            -
            }
         | 
| 111 | 
            -
             | 
| 112 | 
            -
            .listingblock {
         | 
| 113 | 
            -
              margin: 13px 0;
         | 
| 114 | 
            -
            }
         | 
| 115 | 
            -
             | 
| 116 | 
            -
            .listingblock .content {
         | 
| 117 | 
            -
            	border:1px solid silver;
         | 
| 118 | 
            -
            	background:#eee;
         | 
| 119 | 
            -
            	padding:5px;
         | 
| 120 | 
            -
            }
         | 
| 121 | 
            -
             | 
| 122 | 
            -
            .listingblock .content pre {
         | 
| 123 | 
            -
            	margin:0;
         | 
| 124 | 
            -
            }
         | 
| 125 | 
            -
             | 
| 126 | 
            -
            .literalblock .content {
         | 
| 127 | 
            -
            	margin-left:40px;
         | 
| 128 | 
            -
            }
         | 
| 129 | 
            -
             | 
| 130 | 
            -
            .verseblock .content {
         | 
| 131 | 
            -
            	white-space:pre
         | 
| 132 | 
            -
            }
         | 
| 133 | 
            -
             | 
| 134 | 
            -
            .sidebarblock .sidebar-content {
         | 
| 135 | 
            -
            	border:1px solid silver;
         | 
| 136 | 
            -
            	background:#FFFFEE;
         | 
| 137 | 
            -
            	padding:0 10px;
         | 
| 138 | 
            -
            	color:#222;
         | 
| 139 | 
            -
            	font-size:smaller;
         | 
| 140 | 
            -
            	line-height:1.5;
         | 
| 141 | 
            -
            }
         | 
| 142 | 
            -
             | 
| 143 | 
            -
            .sidebar-title {
         | 
| 144 | 
            -
            	margin:10px 0;
         | 
| 145 | 
            -
            	font-weight:bold;
         | 
| 146 | 
            -
            	color:#442;
         | 
| 147 | 
            -
            }
         | 
| 148 | 
            -
             | 
| 149 | 
            -
            .quoteblock-content {
         | 
| 150 | 
            -
            	font-style:italic;
         | 
| 151 | 
            -
            	color:#444;
         | 
| 152 | 
            -
            	margin-left:40px;
         | 
| 153 | 
            -
            }
         | 
| 154 | 
            -
             | 
| 155 | 
            -
            .quoteblock-content .attribution {
         | 
| 156 | 
            -
            	font-style:normal;
         | 
| 157 | 
            -
            	text-align:right;
         | 
| 158 | 
            -
            	color:#000;
         | 
| 159 | 
            -
            }
         | 
| 160 | 
            -
             | 
| 161 | 
            -
            .exampleblock-content *:first-child { margin-top:0 }
         | 
| 162 | 
            -
            .exampleblock-content {
         | 
| 163 | 
            -
            	border-left:2px solid silver;
         | 
| 164 | 
            -
            	padding-left:8px;
         | 
| 165 | 
            -
            }
         | 
| 166 | 
            -
             | 
| 167 | 
            -
            #footer {
         | 
| 168 | 
            -
            	font-size:11px;
         | 
| 169 | 
            -
            	margin-top:40px;
         | 
| 170 | 
            -
            	border-top:1px solid silver;
         | 
| 171 | 
            -
            	color:#555;
         | 
| 172 | 
            -
            }
         | 
| 173 | 
            -
             | 
| 174 | 
            -
            #author {
         | 
| 175 | 
            -
            	color:#000;
         | 
| 176 | 
            -
            	text-transform:uppercase
         | 
| 177 | 
            -
            }
         |