docgen-tool 3.0.3 → 3.0.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 (29) hide show
  1. package/dist/docgen.js +0 -0
  2. package/dist/source/docgen.js +1 -1
  3. package/dist/source/example/contents.json +12 -0
  4. package/dist/source/example/files/images/logo.png +0 -0
  5. package/dist/source/example/index.txt +4 -0
  6. package/dist/source/example/parameters.json +37 -0
  7. package/dist/source/example/release-notes.txt +1 -0
  8. package/dist/source/optional/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  9. package/dist/source/optional/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  10. package/dist/source/optional/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  11. package/dist/source/optional/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  12. package/dist/source/optional/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  13. package/dist/source/optional/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  14. package/dist/source/optional/katex/fonts/KaTeX_Math-Regular.woff +0 -0
  15. package/dist/source/optional/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  16. package/dist/source/optional/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  17. package/dist/source/optional/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  18. package/dist/source/optional/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  19. package/dist/source/pdf-contents.xsl +71 -0
  20. package/dist/source/pdf-stylesheet.css +59 -0
  21. package/dist/source/require/docgen.css +138 -0
  22. package/dist/source/require/katexInjector.js +18 -0
  23. package/dist/source/require/print.css +26 -0
  24. package/dist/source/require/webknife/fonts/DroidSansMono.woff +0 -0
  25. package/dist/source/require/webknife/fonts/OpenSans.woff +0 -0
  26. package/dist/source/require/webknife/fonts/OpenSansBold.woff +0 -0
  27. package/dist/source/require/webknife/fonts/OpenSansBoldItalic.woff +0 -0
  28. package/dist/source/require/webknife/fonts/OpenSansItalic.woff +0 -0
  29. package/package.json +3 -2
package/dist/docgen.js CHANGED
File without changes
@@ -23,7 +23,7 @@ markdown.validateLink = function () {
23
23
  */
24
24
  function DocGen(process) {
25
25
  var mainProcess = process;
26
- var version = '3.0.2';
26
+ var version = '3.0.4';
27
27
  var wkhtmltopdfVersion = 'wkhtmltopdf 0.12.6 (with patched qt)'; //output from wkhtmltopdf -V
28
28
  var options;
29
29
  var templates = {};
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "heading": "Quick Start",
4
+ "column": 1,
5
+ "pages": [
6
+ {
7
+ "title": "Overview",
8
+ "source": "index.txt"
9
+ }
10
+ ]
11
+ }
12
+ ]
@@ -0,0 +1,4 @@
1
+ This is the empty template page for DocGen.
2
+
3
+ To get started, edit **index.txt** and run DocGen. For more help see the
4
+ [user guide](http://mtmacdonald.github.io/docgen/).
@@ -0,0 +1,37 @@
1
+ {
2
+ "title": "DocGen - empty template",
3
+ "name": "Template",
4
+ "version": "1.0.0",
5
+ "date": "XX/XX/XXXX",
6
+ "organization": {
7
+ "name": "",
8
+ "url": ""
9
+ },
10
+ "author": {
11
+ "name": "",
12
+ "url": ""
13
+ },
14
+ "owner": {
15
+ "name": "",
16
+ "url": ""
17
+ },
18
+ "contributors": [
19
+ {
20
+ "name": "",
21
+ "url": ""
22
+ }
23
+ ],
24
+ "website": {
25
+ "name": "",
26
+ "url": ""
27
+ },
28
+ "backlink": {
29
+ "name": "",
30
+ "url": ""
31
+ },
32
+ "module": "",
33
+ "id": "",
34
+ "summary": "",
35
+ "marking": "",
36
+ "legalese": ""
37
+ }
@@ -0,0 +1 @@
1
+ There are no releases and no changes recorded for this product yet.
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsl:stylesheet version="2.0"
3
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
+ xmlns:outline="http://wkhtmltopdf.org/outline"
5
+ xmlns="http://www.w3.org/1999/xhtml">
6
+ <xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
7
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
8
+ indent="yes" />
9
+ <xsl:template match="outline:outline">
10
+ <html>
11
+ <head>
12
+ <title>Table of Contents</title>
13
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14
+ <style>
15
+ h1, ul, a {
16
+ font-family: 'open-sans', Arial, sans-serif;
17
+ color: #444;
18
+ }
19
+ h1 {
20
+ text-align: center;
21
+ font-size: 21px;
22
+ color: #385691;
23
+ }
24
+ div {
25
+ border-bottom: 1px dotted #ddd;
26
+ }
27
+ span {
28
+ float: right;
29
+ }
30
+ li {
31
+ list-style: none;
32
+ }
33
+ ul {
34
+ font-size: 14px;
35
+ line-height: 20px;
36
+ }
37
+ ul ul {font-size: 90%; }
38
+ ul {padding-left: 0em;}
39
+ ul ul {padding-left: 1em;}
40
+ a {text-decoration: none; }
41
+ </style>
42
+ </head>
43
+ <body>
44
+ <h1>Table of Contents</h1>
45
+ <ul><xsl:apply-templates select="outline:item/outline:item"/></ul>
46
+ </body>
47
+ </html>
48
+ </xsl:template>
49
+ <xsl:template match="outline:item">
50
+ <li>
51
+ <xsl:if test="@title!=''">
52
+ <div>
53
+ <a>
54
+ <xsl:if test="@link">
55
+ <xsl:attribute name="href"><xsl:value-of select="@link"/></xsl:attribute>
56
+ </xsl:if>
57
+ <xsl:if test="@backLink">
58
+ <xsl:attribute name="name"><xsl:value-of select="@backLink"/></xsl:attribute>
59
+ </xsl:if>
60
+ <xsl:value-of select="@title" />
61
+ </a>
62
+ <span> <xsl:value-of select="@page" /> </span>
63
+ </div>
64
+ </xsl:if>
65
+ <ul>
66
+ <xsl:comment>added to prevent self-closing tags in QtXmlPatterns</xsl:comment>
67
+ <xsl:apply-templates select="outline:item"/>
68
+ </ul>
69
+ </li>
70
+ </xsl:template>
71
+ </xsl:stylesheet>