jekyll-theme-docgen 1.1.3 → 1.2.4

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 (82) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +47 -0
  3. data/_includes/break +1 -0
  4. data/_includes/{head.html → head-docgen.html} +4 -2
  5. data/_includes/page-break-docgen +1 -0
  6. data/_layouts/404-docgen.html +7 -4
  7. data/_layouts/default-docgen.html +1 -2
  8. data/_layouts/index-docgen.html +22 -1
  9. data/_layouts/latex-docgen.html +13 -1
  10. data/_layouts/mla-docgen.html +39 -26
  11. data/_sass/{default-docgen.scss → docgen/default-docgen.scss} +3 -3
  12. data/_sass/docgen/{_api.scss → docgen/_api.scss} +31 -22
  13. data/_sass/docgen/{_base.scss → docgen/_base.scss} +3 -2
  14. data/_sass/docgen/{_layout.scss → docgen/_layout.scss} +0 -0
  15. data/_sass/docgen/{_syntax-highlighting.scss → docgen/_syntax-highlighting.scss} +0 -0
  16. data/_sass/docgen/{_utils.scss → docgen/_utils.scss} +0 -0
  17. data/_sass/docgen/fonts/computer-modern.scss +22 -0
  18. data/_sass/docgen/{source-code-pro.scss → fonts/source-code-pro.scss} +43 -42
  19. data/_sass/{latex-docgen.scss → docgen/latex-docgen.scss} +1 -21
  20. data/_sass/{mla-docgen.scss → docgen/mla-docgen.scss} +0 -0
  21. data/_sass/{slides-docgen.scss → docgen/slides-docgen.scss} +0 -0
  22. data/assets/docgen/css/default-style-docgen.scss +4 -0
  23. data/assets/docgen/css/latex-style-docgen.scss +4 -0
  24. data/assets/docgen/css/mla-style-docgen.scss +4 -0
  25. data/assets/fonts/computer-modern/SIL Open Font License.txt b/data/assets/docgen/fonts/computer-modern/SIL Open Font → License.txt +0 -0
  26. data/assets/{fonts → docgen/fonts}/computer-modern/cmunbx.ttf +0 -0
  27. data/assets/{fonts → docgen/fonts}/computer-modern/cmunrm.ttf +0 -0
  28. data/assets/{fonts → docgen/fonts}/computer-modern/cmuntb.ttf +0 -0
  29. data/assets/{fonts → docgen/fonts}/computer-modern/cmunti.ttf +0 -0
  30. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Black.eot +0 -0
  31. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-BlackIt.eot +0 -0
  32. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Bold.eot +0 -0
  33. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-BoldIt.eot +0 -0
  34. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-ExtraLight.eot +0 -0
  35. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot +0 -0
  36. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-It.eot +0 -0
  37. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Light.eot +0 -0
  38. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-LightIt.eot +0 -0
  39. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Medium.eot +0 -0
  40. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-MediumIt.eot +0 -0
  41. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Regular.eot +0 -0
  42. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-Semibold.eot +0 -0
  43. data/assets/{fonts → docgen/fonts}/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot +0 -0
  44. data/assets/{fonts → docgen/fonts}/source-code-pro/LICENSE.txt +0 -0
  45. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Black.otf +0 -0
  46. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-BlackIt.otf +0 -0
  47. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Bold.otf +0 -0
  48. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-BoldIt.otf +0 -0
  49. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-ExtraLight.otf +0 -0
  50. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf +0 -0
  51. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-It.otf +0 -0
  52. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Light.otf +0 -0
  53. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-LightIt.otf +0 -0
  54. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Medium.otf +0 -0
  55. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-MediumIt.otf +0 -0
  56. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Regular.otf +0 -0
  57. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-Semibold.otf +0 -0
  58. data/assets/{fonts → docgen/fonts}/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf +0 -0
  59. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Black.ttf +0 -0
  60. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-BlackIt.ttf +0 -0
  61. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Bold.ttf +0 -0
  62. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-BoldIt.ttf +0 -0
  63. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf +0 -0
  64. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf +0 -0
  65. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-It.ttf +0 -0
  66. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Light.ttf +0 -0
  67. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-LightIt.ttf +0 -0
  68. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Medium.ttf +0 -0
  69. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-MediumIt.ttf +0 -0
  70. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Regular.ttf +0 -0
  71. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-Semibold.ttf +0 -0
  72. data/assets/{fonts → docgen/fonts}/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf +0 -0
  73. metadata +76 -80
  74. data/_includes/citation +0 -12
  75. data/_includes/citation-data +0 -10
  76. data/_layouts/slides-docgen.html +0 -4
  77. data/_layouts/slides.html +0 -4
  78. data/assets/.DS_Store +0 -0
  79. data/assets/css/default-style-docgen.scss +0 -3
  80. data/assets/css/latex-style-docgen.scss +0 -3
  81. data/assets/css/mla-style-docgen.scss +0 -3
  82. data/assets/css/slides-style-docgen.scss +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4d2500b2e2297973d8881af902d08a7bb12c8eb5
4
- data.tar.gz: e04d351567e9b55f549ea7551cfe49dea8bdbbc4
2
+ SHA256:
3
+ metadata.gz: a91b8fa282d8727584518a5ebe5ed795f1bb5af887945f2dd9b6bb1744e4ad9b
4
+ data.tar.gz: 2a58b8e396cd6e351f15b8a786f44725796a70b62cfb6ee68793308366444315
5
5
  SHA512:
6
- metadata.gz: db55bd50b78b0ba892f499197a6268ba8fa58bd4eab9317a46faefd323db65ee9ebe5732ed7b54da09333779978bc13d9d1b03d234f481ee9b3395caea52da5b
7
- data.tar.gz: 38759ebc7c934a6ea95bf9674c192d53174ccae4caf0569f600e26c964ef15b7ca789b712567013bbc1e5d5af0eb94693d05dd3b4704e492a2fb7dd015e27f3c
6
+ metadata.gz: fb389f0281bcea763d6a24733f3a031fe3ea63daa67a1ef7421963aa2947b60ec16959ad72a1f623ea46023ac34063d4873808a105cf0aaf6cea0d09b451e92f
7
+ data.tar.gz: c2036e97c6e07c05832c5c0f88b55b268c1c354ac6342fa40dc44e2fa9ef16fe63f04d28e9c6df856a6276b5ad5f22d3818b9ec5e084c2b0efce8c1ca21c9d06
data/README.md CHANGED
@@ -1,3 +1,50 @@
1
1
  # DocGen
2
2
  DocGen is a document generation helper built using Jekyll, as an alternative to
3
3
  LaTeX for the uninitiated. It is NOT for blogging.
4
+
5
+ Uses MathJax for custom styles.
6
+
7
+ ### Examples
8
+ See the `examples` folder for examples of how to use this theme.
9
+
10
+ ### Includes API
11
+ - `{% include page-break-docgen %}` - Inserts a page break when printing, useful
12
+ when printing to PDF
13
+ - `{% include break %}` - Shortcut for `{% include page-break-docgen %}`
14
+
15
+ ### CSS API
16
+ Some of the available styles are easier to use without an `include`.
17
+
18
+ - `pre.utf-box-drawing`, `code.utf-box-drawing` - Sets the font to "Source Code Pro",
19
+ which is compatible with the utf box drawing characters.
20
+ - `div.page-break` - A page break.
21
+ - `div.horizontal-line` - A container with a 1px black border top.
22
+ - `div.display` - A `div` that follows flexbox wrapping rules.
23
+ - `ol.heirarchical` - A list that supports the numbered-lettered-numeraled structure.
24
+
25
+ ### Layouts
26
+
27
+ #### Documents
28
+ - `default-docgen` - Base layout for docgen.
29
+ - `latex-docgen` - Emulates a LaTeX document.
30
+ - `mla-docgen` - Emulates an MLA-style document, i.e. 12pt Times New Roman with header.
31
+
32
+ #### Utility Pages
33
+ - `index-docgen` - Utility page that lists all documents.
34
+ - `404-docgen` - Utility page for handling 404 errors.
35
+ - `default` - shortcut for `default-docgen`.
36
+ - `latex` - shortcut for `latex-docgen`.
37
+ - `mla` - shortcut for `mla-docgen`.
38
+
39
+ ### Page & Site Properties
40
+ - `lang` - Set the language in `_config.yml` or in the front matter
41
+ - `mla` & `mla-docgen` - In the front matter, you can set:
42
+
43
+ - `author`
44
+ - `instructor`
45
+ - `course`
46
+ - `date`
47
+
48
+ All of which are copied verbatim. You can also set `title` in the front matter,
49
+ which is copied verbatim into own paragraph where the MLA standard says it should go.
50
+
@@ -0,0 +1 @@
1
+ {% include page-break-docgen %}
@@ -3,10 +3,12 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
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>
6
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
7
+ integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
8
+ crossorigin="anonymous" defer></script>
7
9
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
8
10
  {% assign style = include.style | default: 'default' %}
9
- {% assign href ='/assets/css/' | append: style | append: '-style-docgen.css' | relative_url %}
11
+ {% assign href ='/assets/docgen/css/' | append: style | append: '-style-docgen.css' | relative_url %}
10
12
  <link rel="stylesheet" href="{{ href }}">
11
13
  {% if include.content %}
12
14
  {{ include.content }}
@@ -0,0 +1 @@
1
+ <div class="page-break"></div>
@@ -3,7 +3,7 @@
3
3
  <!DOCTYPE html>
4
4
  <html lang="{{ site.lang | default: 'en' }}">
5
5
 
6
- {% include head.html %}
6
+ {% include head-docgen.html %}
7
7
 
8
8
  <body>
9
9
 
@@ -11,11 +11,14 @@
11
11
  <h1>404 Not Found!</h1>
12
12
  <p id="404-content">
13
13
  The page couldn't be found :(
14
+ </br>
15
+ </br>
16
+ <a href="{{ '/' | relative_url }}">Click here to go back to the homepage</a>
14
17
  </p>
15
18
  {{ content }}
16
19
  </main>
17
20
 
18
- <script>
21
+ <!-- <script>
19
22
  function sleep(ms) {
20
23
  return new Promise(resolve => setTimeout(resolve, ms));
21
24
  }
@@ -25,12 +28,12 @@
25
28
  if (window.location.pathname == '/') {
26
29
  $('#404-content').text("You're being redirected to the correct homepage of this site...");
27
30
  await sleep(1000);
28
- window.location.replace({{ '/' | relative_url }});
31
+ window.location.replace('{{ '/' | relative_url }}');
29
32
  }
30
33
  }
31
34
 
32
35
  redirect();
33
- </script>
36
+ </script> -->
34
37
  </body>
35
38
 
36
39
  </html>
@@ -1,8 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
3
 
4
- {% assign page-style = page.layout | downcase | split: '-' | first %}
5
- {% include head.html style=page-style %}
4
+ {% include head-docgen.html style='default-docgen' %}
6
5
 
7
6
  <body>
8
7
  <main class="page-content" aria-label="Content">
@@ -3,7 +3,7 @@
3
3
  <!DOCTYPE html>
4
4
  <html lang="{{ site.lang | default: 'en' }}">
5
5
 
6
- {% include head.html %}
6
+ {% include head-docgen.html %}
7
7
 
8
8
  <body>
9
9
 
@@ -16,6 +16,27 @@
16
16
  <a href="{{ page.url | relative_url }}">{{ page.path }}</a><br/>
17
17
  {% endunless %}
18
18
  {% endfor %}
19
+
20
+ <br class="clearfix" />
21
+
22
+ {% assign sorted-static-files = site.static_files | sort: "path" %}
23
+ {% assign static-files = '' | split: '' %}
24
+ {% for file in sorted-static-files %}
25
+ {% assign file-name = file.path | split: '/' %}
26
+ {% assign file-path = file.path | append: ':' | split: ':' %}
27
+
28
+ {% unless file-name[1] == 'assets' and file-name[2] == 'docgen' %}
29
+ {% assign static-files = static-files | concat: file-path %}
30
+ {% endunless %}
31
+ {% endfor %}
32
+
33
+ {% if static-files.size > 0 %}
34
+ <h1>Static Files</h1>
35
+ {% for file-path in static-files %}
36
+ <a href="{{ file-path | relative_url }}">{{ file-path }}</a><br/>
37
+ {% endfor %}
38
+ {% endif %}
39
+
19
40
  <br class="clearfix" />
20
41
  {{ content }}
21
42
  </main>
@@ -1,4 +1,16 @@
1
1
  ---
2
2
  layout: default-docgen
3
3
  ---
4
- {{ content }}
4
+ <!DOCTYPE html>
5
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
6
+
7
+ {% include head-docgen.html style='latex-docgen' %}
8
+
9
+ <body>
10
+ <main class="page-content" aria-label="Content">
11
+ {{ content }}
12
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
13
+ </main>
14
+ </body>
15
+
16
+ </html>
@@ -1,30 +1,43 @@
1
1
  ---
2
2
  layout: default-docgen
3
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">
4
+ <!DOCTYPE html>
5
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
13
6
 
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 }}
7
+ {% include head-docgen.html style='mla-docgen' %}
8
+
9
+ <body>
10
+ <main class="page-content" aria-label="Content">
11
+
12
+ {% if page.header %}
13
+ <p class="noindent">
14
+ {% for line in page.header %}
15
+ {{ line }}
16
+ <br />
17
+ {% endfor %}
18
+ </p>
19
+ {% elsif page.author or page.date or page.instructor or page.course %}
20
+ <p class="noindent">
21
+ {{ page.author }}
22
+ <br />
23
+ {{ page.instructor }}
24
+ <br />
25
+ {{ page.course }}
26
+ <br />
27
+ {{ page.date }}
28
+ <br />
29
+ </p>
30
+ {% endif %}
31
+ {% assign title = page.title | default: '' | strip %}
32
+ {% unless title == '' %}
33
+ <p class="mla-title">
34
+ {{ title }}
35
+ </p>
36
+ {% endunless %}
37
+ {{ content }}
38
+
39
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
40
+ </main>
41
+ </body>
42
+
43
+ </html>
@@ -12,7 +12,7 @@ $spacing-unit: 30px !default;
12
12
 
13
13
  $text-color: #111 !default;
14
14
  $background-color: #fdfdfd !default;
15
- $brand-color: #2a7ae2 !default;
15
+ $link-color: #2a7ae2 !default;
16
16
 
17
17
  $grey-color: #828282 !default;
18
18
  $grey-color-light: lighten($grey-color, 40%) !default;
@@ -24,7 +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
+ $code-font-family: "Source Code Pro", "Consolas", "Monaco", "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New" !default;
28
28
  $code-text-color: $text-color !default;
29
29
  $code-block-border-color: $grey-color-light !default;
30
30
  $code-block-background-color: #eef !default;
@@ -34,7 +34,7 @@ $syntax-highlighting-background-color: #fff !default;
34
34
  $content-width: 800px !default;
35
35
 
36
36
  @import
37
- "docgen/source-code-pro",
37
+ "fonts/source-code-pro",
38
38
  "docgen/utils",
39
39
  "docgen/syntax-highlighting",
40
40
  "docgen/base",
@@ -1,9 +1,28 @@
1
- div.page-break {
1
+ // @media print {
2
+ // hr, div.horizontal-line {
3
+ // // -webkit-print-color-adjust: exact;
4
+ // }
5
+ // }
6
+
7
+ %horizontal-line {
2
8
  margin-top: $spacing-unit;
3
9
  margin-bottom: $spacing-unit;
10
+ border-top: 1px solid black;
11
+ }
12
+
13
+ hr, div.horizontal-line, div.page-break {
14
+ @extend %horizontal-line;
15
+ }
16
+
17
+ div.page-break {
4
18
  break-after: page;
5
- background-color: black;
6
- height: 1px;
19
+ }
20
+
21
+ @media print {
22
+ div.page-break {
23
+ height: 0px;
24
+ border-top: none;
25
+ }
7
26
  }
8
27
 
9
28
  div.display {
@@ -29,13 +48,6 @@ div.display {
29
48
  }
30
49
  }
31
50
 
32
- div.utf-box-drawing {
33
- pre, > pre, pre code {
34
- font-family: "Source Code Pro";
35
- line-height: initial;
36
- }
37
- }
38
-
39
51
 
40
52
  // https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#Syntax
41
53
  ol.heirarchical > li {
@@ -51,17 +63,14 @@ ol.heirarchical > li {
51
63
  }
52
64
  }
53
65
 
54
- .citation-docgen {
55
- .citation-number-docgen:after {
56
- counter-increment: citation-docgen;
57
- content: counter(citation-docgen);
58
- }
59
- }
66
+ // .citation-docgen {
67
+ // .citation-number-docgen:after {
68
+ // counter-increment: citation-docgen;
69
+ // content: counter(citation-docgen);
70
+ // }
71
+ // }
60
72
 
61
- @media print {
62
- .page-break {
63
- height: 0px;
64
- background-color: none;
65
- }
73
+ pre.utf-box-drawing,
74
+ code.utf-box-drawing {
75
+ font-family: "Source Code Pro";
66
76
  }
67
-
@@ -64,11 +64,11 @@ h1, h2, h3, h4, h5, h6 {
64
64
  * Links
65
65
  */
66
66
  a {
67
- color: $brand-color;
67
+ color: $link-color;
68
68
  text-decoration: none;
69
69
 
70
70
  &:visited {
71
- color: darken($brand-color, 15%);
71
+ color: darken($link-color, 15%);
72
72
  }
73
73
 
74
74
  &:hover {
@@ -112,6 +112,7 @@ code {
112
112
 
113
113
  pre {
114
114
  border: 1px solid $code-block-border-color;
115
+ line-height: 1.3;
115
116
  border-radius: 3px;
116
117
  padding: 8px 12px;
117
118
  overflow-x: auto;
@@ -0,0 +1,22 @@
1
+ $docgen-asset-url: "#{$site-baseurl}/assets/docgen";
2
+
3
+ @font-face { // Declaring font faces for LaTeX font
4
+ font-family: "Computer Modern";
5
+ src: url('#{$docgen-asset-url}/fonts/computer-modern/cmunrm.ttf');
6
+ }
7
+ @font-face {
8
+ font-family: "Computer Modern";
9
+ src: url('#{$docgen-asset-url}/fonts/computer-modern/cmunbx.ttf');
10
+ font-weight: bold;
11
+ }
12
+ @font-face {
13
+ font-family: "Computer Modern";
14
+ src: url('#{$docgen-asset-url}/fonts/computer-modern/cmunti.ttf');
15
+ font-style: italic;
16
+ }
17
+
18
+ @font-face {
19
+ font-family: "Computer Modern Typewriter";
20
+ src: url('#{$docgen-asset-url}/fonts/computer-modern/cmuntb.ttf');
21
+ }
22
+
@@ -1,4 +1,5 @@
1
1
  // Taken unceremoniously from https://github.com/adobe-fonts/source-code-pro
2
+ $docgen-asset-url: "#{$site-baseurl}/assets/docgen";
2
3
  /*
3
4
  Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
4
5
  with Reserved Font Name 'Source'. All Rights Reserved.
@@ -103,9 +104,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
103
104
  font-weight: 200;
104
105
  font-style: normal;
105
106
  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');
107
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-ExtraLight.eot') format('embedded-opentype'),
108
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf') format('opentype'),
109
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf') format('truetype');
109
110
  }
110
111
 
111
112
  @font-face{
@@ -113,9 +114,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
113
114
  font-weight: 200;
114
115
  font-style: italic;
115
116
  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');
117
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot') format('embedded-opentype'),
118
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf') format('opentype'),
119
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf') format('truetype');
119
120
  }
120
121
 
121
122
  @font-face{
@@ -123,9 +124,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
123
124
  font-weight: 300;
124
125
  font-style: normal;
125
126
  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');
127
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Light.eot') format('embedded-opentype'),
128
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Light.otf') format('opentype'),
129
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf') format('truetype');
129
130
  }
130
131
 
131
132
  @font-face{
@@ -133,9 +134,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
133
134
  font-weight: 300;
134
135
  font-style: italic;
135
136
  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');
137
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-LightIt.eot') format('embedded-opentype'),
138
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf') format('opentype'),
139
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf') format('truetype');
139
140
  }
140
141
 
141
142
  @font-face{
@@ -143,9 +144,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
143
144
  font-weight: 400;
144
145
  font-style: normal;
145
146
  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');
147
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Regular.eot') format('embedded-opentype'),
148
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf') format('opentype'),
149
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf') format('truetype');
149
150
  }
150
151
 
151
152
  @font-face{
@@ -153,9 +154,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
153
154
  font-weight: 400;
154
155
  font-style: italic;
155
156
  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');
157
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-It.eot') format('embedded-opentype'),
158
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-It.otf') format('opentype'),
159
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-It.ttf') format('truetype');
159
160
  }
160
161
 
161
162
  @font-face{
@@ -163,9 +164,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
163
164
  font-weight: 500;
164
165
  font-style: normal;
165
166
  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');
167
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Medium.eot') format('embedded-opentype'),
168
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf') format('opentype'),
169
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf') format('truetype');
169
170
  }
170
171
 
171
172
  @font-face{
@@ -173,9 +174,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
173
174
  font-weight: 500;
174
175
  font-style: italic;
175
176
  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');
177
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-MediumIt.eot') format('embedded-opentype'),
178
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf') format('opentype'),
179
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf') format('truetype');
179
180
  }
180
181
 
181
182
  @font-face{
@@ -183,9 +184,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
183
184
  font-weight: 600;
184
185
  font-style: normal;
185
186
  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');
187
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Semibold.eot') format('embedded-opentype'),
188
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf') format('opentype'),
189
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf') format('truetype');
189
190
  }
190
191
 
191
192
  @font-face{
@@ -193,9 +194,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
193
194
  font-weight: 600;
194
195
  font-style: italic;
195
196
  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');
197
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot') format('embedded-opentype'),
198
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf') format('opentype'),
199
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf') format('truetype');
199
200
  }
200
201
 
201
202
  @font-face{
@@ -203,9 +204,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
203
204
  font-weight: 700;
204
205
  font-style: normal;
205
206
  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');
207
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Bold.eot') format('embedded-opentype'),
208
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf') format('opentype'),
209
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf') format('truetype');
209
210
  }
210
211
 
211
212
  @font-face{
@@ -213,9 +214,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
213
214
  font-weight: 700;
214
215
  font-style: italic;
215
216
  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');
217
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-BoldIt.eot') format('embedded-opentype'),
218
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf') format('opentype'),
219
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf') format('truetype');
219
220
  }
220
221
 
221
222
  @font-face{
@@ -223,9 +224,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
223
224
  font-weight: 900;
224
225
  font-style: normal;
225
226
  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');
227
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-Black.eot') format('embedded-opentype'),
228
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-Black.otf') format('opentype'),
229
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf') format('truetype');
229
230
  }
230
231
 
231
232
  @font-face{
@@ -233,7 +234,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
233
234
  font-weight: 900;
234
235
  font-style: italic;
235
236
  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');
237
+ src: url('#{$docgen-asset-url}/fonts/source-code-pro/EOT/SourceCodePro-BlackIt.eot') format('embedded-opentype'),
238
+ url('#{$docgen-asset-url}/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf') format('opentype'),
239
+ url('#{$docgen-asset-url}/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf') format('truetype');
239
240
  }
@@ -1,28 +1,8 @@
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
- @font-face {
17
- font-family: "Computer Modern Typewriter";
18
- src: url('../fonts/computer-modern/cmuntb.ttf');
19
- }
20
-
21
1
  $base-font-family: "Computer Modern", sans-serif;
22
2
  $code-font-family: "Computer Modern Typewriter", Consolas, Monaco;
23
3
  $code-block-background-color: white !default;
24
4
  $syntax-highlighting-background-color: white !default;
25
- @import "default-docgen";
5
+ @import "fonts/computer-modern", "default-docgen";
26
6
 
27
7
  // Set page margins for printer
28
8
  @page {
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+ $site-baseurl: "{{ site.baseurl }}";
4
+ @import "docgen/default-docgen";
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+ $site-baseurl: "{{ site.baseurl }}";
4
+ @import "docgen/latex-docgen";
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+ $site-baseurl: "{{ site.baseurl }}";
4
+ @import "docgen/mla-docgen";
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-docgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Liu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-01 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.5'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.5'
27
- description:
26
+ version: '0'
27
+ description:
28
28
  email:
29
29
  - albertymliu@gmail.com
30
30
  executables: []
@@ -33,9 +33,9 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE
35
35
  - README.md
36
- - _includes/citation
37
- - _includes/citation-data
38
- - _includes/head.html
36
+ - _includes/break
37
+ - _includes/head-docgen.html
38
+ - _includes/page-break-docgen
39
39
  - _layouts/404-docgen.html
40
40
  - _layouts/default-docgen.html
41
41
  - _layouts/default.html
@@ -44,77 +44,74 @@ files:
44
44
  - _layouts/latex.html
45
45
  - _layouts/mla-docgen.html
46
46
  - _layouts/mla.html
47
- - _layouts/slides-docgen.html
48
- - _layouts/slides.html
49
- - _sass/default-docgen.scss
50
- - _sass/docgen/_api.scss
51
- - _sass/docgen/_base.scss
52
- - _sass/docgen/_layout.scss
53
- - _sass/docgen/_syntax-highlighting.scss
54
- - _sass/docgen/_utils.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
64
- - assets/fonts/computer-modern/SIL Open Font License.txt
65
- - assets/fonts/computer-modern/cmunbx.ttf
66
- - assets/fonts/computer-modern/cmunrm.ttf
67
- - assets/fonts/computer-modern/cmuntb.ttf
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
47
+ - _sass/docgen/default-docgen.scss
48
+ - _sass/docgen/docgen/_api.scss
49
+ - _sass/docgen/docgen/_base.scss
50
+ - _sass/docgen/docgen/_layout.scss
51
+ - _sass/docgen/docgen/_syntax-highlighting.scss
52
+ - _sass/docgen/docgen/_utils.scss
53
+ - _sass/docgen/fonts/computer-modern.scss
54
+ - _sass/docgen/fonts/source-code-pro.scss
55
+ - _sass/docgen/latex-docgen.scss
56
+ - _sass/docgen/mla-docgen.scss
57
+ - _sass/docgen/slides-docgen.scss
58
+ - assets/docgen/css/default-style-docgen.scss
59
+ - assets/docgen/css/latex-style-docgen.scss
60
+ - assets/docgen/css/mla-style-docgen.scss
61
+ - assets/docgen/fonts/computer-modern/SIL Open Font License.txt
62
+ - assets/docgen/fonts/computer-modern/cmunbx.ttf
63
+ - assets/docgen/fonts/computer-modern/cmunrm.ttf
64
+ - assets/docgen/fonts/computer-modern/cmuntb.ttf
65
+ - assets/docgen/fonts/computer-modern/cmunti.ttf
66
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Black.eot
67
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-BlackIt.eot
68
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Bold.eot
69
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-BoldIt.eot
70
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-ExtraLight.eot
71
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot
72
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-It.eot
73
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Light.eot
74
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-LightIt.eot
75
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Medium.eot
76
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-MediumIt.eot
77
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Regular.eot
78
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-Semibold.eot
79
+ - assets/docgen/fonts/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot
80
+ - assets/docgen/fonts/source-code-pro/LICENSE.txt
81
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Black.otf
82
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-BlackIt.otf
83
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Bold.otf
84
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-BoldIt.otf
85
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-ExtraLight.otf
86
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf
87
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-It.otf
88
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Light.otf
89
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-LightIt.otf
90
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Medium.otf
91
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-MediumIt.otf
92
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Regular.otf
93
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-Semibold.otf
94
+ - assets/docgen/fonts/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf
95
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Black.ttf
96
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-BlackIt.ttf
97
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Bold.ttf
98
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-BoldIt.ttf
99
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf
100
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf
101
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-It.ttf
102
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Light.ttf
103
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-LightIt.ttf
104
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Medium.ttf
105
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-MediumIt.ttf
106
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Regular.ttf
107
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-Semibold.ttf
108
+ - assets/docgen/fonts/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf
112
109
  homepage: https://github.com/a1liu/docgen
113
110
  licenses:
114
111
  - MIT
115
112
  metadata:
116
113
  plugin_type: theme
117
- post_install_message:
114
+ post_install_message:
118
115
  rdoc_options: []
119
116
  require_paths:
120
117
  - lib
@@ -129,9 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
126
  - !ruby/object:Gem::Version
130
127
  version: '0'
131
128
  requirements: []
132
- rubyforge_project:
133
- rubygems_version: 2.5.2.3
134
- signing_key:
129
+ rubygems_version: 3.1.2
130
+ signing_key:
135
131
  specification_version: 4
136
132
  summary: A document generation helper theme for Jekyll.
137
133
  test_files: []
@@ -1,12 +0,0 @@
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 -}}
@@ -1,10 +0,0 @@
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 -}}
@@ -1,4 +0,0 @@
1
- ---
2
- layout: default-docgen
3
- ---
4
- {{ content }}
@@ -1,4 +0,0 @@
1
- ---
2
- layout: slides-docgen
3
- ---
4
- {{ content }}
Binary file
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "default-docgen";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "latex-docgen";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "mla-docgen";
@@ -1,3 +0,0 @@
1
- ---
2
- ---
3
- @import "slides-docgen";