jekyll-theme-docgen 1.0.1 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 510d5d3e43a184f39b6b5999c795486158b34d95742e9a8b535cf06d1c1ee9c9
4
- data.tar.gz: 9b8f13777a0eec7421074663ff2615c31e66e6849208e4d75c2ad98bba06f596
3
+ metadata.gz: c396814b871b6a6aee599ee67be3736b611f8c7bd968a768bd78e077b916dc88
4
+ data.tar.gz: add74d9c04bdd0aeb77e192b5eb392482b30c2ac862462ed26f2d9d1e254b3f3
5
5
  SHA512:
6
- metadata.gz: b0aa0b205e8828ed237c487714259bbc906fb170659895583f0f808e626b877d98c2db206c456f2c4b11fff9b010a1c2c75a52fb6ac1e8516949edb3a225c2dd
7
- data.tar.gz: c98a03a084035caa11a8d14c555eb0ed39272fe66810fb21db72d328c42a5de0c41dab736c581c993419ef2cc98d6092121900f881b83d035521b2d2d0263d06
6
+ metadata.gz: 79a2d4625fe44d8f667a634d5025bffd4d7347100bfe1c97bc242eb28efb0ea322d6cbac8d3011d6eb42c9f193800d76cfbf30633d75807bf66b02c61ef271fb
7
+ data.tar.gz: 43c78c95f631cf3fe5da153abb6aec3a8c416dcd863c6462999eac90c620a6fad78fec2b186ed1647d501ebed227220b427cd6331ad60a1eda853e5abfc2c416
data/_includes/head.html CHANGED
@@ -2,5 +2,12 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
5
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
6
+ {% if include.style %}
7
+ {% assign href ='/assets/css/' | append: include.style | append: '-style.css' | relative_url %}
8
+ {% else %}
9
+ {% assign href ='/assets/css/default-style.css' | relative_url %}
10
+ {% endif %}
11
+ <link rel="stylesheet" href="{{ href }}">
6
12
  </head>
13
+
@@ -1,14 +1,13 @@
1
1
  <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
3
 
4
- {%- include head.html -%}
4
+ {% assign page-style = page.layout | downcase %}
5
+ {% include head.html style=page-style %}
5
6
 
6
7
  <body>
7
8
 
8
9
  <main class="page-content" aria-label="Content">
9
- <div class="wrapper">
10
10
  {{ content }}
11
- </div>
12
11
  </main>
13
12
 
14
13
  </body>
@@ -0,0 +1,25 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html lang="{{ site.lang | default: 'en' }}">
5
+
6
+ {% include head.html %}
7
+
8
+ <body>
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <h1>Pages</h1>
12
+ {% assign sorted-pages = site.pages | sort: "path" %}
13
+ {% for page in sorted-pages %}
14
+ {% assign file-name = page.path | split: '/' | last %}
15
+ {% unless file-name contains 'scss' %}
16
+ <a href="{{ page.url }}">{{ page.path }}</a><br/>
17
+ {% endunless %}
18
+ {% endfor %}
19
+ <br class="clearfix" />
20
+ {{ content }}
21
+ </main>
22
+
23
+ </body>
24
+
25
+ </html>
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
data/_layouts/mla.html ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
@@ -1,16 +1,3 @@
1
- /**
2
- * Reset some basic elements
3
- */
4
- body, h1, h2, h3, h4, h5, h6,
5
- p, blockquote, pre, hr,
6
- dl, dd, ol, ul, figure {
7
- margin: 0;
8
- padding: 0;
9
-
10
- }
11
-
12
-
13
-
14
1
  /**
15
2
  * Basic styling
16
3
  */
@@ -24,72 +11,43 @@ body {
24
11
  -o-font-feature-settings: "kern" 1;
25
12
  font-feature-settings: "kern" 1;
26
13
  font-kerning: normal;
27
- display: flex;
28
14
  min-height: 100vh;
29
- flex-direction: column;
30
15
  }
31
16
 
32
-
33
-
34
17
  /**
35
18
  * Set `margin-bottom` to maintain vertical rhythm
36
19
  */
37
20
  h1, h2, h3, h4, h5, h6,
38
21
  p, blockquote, pre,
39
- ul, ol, dl, figure,
22
+ ul, ol, li > ul, li > ol,
23
+ dl, figure, table,
40
24
  %vertical-rhythm {
41
25
  margin-bottom: $spacing-unit / 2;
42
26
  }
43
27
 
44
-
45
-
46
- /**
47
- * `main` element
48
- */
49
- main {
50
- display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
51
- }
52
-
53
-
54
-
55
- /**
56
- * Images
57
- */
58
- img {
59
- max-width: 100%;
60
- vertical-align: middle;
61
- }
62
-
63
-
64
-
65
- /**
66
- * Figures
67
- */
68
- figure > img {
69
- display: block;
70
- }
71
-
72
28
  figcaption {
73
29
  font-size: $small-font-size;
74
30
  }
75
31
 
76
-
77
-
78
32
  /**
79
33
  * Lists
80
34
  */
81
35
  ul, ol {
82
- margin-left: $spacing-unit;
36
+ margin-left: $spacing-unit / 2;
37
+ padding: 0px;
83
38
  }
84
39
 
85
- li {
86
- > ul,
87
- > ol {
88
- margin-bottom: 0;
40
+ main > {
41
+ ul, ol {
42
+ margin-left: 0px;
89
43
  }
90
44
  }
91
45
 
92
-
46
+ li > {
47
+ ul, ol {
48
+ margin-left: $spacing-unit;
49
+ }
50
+ }
93
51
 
94
52
  /**
95
53
  * Headings
@@ -115,14 +73,6 @@ a {
115
73
  color: $text-color;
116
74
  text-decoration: underline;
117
75
  }
118
-
119
- .social-media-list &:hover {
120
- text-decoration: none;
121
-
122
- .username {
123
- text-decoration: underline;
124
- }
125
- }
126
76
  }
127
77
 
128
78
 
@@ -130,8 +80,8 @@ a {
130
80
  * Blockquotes
131
81
  */
132
82
  blockquote {
133
- color: $grey-color;
134
- border-left: 4px solid $grey-color-light;
83
+ color: $blockquote-color;
84
+ border-left: 4px solid $blockquote-border-color;
135
85
  padding-left: $spacing-unit / 2;
136
86
  @include relative-font-size(1.125);
137
87
  letter-spacing: -1px;
@@ -150,18 +100,18 @@ blockquote {
150
100
  pre,
151
101
  code {
152
102
  @include relative-font-size(0.9375);
153
- border: 1px solid $grey-color-light;
154
- border-radius: 3px;
155
- background-color: #eef;
156
103
  }
157
104
 
158
105
  code {
159
- padding: 1px 5px;
106
+ color: $code-text-color;
160
107
  }
161
108
 
162
109
  pre {
110
+ border: 1px solid $code-block-border-color;
111
+ border-radius: 3px;
163
112
  padding: 8px 12px;
164
113
  overflow-x: auto;
114
+ background-color: $code-block-background-color;
165
115
 
166
116
  > code {
167
117
  border: 0;
@@ -169,88 +119,3 @@ pre {
169
119
  padding-left: 0;
170
120
  }
171
121
  }
172
-
173
-
174
-
175
- /**
176
- * Wrapper
177
- */
178
- .wrapper {
179
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
180
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
181
- margin-right: auto;
182
- margin-left: auto;
183
- padding-right: $spacing-unit / 2;
184
- padding-left: $spacing-unit / 2;
185
- @extend %clearfix;
186
-
187
- @media screen and (min-width: $on-large) {
188
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
189
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
190
- padding-right: $spacing-unit;
191
- padding-left: $spacing-unit;
192
- }
193
- }
194
-
195
-
196
-
197
- /**
198
- * Clearfix
199
- */
200
- %clearfix:after {
201
- content: "";
202
- display: table;
203
- clear: both;
204
- }
205
-
206
-
207
-
208
- /**
209
- * Icons
210
- */
211
-
212
- .orange {
213
- color: $orange-color;
214
- }
215
-
216
- .grey {
217
- color: $grey-color;
218
- }
219
-
220
- .svg-icon {
221
- width: 16px;
222
- height: 16px;
223
- display: inline-block;
224
- fill: currentColor;
225
- padding: 5px 3px 2px 5px;
226
- vertical-align: text-bottom;
227
- }
228
-
229
-
230
- /**
231
- * Tables
232
- */
233
- table {
234
- margin-bottom: $spacing-unit;
235
- width: 100%;
236
- text-align: $table-text-align;
237
- color: lighten($text-color, 18%);
238
- border-collapse: collapse;
239
- border: 1px solid $grey-color-light;
240
- tr {
241
- &:nth-child(even) {
242
- background-color: lighten($grey-color-light, 6%);
243
- }
244
- }
245
- th, td {
246
- padding: ($spacing-unit / 3) ($spacing-unit / 2);
247
- }
248
- th {
249
- background-color: lighten($grey-color-light, 3%);
250
- border: 1px solid darken($grey-color-light, 4%);
251
- border-bottom-color: darken($grey-color-light, 12%);
252
- }
253
- td {
254
- border: 1px solid $grey-color-light;
255
- }
256
- }
@@ -1,298 +1,18 @@
1
- /**
2
- * Site header
3
- */
4
- .site-header {
5
- border-top: 5px solid $grey-color-dark;
6
- border-bottom: 1px solid $grey-color-light;
7
- min-height: $spacing-unit * 1.865;
8
- line-height: $base-line-height * $base-font-size * 2.25;
9
-
10
- // Positioning context for the mobile navigation icon
11
- position: relative;
1
+ @page {
2
+ size: auto; /* auto is the initial value */
3
+ margin: 0mm; /* this affects the margin in the printer settings */
12
4
  }
13
5
 
14
- .site-title {
15
- @include relative-font-size(1.625);
16
- font-weight: 300;
17
- letter-spacing: -1px;
18
- margin-bottom: 0;
19
- float: left;
20
-
21
- @include media-query($on-palm) {
22
- padding-right: 45px;
23
- }
24
-
25
- &,
26
- &:visited {
27
- color: $grey-color-dark;
28
- }
29
- }
30
-
31
- .site-nav {
32
- position: absolute;
33
- top: 9px;
34
- right: $spacing-unit / 2;
35
- background-color: $background-color;
36
- border: 1px solid $grey-color-light;
37
- border-radius: 5px;
38
- text-align: right;
39
-
40
- .nav-trigger {
41
- display: none;
42
- }
43
-
44
- .menu-icon {
45
- float: right;
46
- width: 36px;
47
- height: 26px;
48
- line-height: 0;
49
- padding-top: 10px;
50
- text-align: center;
51
-
52
- > svg path {
53
- fill: $grey-color-dark;
54
- }
55
- }
56
-
57
- label[for="nav-trigger"] {
58
- display: block;
59
- float: right;
60
- width: 36px;
61
- height: 36px;
62
- z-index: 2;
63
- cursor: pointer;
64
- }
65
-
66
- input ~ .trigger {
67
- clear: both;
68
- display: none;
69
- }
70
-
71
- input:checked ~ .trigger {
72
- display: block;
73
- padding-bottom: 5px;
74
- }
75
-
76
- .page-link {
77
- color: $text-color;
78
- line-height: $base-line-height;
79
- display: block;
80
- padding: 5px 10px;
81
-
82
- // Gaps between nav items, but not on the last one
83
- &:not(:last-child) {
84
- margin-right: 0;
85
- }
86
- margin-left: 20px;
87
- }
88
-
89
- @media screen and (min-width: $on-medium) {
90
- position: static;
91
- float: right;
92
- border: none;
93
- background-color: inherit;
94
-
95
- label[for="nav-trigger"] {
96
- display: none;
97
- }
98
-
99
- .menu-icon {
100
- display: none;
101
- }
102
-
103
- input ~ .trigger {
104
- display: block;
105
- }
106
-
107
- .page-link {
108
- display: inline;
109
- padding: 0;
110
-
111
- &:not(:last-child) {
112
- margin-right: 20px;
113
- }
114
- margin-left: auto;
115
- }
116
- }
117
- }
118
-
119
-
120
-
121
- /**
122
- * Site footer
123
- */
124
- .site-footer {
125
- border-top: 1px solid $grey-color-light;
126
- padding: $spacing-unit 0;
127
- }
128
-
129
- .footer-heading {
130
- @include relative-font-size(1.125);
131
- margin-bottom: $spacing-unit / 2;
132
- }
133
-
134
- .contact-list,
135
- .social-media-list {
136
- list-style: none;
137
- margin-left: 0;
138
- }
139
-
140
- .footer-col-wrapper {
141
- @include relative-font-size(0.9375);
142
- color: $grey-color;
143
- margin-left: -$spacing-unit / 2;
144
- @extend %clearfix;
145
- }
146
-
147
- .footer-col {
148
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
149
- width: calc(100% - (#{$spacing-unit} / 2));
150
- margin-bottom: $spacing-unit / 2;
151
- padding-left: $spacing-unit / 2;
152
- }
153
-
154
- .footer-col-1,
155
- .footer-col-2 {
156
- width: -webkit-calc(50% - (#{$spacing-unit} / 2));
157
- width: calc(50% - (#{$spacing-unit} / 2));
158
- }
159
-
160
- .footer-col-3 {
161
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
162
- width: calc(100% - (#{$spacing-unit} / 2));
163
- }
164
-
165
- @media screen and (min-width: $on-large) {
166
- .footer-col-1 {
167
- width: -webkit-calc(35% - (#{$spacing-unit} / 2));
168
- width: calc(35% - (#{$spacing-unit} / 2));
169
- }
170
-
171
- .footer-col-2 {
172
- width: -webkit-calc(20% - (#{$spacing-unit} / 2));
173
- width: calc(20% - (#{$spacing-unit} / 2));
174
- }
175
-
176
- .footer-col-3 {
177
- width: -webkit-calc(45% - (#{$spacing-unit} / 2));
178
- width: calc(45% - (#{$spacing-unit} / 2));
179
- }
180
- }
181
-
182
- @media screen and (min-width: $on-medium) {
183
- .footer-col {
184
- float: left;
185
- }
186
- }
187
-
188
-
189
-
190
6
  /**
191
7
  * Page content
192
8
  */
193
9
  .page-content {
194
- padding: $spacing-unit 0;
195
- flex: 1 0 auto;
196
- }
197
-
198
- .page-heading {
199
- @include relative-font-size(2);
200
- }
201
-
202
- .post-list-heading {
203
- @include relative-font-size(1.75);
204
- }
205
-
206
- .post-list {
207
- margin-left: 0;
208
- list-style: none;
209
-
210
- > li {
211
- margin-bottom: $spacing-unit;
212
- }
213
- }
214
-
215
- .post-meta {
216
- font-size: $small-font-size;
217
- color: $grey-color;
218
- }
219
-
220
- .post-link {
221
- display: block;
222
- @include relative-font-size(1.5);
223
- }
224
-
225
-
226
-
227
- /**
228
- * Posts
229
- */
230
- .post-header {
231
- margin-bottom: $spacing-unit;
232
- }
233
-
234
- .post-title,
235
- .post-content h1 {
236
- @include relative-font-size(2.625);
237
- letter-spacing: -1px;
238
- line-height: 1;
239
-
240
- @media screen and (min-width: $on-large) {
241
- @include relative-font-size(2.625);
242
- }
243
- }
244
-
245
- .post-content {
246
- margin-bottom: $spacing-unit;
247
-
248
- h2 {
249
- @include relative-font-size(1.75);
250
-
251
- @media screen and (min-width: $on-large) {
252
- @include relative-font-size(2);
253
- }
254
- }
255
-
256
- h3 {
257
- @include relative-font-size(1.375);
258
-
259
- @media screen and (min-width: $on-large) {
260
- @include relative-font-size(1.625);
261
- }
262
- }
263
-
264
- h4 {
265
- @include relative-font-size(1.125);
266
-
267
- @media screen and (min-width: $on-large) {
268
- @include relative-font-size(1.25);
269
- }
270
- }
271
- }
272
-
273
-
274
- .social-media-list {
275
- display: table;
276
- margin: 0 auto;
277
- li {
278
- float: left;
279
- margin: 0 5px;
280
- &:first-of-type { margin-left: 0 }
281
- &:last-of-type { margin-right: 0 }
282
- a {
283
- display: block;
284
- padding: $spacing-unit / 4;
285
- border: 1px solid $grey-color-light
286
- }
287
- &:hover .svg-icon { fill: currentColor; }
288
- }
289
- }
290
-
291
-
292
- /**
293
- * Grid helpers
294
- */
295
- .one-half {
296
- width: -webkit-calc(50% - (#{$spacing-unit} / 2));
297
- width: calc(50% - (#{$spacing-unit} / 2));
10
+ // padding: $spacing-unit 0;
11
+ // flex: 1 0 auto;
12
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
13
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
14
+ margin-left: auto;
15
+ margin-right: auto;
16
+ padding-right: $spacing-unit;
17
+ padding-left: $spacing-unit;
298
18
  }
@@ -2,11 +2,11 @@
2
2
  * Syntax highlighting styles
3
3
  */
4
4
  .highlight {
5
- background: #fff;
5
+ background: $syntax-highlighting-background-color;
6
6
  @extend %vertical-rhythm;
7
7
 
8
8
  .highlighter-rouge & {
9
- background: #eef;
9
+ background: $code-block-background-color;
10
10
  }
11
11
 
12
12
  .c { color: #998; font-style: italic } // Comment
@@ -0,0 +1,18 @@
1
+ // Use media queries like this:
2
+ // @include media-query($on-palm) {
3
+ // .wrapper {
4
+ // padding-right: $spacing-unit / 2;
5
+ // padding-left: $spacing-unit / 2;
6
+ // }
7
+ // }
8
+ // Notice the following mixin uses max-width, in a deprecated, desktop-first
9
+ // approach, whereas media queries used elsewhere now use min-width.
10
+ @mixin media-query($device) {
11
+ @media screen and (min-width: $device) {
12
+ @content;
13
+ }
14
+ }
15
+
16
+ @mixin relative-font-size($ratio) {
17
+ font-size: $base-font-size * $ratio;
18
+ }
@@ -0,0 +1,39 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
+ $base-font-size: 16px !default;
7
+ $base-font-weight: 400 !default;
8
+ $small-font-size: $base-font-size * 0.875 !default;
9
+ $base-line-height: 1.5 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $text-color: #111 !default;
14
+ $background-color: #fdfdfd !default;
15
+ $brand-color: #2a7ae2 !default;
16
+
17
+ $grey-color: #828282 !default;
18
+ $grey-color-light: lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: darken($grey-color, 25%) !default;
20
+
21
+ // Define values for theme segments
22
+ $blockquote-color: $grey-color !default;
23
+ $blockquote-border-color: $grey-color-light !default;
24
+
25
+ $table-border-color: $grey-color-light !default;
26
+
27
+ $code-text-color: $text-color !default;
28
+ $code-block-border-color: $grey-color-light !default;
29
+ $code-block-background-color: #eef !default;
30
+ $syntax-highlighting-background-color: #fff !default;
31
+
32
+ // Width of the content area
33
+ $content-width: 800px !default;
34
+
35
+ @import
36
+ "docgen/utils",
37
+ "docgen/syntax-highlighting",
38
+ "docgen/base",
39
+ "docgen/layout";
@@ -0,0 +1,49 @@
1
+ @font-face { // Declaring font faces for LaTeX font
2
+ font-family: "Computer Modern";
3
+ src: url('../fonts/computer-modern/cmunrm.ttf');
4
+ }
5
+ @font-face {
6
+ font-family: "Computer Modern";
7
+ src: url('../fonts/computer-modern/cmunbx.ttf');
8
+ font-weight: bold;
9
+ }
10
+ @font-face {
11
+ font-family: "Computer Modern";
12
+ src: url('../fonts/computer-modern/cmunti.ttf');
13
+ font-style: italic;
14
+ }
15
+
16
+ $base-font-family: "Computer Modern", sans-serif;
17
+ @import "docgen-default";
18
+
19
+ // Set page margins for printer
20
+ @page {
21
+ margin-top: 25mm;
22
+ margin-bottom: 25mm;
23
+ margin-left: 25mm;
24
+ margin-right: 25mm;
25
+ }
26
+
27
+ // For when the file is just a list of things (e.g. a problem set!)
28
+ main > {ol, ul {> li > {
29
+ p, div.highlighter-rouge, table {
30
+ margin-left: -$spacing-unit / 2;
31
+ margin-right: -$spacing-unit / 2;
32
+
33
+ &:first-child {
34
+ text-indent: $spacing-unit / 2;
35
+ }
36
+ }
37
+
38
+ ol, ul {
39
+ margin-left: $spacing-unit / 2;
40
+ }
41
+ }}}
42
+
43
+ @media print {
44
+ main > {
45
+ ol, ul {
46
+ margin-left: -$spacing-unit / 2;
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,2 @@
1
+
2
+ @import "docgen-default";
@@ -0,0 +1,2 @@
1
+
2
+ @import "docgen-default";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "docgen-default";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "docgen-latex";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "docgen-mla";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "docgen-slides";
@@ -0,0 +1,55 @@
1
+ Copyright (C) Authors of original metafont fonts:
2
+ Donald Ervin Knuth (cm, concrete fonts)
3
+ 1995, 1996, 1997 J"org Knappen, 1990, 1992 Norbert Schwarz (ec fonts)
4
+ 1992-2006 A.Khodulev, O.Lapko, A.Berdnikov, V.Volovich (lh fonts)
5
+ 1997-2005 Claudio Beccari (cb greek fonts)
6
+ 2002 FUKUI Rei (tipa fonts)
7
+ 2003-2005 Han The Thanh (Vietnamese fonts)
8
+ 1996-2005 Walter Schmidt (cmbright fonts)
9
+
10
+ Copyright (C) 2003-2009, Andrey V. Panov (panov@canopus.iacp.dvo.ru),
11
+ with Reserved Font Family Name "Computer Modern Unicode fonts".
12
+
13
+
14
+
15
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
16
+ This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
17
+
18
+ -----------------------------------------------------------
19
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
20
+ -----------------------------------------------------------
21
+
22
+ PREAMBLE
23
+ The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
24
+
25
+ The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
26
+
27
+ DEFINITIONS
28
+ "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
29
+
30
+ "Reserved Font Name" refers to any names specified as such after the copyright statement(s).
31
+
32
+ "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
33
+
34
+ "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
35
+
36
+ "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
37
+
38
+ PERMISSION & CONDITIONS
39
+ Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
40
+
41
+ 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
42
+
43
+ 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
44
+
45
+ 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
46
+
47
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
48
+
49
+ 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
50
+
51
+ TERMINATION
52
+ This license becomes null and void if any of the above conditions are not met.
53
+
54
+ DISCLAIMER
55
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-docgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Liu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -49,11 +49,26 @@ files:
49
49
  - README.md
50
50
  - _includes/head.html
51
51
  - _layouts/default.html
52
- - _sass/docgen.scss
52
+ - _layouts/docgen-index.html
53
+ - _layouts/latex.html
54
+ - _layouts/mla.html
55
+ - _layouts/slides.html
56
+ - _sass/docgen-default.scss
57
+ - _sass/docgen-latex.scss
58
+ - _sass/docgen-mla.scss
59
+ - _sass/docgen-slides.scss
53
60
  - _sass/docgen/_base.scss
54
61
  - _sass/docgen/_layout.scss
55
62
  - _sass/docgen/_syntax-highlighting.scss
56
- - assets/css/style.scss
63
+ - _sass/docgen/_utils.scss
64
+ - assets/css/default-style.scss
65
+ - assets/css/latex-style.scss
66
+ - assets/css/mla-style.scss
67
+ - assets/css/slides-style.scss
68
+ - assets/fonts/computer-modern/SIL Open Font License.txt
69
+ - assets/fonts/computer-modern/cmunbx.ttf
70
+ - assets/fonts/computer-modern/cmunrm.ttf
71
+ - assets/fonts/computer-modern/cmunti.ttf
57
72
  homepage: https://github.com/a1liu/docgen
58
73
  licenses:
59
74
  - MIT
data/_sass/docgen.scss DELETED
@@ -1,56 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Define defaults for each variable.
4
-
5
- $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
- $base-font-size: 16px !default;
7
- $base-font-weight: 400 !default;
8
- $small-font-size: $base-font-size * 0.875 !default;
9
- $base-line-height: 1.5 !default;
10
-
11
- $spacing-unit: 30px !default;
12
-
13
- $text-color: #111 !default;
14
- $background-color: #fdfdfd !default;
15
- $brand-color: #2a7ae2 !default;
16
-
17
- $grey-color: #828282 !default;
18
- $grey-color-light: lighten($grey-color, 40%) !default;
19
- $grey-color-dark: darken($grey-color, 25%) !default;
20
- $orange-color: #f66a0a !default;
21
- $table-text-align: left !default;
22
-
23
- // Width of the content area
24
- $content-width: 800px !default;
25
-
26
- $on-palm: 600px !default;
27
- $on-laptop: 800px !default;
28
-
29
- $on-medium: $on-palm !default;
30
- $on-large: $on-laptop !default;
31
-
32
- // Use media queries like this:
33
- // @include media-query($on-palm) {
34
- // .wrapper {
35
- // padding-right: $spacing-unit / 2;
36
- // padding-left: $spacing-unit / 2;
37
- // }
38
- // }
39
- // Notice the following mixin uses max-width, in a deprecated, desktop-first
40
- // approach, whereas media queries used elsewhere now use min-width.
41
- @mixin media-query($device) {
42
- @media screen and (max-width: $device) {
43
- @content;
44
- }
45
- }
46
-
47
- @mixin relative-font-size($ratio) {
48
- font-size: $base-font-size * $ratio;
49
- }
50
-
51
- // Import partials.
52
- @import
53
- "docgen/base",
54
- "docgen/layout",
55
- "docgen/syntax-highlighting"
56
- ;
@@ -1,4 +0,0 @@
1
- ---
2
- # Only the main Sass file needs front matter (the dashes are enough)
3
- ---
4
- @import "docgen";