jekyll-theme-docgen 1.1.2 → 1.1.3

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.
Files changed (77) hide show
  1. checksums.yaml +5 -5
  2. data/_includes/citation +12 -0
  3. data/_includes/citation-data +10 -0
  4. data/_includes/head.html +7 -5
  5. data/_layouts/404-docgen.html +36 -0
  6. data/_layouts/default-docgen.html +14 -0
  7. data/_layouts/default.html +4 -15
  8. data/_layouts/{docgen-index.html → index-docgen.html} +1 -1
  9. data/_layouts/latex-docgen.html +4 -0
  10. data/_layouts/latex.html +2 -2
  11. data/_layouts/mla-docgen.html +30 -0
  12. data/_layouts/mla.html +2 -2
  13. data/_layouts/slides-docgen.html +4 -0
  14. data/_layouts/slides.html +2 -2
  15. data/_sass/{docgen-default.scss → default-docgen.scss} +2 -0
  16. data/_sass/docgen/_api.scss +55 -2
  17. data/_sass/docgen/_base.scss +30 -5
  18. data/_sass/docgen/source-code-pro.scss +239 -0
  19. data/_sass/{docgen-latex.scss → latex-docgen.scss} +16 -22
  20. data/_sass/mla-docgen.scss +21 -0
  21. data/_sass/slides-docgen.scss +2 -0
  22. data/assets/.DS_Store +0 -0
  23. data/assets/css/default-style-docgen.scss +3 -0
  24. data/assets/css/latex-style-docgen.scss +3 -0
  25. data/assets/css/mla-style-docgen.scss +3 -0
  26. data/assets/css/slides-style-docgen.scss +3 -0
  27. data/assets/fonts/computer-modern/cmuntb.ttf +0 -0
  28. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Black.eot +0 -0
  29. data/assets/fonts/source-code-pro/EOT/SourceCodePro-BlackIt.eot +0 -0
  30. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Bold.eot +0 -0
  31. data/assets/fonts/source-code-pro/EOT/SourceCodePro-BoldIt.eot +0 -0
  32. data/assets/fonts/source-code-pro/EOT/SourceCodePro-ExtraLight.eot +0 -0
  33. data/assets/fonts/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot +0 -0
  34. data/assets/fonts/source-code-pro/EOT/SourceCodePro-It.eot +0 -0
  35. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Light.eot +0 -0
  36. data/assets/fonts/source-code-pro/EOT/SourceCodePro-LightIt.eot +0 -0
  37. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Medium.eot +0 -0
  38. data/assets/fonts/source-code-pro/EOT/SourceCodePro-MediumIt.eot +0 -0
  39. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Regular.eot +0 -0
  40. data/assets/fonts/source-code-pro/EOT/SourceCodePro-Semibold.eot +0 -0
  41. data/assets/fonts/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot +0 -0
  42. data/assets/fonts/source-code-pro/LICENSE.txt +93 -0
  43. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Black.otf +0 -0
  44. data/assets/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf +0 -0
  45. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf +0 -0
  46. data/assets/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf +0 -0
  47. data/assets/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf +0 -0
  48. data/assets/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf +0 -0
  49. data/assets/fonts/source-code-pro/OTF/SourceCodePro-It.otf +0 -0
  50. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Light.otf +0 -0
  51. data/assets/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf +0 -0
  52. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf +0 -0
  53. data/assets/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf +0 -0
  54. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf +0 -0
  55. data/assets/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf +0 -0
  56. data/assets/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf +0 -0
  57. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf +0 -0
  58. data/assets/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf +0 -0
  59. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf +0 -0
  60. data/assets/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf +0 -0
  61. data/assets/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf +0 -0
  62. data/assets/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf +0 -0
  63. data/assets/fonts/source-code-pro/TTF/SourceCodePro-It.ttf +0 -0
  64. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf +0 -0
  65. data/assets/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf +0 -0
  66. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf +0 -0
  67. data/assets/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf +0 -0
  68. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf +0 -0
  69. data/assets/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf +0 -0
  70. data/assets/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf +0 -0
  71. metadata +66 -12
  72. data/_sass/docgen-mla.scss +0 -2
  73. data/_sass/docgen-slides.scss +0 -2
  74. data/assets/css/default-style.scss +0 -3
  75. data/assets/css/latex-style.scss +0 -3
  76. data/assets/css/mla-style.scss +0 -3
  77. data/assets/css/slides-style.scss +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: e29b75829d43dba846b8a9f3ff56e0eb0dd814578e895383d4d61fb326122223
4
- data.tar.gz: 9439fd9810a3bdbd73c96e9395cb6cb1d83f0b15408aed3d39e8055b7c34df9e
2
+ SHA1:
3
+ metadata.gz: 4d2500b2e2297973d8881af902d08a7bb12c8eb5
4
+ data.tar.gz: e04d351567e9b55f549ea7551cfe49dea8bdbbc4
5
5
  SHA512:
6
- metadata.gz: 2ce0908da296f714bf42f64a1efc1e4836464d3f4e4daf0de13f28435250617f9017ff00605ec41376af69b8d36224cfd0e27f498208b30a955e7becd175922a
7
- data.tar.gz: 4e4aa04db9513daafd4a86c9881ab1d1c28ef06562ad454e699a9712cdfdb5c2cf3635d25bcc41642ba4887c456d9eb495f1537a047368359295355c6f24d656
6
+ metadata.gz: db55bd50b78b0ba892f499197a6268ba8fa58bd4eab9317a46faefd323db65ee9ebe5732ed7b54da09333779978bc13d9d1b03d234f481ee9b3395caea52da5b
7
+ data.tar.gz: 38759ebc7c934a6ea95bf9674c192d53174ccae4caf0569f600e26c964ef15b7ca789b712567013bbc1e5d5af0eb94693d05dd3b4704e492a2fb7dd015e27f3c
@@ -0,0 +1,12 @@
1
+ {% capture text %}
2
+ {% if include.local %}
3
+ {% assign link = include.local | prepend: '#' | append: '-docgen' %}
4
+ {% elsif include.link %}
5
+ {% assign link = include.link %}
6
+ {% endif %}
7
+ {% if link %}
8
+ <sup class="citation-docgen">[<a href="{{ link }}"><span class="citation-number-docgen"></span></a>]</sup>
9
+ {% else %}
10
+ <sup class="citation-docgen">[<span class="citation-number-docgen"></span>]</sup>
11
+ {% endif %}
12
+ {% endcapture %}{{- text | strip | strip_newlines -}}
@@ -0,0 +1,10 @@
1
+ {% capture text %}
2
+ {% if include.id %}
3
+ <a
4
+ id="{{ include.id | append: '-docgen' }}"
5
+ name="{{ include.id | append: '-docgen' }}"></a>
6
+ {% elsif site.docgen.error %}
7
+ <a class="error-docgen">DocGen Error:
8
+ {% raw %}{% include citation-data %} needs parameter 'id'{% endraw %}</a>
9
+ {% endif %}
10
+ {% endcapture %}{{- text | strip -}}
data/_includes/head.html CHANGED
@@ -2,12 +2,14 @@
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
+ <title>{{ page.title | default: 'docgen-document' }}</title>
6
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
5
7
  <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 %}
8
+ {% assign style = include.style | default: 'default' %}
9
+ {% assign href ='/assets/css/' | append: style | append: '-style-docgen.css' | relative_url %}
11
10
  <link rel="stylesheet" href="{{ href }}">
11
+ {% if include.content %}
12
+ {{ include.content }}
13
+ {% endif %}
12
14
  </head>
13
15
 
@@ -0,0 +1,36 @@
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>404 Not Found!</h1>
12
+ <p id="404-content">
13
+ The page couldn't be found :(
14
+ </p>
15
+ {{ content }}
16
+ </main>
17
+
18
+ <script>
19
+ function sleep(ms) {
20
+ return new Promise(resolve => setTimeout(resolve, ms));
21
+ }
22
+
23
+ async function redirect() {
24
+ console.log(window.location.pathname);
25
+ if (window.location.pathname == '/') {
26
+ $('#404-content').text("You're being redirected to the correct homepage of this site...");
27
+ await sleep(1000);
28
+ window.location.replace({{ '/' | relative_url }});
29
+ }
30
+ }
31
+
32
+ redirect();
33
+ </script>
34
+ </body>
35
+
36
+ </html>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
+
4
+ {% assign page-style = page.layout | downcase | split: '-' | first %}
5
+ {% include head.html style=page-style %}
6
+
7
+ <body>
8
+ <main class="page-content" aria-label="Content">
9
+ {{ content }}
10
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
11
+ </main>
12
+ </body>
13
+
14
+ </html>
@@ -1,15 +1,4 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
-
4
- {% assign page-style = page.layout | downcase %}
5
- {% include head.html style=page-style %}
6
-
7
- <body>
8
-
9
- <main class="page-content" aria-label="Content">
10
- {{ content }}
11
- </main>
12
-
13
- </body>
14
-
15
- </html>
1
+ ---
2
+ layout: default-docgen
3
+ ---
4
+ {{ content }}
@@ -13,7 +13,7 @@
13
13
  {% for page in sorted-pages %}
14
14
  {% assign file-name = page.path | split: '/' | last %}
15
15
  {% unless file-name contains 'scss' %}
16
- <a href="{{ page.url }}">{{ page.path }}</a><br/>
16
+ <a href="{{ page.url | relative_url }}">{{ page.path }}</a><br/>
17
17
  {% endunless %}
18
18
  {% endfor %}
19
19
  <br class="clearfix" />
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default-docgen
3
+ ---
4
+ {{ content }}
data/_layouts/latex.html CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: default
2
+ layout: latex-docgen
3
3
  ---
4
- {{ content }}
4
+ {{ content }}
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default-docgen
3
+ ---
4
+ {% if page.header %}
5
+ <p class="noindent">
6
+ {% for line in page.header %}
7
+ {{ line }}
8
+ <br />
9
+ {% endfor %}
10
+ </p>
11
+ {% elsif page.author or page.date or page.instructor or page.course %}
12
+ <p class="noindent">
13
+
14
+ {{ page.author }}
15
+ <br />
16
+ {{ page.instructor }}
17
+ <br />
18
+ {{ page.course }}
19
+ <br />
20
+ {{ page.date }}
21
+ <br />
22
+ </p>
23
+ {% endif %}
24
+ {% assign title = page.title | default: '' | strip %}
25
+ {% unless title == '' %}
26
+ <p class="mla-title">
27
+ {{ title }}
28
+ </p>
29
+ {% endunless %}
30
+ {{ content }}
data/_layouts/mla.html CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: default
2
+ layout: mla-docgen
3
3
  ---
4
- {{ content }}
4
+ {{ content }}
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default-docgen
3
+ ---
4
+ {{ content }}
data/_layouts/slides.html CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: default
2
+ layout: slides-docgen
3
3
  ---
4
- {{ content }}
4
+ {{ content }}
@@ -24,6 +24,7 @@ $blockquote-border-color: $grey-color-light !default;
24
24
 
25
25
  $table-border-color: $grey-color-light !default;
26
26
 
27
+ $code-font-family: "Consolas", "Monaco", "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New" !default;
27
28
  $code-text-color: $text-color !default;
28
29
  $code-block-border-color: $grey-color-light !default;
29
30
  $code-block-background-color: #eef !default;
@@ -33,6 +34,7 @@ $syntax-highlighting-background-color: #fff !default;
33
34
  $content-width: 800px !default;
34
35
 
35
36
  @import
37
+ "docgen/source-code-pro",
36
38
  "docgen/utils",
37
39
  "docgen/syntax-highlighting",
38
40
  "docgen/base",
@@ -1,13 +1,66 @@
1
1
  div.page-break {
2
2
  margin-top: $spacing-unit;
3
3
  margin-bottom: $spacing-unit;
4
- page-break-after: always;
4
+ break-after: page;
5
5
  background-color: black;
6
6
  height: 1px;
7
7
  }
8
8
 
9
+ div.display {
10
+ display: -webkit-box;
11
+ display: -moz-box;
12
+ display: -ms-flexbox;
13
+ display: -webkit-flex;
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ padding-left: auto;
17
+ padding-right: auto;
18
+ width: 100%;
19
+ margin: 0px;
20
+
21
+ &.center {
22
+ align-items: center;
23
+ justify-content: center;
24
+ }
25
+
26
+ > * {
27
+ margin-left: $spacing-unit / 4;
28
+ margin-right: $spacing-unit / 4;
29
+ }
30
+ }
31
+
32
+ div.utf-box-drawing {
33
+ pre, > pre, pre code {
34
+ font-family: "Source Code Pro";
35
+ line-height: initial;
36
+ }
37
+ }
38
+
39
+
40
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#Syntax
41
+ ol.heirarchical > li {
42
+ ol, ul {
43
+ //margin-bottom: 0px;
44
+ }
45
+ > ol > li {
46
+ list-style-type: lower-alpha;
47
+
48
+ > ol > li {
49
+ list-style-type: lower-roman;
50
+ }
51
+ }
52
+ }
53
+
54
+ .citation-docgen {
55
+ .citation-number-docgen:after {
56
+ counter-increment: citation-docgen;
57
+ content: counter(citation-docgen);
58
+ }
59
+ }
60
+
9
61
  @media print {
10
- div.page-break {
62
+ .page-break {
63
+ height: 0px;
11
64
  background-color: none;
12
65
  }
13
66
  }
@@ -37,11 +37,11 @@ ul, ol {
37
37
  padding: 0px;
38
38
  }
39
39
 
40
- main > {
41
- ul, ol {
42
- margin-left: 0px;
43
- }
44
- }
40
+ // main > {
41
+ // ul, ol {
42
+ // margin-left: 0px;
43
+ // }
44
+ // }
45
45
 
46
46
  li > {
47
47
  ul, ol {
@@ -49,6 +49,8 @@ li > {
49
49
  }
50
50
  }
51
51
 
52
+
53
+
52
54
  /**
53
55
  * Headings
54
56
  */
@@ -76,6 +78,7 @@ a {
76
78
  }
77
79
 
78
80
 
81
+
79
82
  /**
80
83
  * Blockquotes
81
84
  */
@@ -99,6 +102,7 @@ blockquote {
99
102
  */
100
103
  pre,
101
104
  code {
105
+ font-family: $code-font-family;
102
106
  @include relative-font-size(0.9375);
103
107
  }
104
108
 
@@ -119,3 +123,24 @@ pre {
119
123
  padding-left: 0;
120
124
  }
121
125
  }
126
+
127
+
128
+
129
+ /**
130
+ * Tables
131
+ */
132
+ th, td {
133
+ padding: $spacing-unit / 4;
134
+ border: 1px solid black;
135
+ border-collapse: collapse;
136
+ }
137
+
138
+
139
+
140
+ .error-docgen {
141
+ border: 5px solid red;
142
+ color: white !important;
143
+ font-weight: bold;
144
+ min-width: 100%;
145
+ background: red;
146
+ }
@@ -0,0 +1,239 @@
1
+ // Taken unceremoniously from https://github.com/adobe-fonts/source-code-pro
2
+ /*
3
+ Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
4
+ with Reserved Font Name 'Source'. All Rights Reserved.
5
+ Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
6
+
7
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
8
+
9
+ This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
10
+
11
+
12
+ -----------------------------------------------------------
13
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
14
+ -----------------------------------------------------------
15
+
16
+ PREAMBLE
17
+ The goals of the Open Font License (OFL) are to stimulate worldwide
18
+ development of collaborative font projects, to support the font creation
19
+ efforts of academic and linguistic communities, and to provide a free and
20
+ open framework in which fonts may be shared and improved in partnership
21
+ with others.
22
+
23
+ The OFL allows the licensed fonts to be used, studied, modified and
24
+ redistributed freely as long as they are not sold by themselves. The
25
+ fonts, including any derivative works, can be bundled, embedded,
26
+ redistributed and/or sold with any software provided that any reserved
27
+ names are not used by derivative works. The fonts and derivatives,
28
+ however, cannot be released under any other type of license. The
29
+ requirement for fonts to remain under this license does not apply
30
+ to any document created using the fonts or their derivatives.
31
+
32
+ DEFINITIONS
33
+ "Font Software" refers to the set of files released by the Copyright
34
+ Holder(s) under this license and clearly marked as such. This may
35
+ include source files, build scripts and documentation.
36
+
37
+ "Reserved Font Name" refers to any names specified as such after the
38
+ copyright statement(s).
39
+
40
+ "Original Version" refers to the collection of Font Software components as
41
+ distributed by the Copyright Holder(s).
42
+
43
+ "Modified Version" refers to any derivative made by adding to, deleting,
44
+ or substituting -- in part or in whole -- any of the components of the
45
+ Original Version, by changing formats or by porting the Font Software to a
46
+ new environment.
47
+
48
+ "Author" refers to any designer, engineer, programmer, technical
49
+ writer or other person who contributed to the Font Software.
50
+
51
+ PERMISSION & CONDITIONS
52
+ Permission is hereby granted, free of charge, to any person obtaining
53
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
54
+ redistribute, and sell modified and unmodified copies of the Font
55
+ Software, subject to the following conditions:
56
+
57
+ 1) Neither the Font Software nor any of its individual components,
58
+ in Original or Modified Versions, may be sold by itself.
59
+
60
+ 2) Original or Modified Versions of the Font Software may be bundled,
61
+ redistributed and/or sold with any software, provided that each copy
62
+ contains the above copyright notice and this license. These can be
63
+ included either as stand-alone text files, human-readable headers or
64
+ in the appropriate machine-readable metadata fields within text or
65
+ binary files as long as those fields can be easily viewed by the user.
66
+
67
+ 3) No Modified Version of the Font Software may use the Reserved Font
68
+ Name(s) unless explicit written permission is granted by the corresponding
69
+ Copyright Holder. This restriction only applies to the primary font name as
70
+ presented to the users.
71
+
72
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
73
+ Software shall not be used to promote, endorse or advertise any
74
+ Modified Version, except to acknowledge the contribution(s) of the
75
+ Copyright Holder(s) and the Author(s) or with their explicit written
76
+ permission.
77
+
78
+ 5) The Font Software, modified or unmodified, in part or in whole,
79
+ must be distributed entirely under this license, and must not be
80
+ distributed under any other license. The requirement for fonts to
81
+ remain under this license does not apply to any document created
82
+ using the Font Software.
83
+
84
+ TERMINATION
85
+ This license becomes null and void if any of the above conditions are
86
+ not met.
87
+
88
+ DISCLAIMER
89
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
90
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
91
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
92
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
93
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
94
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
95
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
96
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
97
+ OTHER DEALINGS IN THE FONT SOFTWARE.
98
+ */
99
+
100
+
101
+ @font-face{
102
+ font-family: 'Source Code Pro';
103
+ font-weight: 200;
104
+ font-style: normal;
105
+ font-stretch: normal;
106
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-ExtraLight.eot') format('embedded-opentype'),
107
+ url('../fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf') format('opentype'),
108
+ url('../fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf') format('truetype');
109
+ }
110
+
111
+ @font-face{
112
+ font-family: 'Source Code Pro';
113
+ font-weight: 200;
114
+ font-style: italic;
115
+ font-stretch: normal;
116
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot') format('embedded-opentype'),
117
+ url('../fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf') format('opentype'),
118
+ url('../fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf') format('truetype');
119
+ }
120
+
121
+ @font-face{
122
+ font-family: 'Source Code Pro';
123
+ font-weight: 300;
124
+ font-style: normal;
125
+ font-stretch: normal;
126
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Light.eot') format('embedded-opentype'),
127
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Light.otf') format('opentype'),
128
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Light.ttf') format('truetype');
129
+ }
130
+
131
+ @font-face{
132
+ font-family: 'Source Code Pro';
133
+ font-weight: 300;
134
+ font-style: italic;
135
+ font-stretch: normal;
136
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-LightIt.eot') format('embedded-opentype'),
137
+ url('../fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf') format('opentype'),
138
+ url('../fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf') format('truetype');
139
+ }
140
+
141
+ @font-face{
142
+ font-family: 'Source Code Pro';
143
+ font-weight: 400;
144
+ font-style: normal;
145
+ font-stretch: normal;
146
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Regular.eot') format('embedded-opentype'),
147
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Regular.otf') format('opentype'),
148
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf') format('truetype');
149
+ }
150
+
151
+ @font-face{
152
+ font-family: 'Source Code Pro';
153
+ font-weight: 400;
154
+ font-style: italic;
155
+ font-stretch: normal;
156
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-It.eot') format('embedded-opentype'),
157
+ url('../fonts/source-code-pro/OTF/SourceCodePro-It.otf') format('opentype'),
158
+ url('../fonts/source-code-pro/TTF/SourceCodePro-It.ttf') format('truetype');
159
+ }
160
+
161
+ @font-face{
162
+ font-family: 'Source Code Pro';
163
+ font-weight: 500;
164
+ font-style: normal;
165
+ font-stretch: normal;
166
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Medium.eot') format('embedded-opentype'),
167
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Medium.otf') format('opentype'),
168
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf') format('truetype');
169
+ }
170
+
171
+ @font-face{
172
+ font-family: 'Source Code Pro';
173
+ font-weight: 500;
174
+ font-style: italic;
175
+ font-stretch: normal;
176
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-MediumIt.eot') format('embedded-opentype'),
177
+ url('../fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf') format('opentype'),
178
+ url('../fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf') format('truetype');
179
+ }
180
+
181
+ @font-face{
182
+ font-family: 'Source Code Pro';
183
+ font-weight: 600;
184
+ font-style: normal;
185
+ font-stretch: normal;
186
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Semibold.eot') format('embedded-opentype'),
187
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf') format('opentype'),
188
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf') format('truetype');
189
+ }
190
+
191
+ @font-face{
192
+ font-family: 'Source Code Pro';
193
+ font-weight: 600;
194
+ font-style: italic;
195
+ font-stretch: normal;
196
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot') format('embedded-opentype'),
197
+ url('../fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf') format('opentype'),
198
+ url('../fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf') format('truetype');
199
+ }
200
+
201
+ @font-face{
202
+ font-family: 'Source Code Pro';
203
+ font-weight: 700;
204
+ font-style: normal;
205
+ font-stretch: normal;
206
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Bold.eot') format('embedded-opentype'),
207
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Bold.otf') format('opentype'),
208
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf') format('truetype');
209
+ }
210
+
211
+ @font-face{
212
+ font-family: 'Source Code Pro';
213
+ font-weight: 700;
214
+ font-style: italic;
215
+ font-stretch: normal;
216
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-BoldIt.eot') format('embedded-opentype'),
217
+ url('../fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf') format('opentype'),
218
+ url('../fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf') format('truetype');
219
+ }
220
+
221
+ @font-face{
222
+ font-family: 'Source Code Pro';
223
+ font-weight: 900;
224
+ font-style: normal;
225
+ font-stretch: normal;
226
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-Black.eot') format('embedded-opentype'),
227
+ url('../fonts/source-code-pro/OTF/SourceCodePro-Black.otf') format('opentype'),
228
+ url('../fonts/source-code-pro/TTF/SourceCodePro-Black.ttf') format('truetype');
229
+ }
230
+
231
+ @font-face{
232
+ font-family: 'Source Code Pro';
233
+ font-weight: 900;
234
+ font-style: italic;
235
+ font-stretch: normal;
236
+ src: url('../fonts/source-code-pro/EOT/SourceCodePro-BlackIt.eot') format('embedded-opentype'),
237
+ url('../fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf') format('opentype'),
238
+ url('../fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf') format('truetype');
239
+ }
@@ -13,32 +13,22 @@
13
13
  font-style: italic;
14
14
  }
15
15
 
16
+ @font-face {
17
+ font-family: "Computer Modern Typewriter";
18
+ src: url('../fonts/computer-modern/cmuntb.ttf');
19
+ }
20
+
16
21
  $base-font-family: "Computer Modern", sans-serif;
22
+ $code-font-family: "Computer Modern Typewriter", Consolas, Monaco;
17
23
  $code-block-background-color: white !default;
18
24
  $syntax-highlighting-background-color: white !default;
19
- @import "docgen-default";
25
+ @import "default-docgen";
20
26
 
21
27
  // Set page margins for printer
22
28
  @page {
23
29
  margin: 20mm 20mm;
24
30
  }
25
31
 
26
- // For when the file is just a list of things (e.g. a problem set!)
27
- main > ol > li > {
28
- * {
29
- margin-left: -$spacing-unit / 2;
30
- margin-right: -$spacing-unit / 2;
31
-
32
- &:first-child {
33
- text-indent: $spacing-unit / 2;
34
- }
35
- }
36
-
37
- ol, ul {
38
- margin-left: $spacing-unit / 2;
39
- }
40
- }
41
-
42
32
  pre {
43
33
  $offset: 15px;
44
34
  $blur-radius: 15px;
@@ -56,12 +46,16 @@ pre {
56
46
  );
57
47
  }
58
48
 
49
+ pre, code {
50
+ @include relative-font-size(1);
51
+ }
52
+
59
53
  @media print {
60
- main > {
61
- ol, ul {
62
- margin-left: -$spacing-unit / 2;
63
- }
64
- }
54
+ // main > {
55
+ // ol, ul {
56
+ // margin-left: -$spacing-unit / 2;
57
+ // }
58
+ // }
65
59
 
66
60
  .page-content {
67
61
  margin: 0 auto;
@@ -0,0 +1,21 @@
1
+
2
+ $base-font-family: "Times New Roman", Georgia;
3
+ @import "default-docgen";
4
+
5
+ h1, h2 {
6
+ text-align: center;
7
+ }
8
+
9
+ p {
10
+ text-indent: 2em;
11
+ line-height: 2em;
12
+ margin-bottom: 0;
13
+ }
14
+
15
+ p.mla-title {
16
+ text-align: center;
17
+ }
18
+
19
+ p.noindent {
20
+ text-indent: 0;
21
+ }
@@ -0,0 +1,2 @@
1
+
2
+ @import "default-docgen";
data/assets/.DS_Store ADDED
Binary file
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "default-docgen";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "latex-docgen";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "mla-docgen";
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "slides-docgen";
@@ -0,0 +1,93 @@
1
+ Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+
5
+ This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ 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.1.2
4
+ version: 1.1.3
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-28 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -33,29 +33,82 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE
35
35
  - README.md
36
+ - _includes/citation
37
+ - _includes/citation-data
36
38
  - _includes/head.html
39
+ - _layouts/404-docgen.html
40
+ - _layouts/default-docgen.html
37
41
  - _layouts/default.html
38
- - _layouts/docgen-index.html
42
+ - _layouts/index-docgen.html
43
+ - _layouts/latex-docgen.html
39
44
  - _layouts/latex.html
45
+ - _layouts/mla-docgen.html
40
46
  - _layouts/mla.html
47
+ - _layouts/slides-docgen.html
41
48
  - _layouts/slides.html
42
- - _sass/docgen-default.scss
43
- - _sass/docgen-latex.scss
44
- - _sass/docgen-mla.scss
45
- - _sass/docgen-slides.scss
49
+ - _sass/default-docgen.scss
46
50
  - _sass/docgen/_api.scss
47
51
  - _sass/docgen/_base.scss
48
52
  - _sass/docgen/_layout.scss
49
53
  - _sass/docgen/_syntax-highlighting.scss
50
54
  - _sass/docgen/_utils.scss
51
- - assets/css/default-style.scss
52
- - assets/css/latex-style.scss
53
- - assets/css/mla-style.scss
54
- - assets/css/slides-style.scss
55
+ - _sass/docgen/source-code-pro.scss
56
+ - _sass/latex-docgen.scss
57
+ - _sass/mla-docgen.scss
58
+ - _sass/slides-docgen.scss
59
+ - assets/.DS_Store
60
+ - assets/css/default-style-docgen.scss
61
+ - assets/css/latex-style-docgen.scss
62
+ - assets/css/mla-style-docgen.scss
63
+ - assets/css/slides-style-docgen.scss
55
64
  - assets/fonts/computer-modern/SIL Open Font License.txt
56
65
  - assets/fonts/computer-modern/cmunbx.ttf
57
66
  - assets/fonts/computer-modern/cmunrm.ttf
67
+ - assets/fonts/computer-modern/cmuntb.ttf
58
68
  - assets/fonts/computer-modern/cmunti.ttf
69
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Black.eot
70
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-BlackIt.eot
71
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Bold.eot
72
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-BoldIt.eot
73
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-ExtraLight.eot
74
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot
75
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-It.eot
76
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Light.eot
77
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-LightIt.eot
78
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Medium.eot
79
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-MediumIt.eot
80
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Regular.eot
81
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-Semibold.eot
82
+ - assets/fonts/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot
83
+ - assets/fonts/source-code-pro/LICENSE.txt
84
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Black.otf
85
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf
86
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf
87
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf
88
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf
89
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf
90
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-It.otf
91
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Light.otf
92
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf
93
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf
94
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf
95
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf
96
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf
97
+ - assets/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf
98
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf
99
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf
100
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf
101
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf
102
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf
103
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf
104
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-It.ttf
105
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf
106
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf
107
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf
108
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf
109
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf
110
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf
111
+ - assets/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf
59
112
  homepage: https://github.com/a1liu/docgen
60
113
  licenses:
61
114
  - MIT
@@ -76,7 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
129
  - !ruby/object:Gem::Version
77
130
  version: '0'
78
131
  requirements: []
79
- rubygems_version: 3.0.2
132
+ rubyforge_project:
133
+ rubygems_version: 2.5.2.3
80
134
  signing_key:
81
135
  specification_version: 4
82
136
  summary: A document generation helper theme for Jekyll.
@@ -1,2 +0,0 @@
1
-
2
- @import "docgen-default";
@@ -1,2 +0,0 @@
1
-
2
- @import "docgen-default";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "docgen-default";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "docgen-latex";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "docgen-mla";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "docgen-slides";