componentDoc
Advanced tools
@@ -415,3 +415,3 @@ /* | ||
| buildHTML({components: makeArrays()}, options.outputFolder, options); | ||
| buildHTML({caption: options.caption, components: makeArrays()}, options.outputFolder, options); | ||
@@ -418,0 +418,0 @@ if (options.buildPDF === "true") |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "description": "JavaScript lightweight documentation generator", | ||
| "version": "0.9.0", | ||
| "version": "0.9.1", | ||
| "license": "MIT", | ||
@@ -8,0 +8,0 @@ "author": { |
| {{#if parameter}} | ||
| {{#each parameter as |item|}} | ||
| <h4 id="{{id}}">{{displayName}}</h4> | ||
| <div class="docuDetail"> | ||
| <div class="docuDetailEntry"> | ||
| <div class="docuDetailLabel">Name: </div> | ||
| <div class="docuDetailContent">{{item.name}}</div> | ||
| </div> | ||
| <div class="docuDetailEntry"> | ||
| <div class="docuDetailLabel">Parameter: </div> | ||
| <div class="docuDetailContent">{{item.param}}</div> | ||
| </div> | ||
| {{#if item.part}} | ||
| <div class="docuDetailContainer"> | ||
| <h4 id="{{id}}">{{displayName}}</h4> | ||
| <div class="docuDetail"> | ||
| <div class="docuDetailEntry"> | ||
| <div class="docuDetailLabel">Part: </div> | ||
| <div class="docuDetailContent">{{item.part}}</div> | ||
| <div class="docuDetailLabel">Name: </div> | ||
| <div class="docuDetailContent">{{item.name}}</div> | ||
| </div> | ||
| {{/if}} | ||
| {{#if item.param}} | ||
| <div class="docuDetailEntry"> | ||
| <div class="docuDetailLabel">Parameter: </div> | ||
| <div class="docuDetailContent">{{item.param}}</div> | ||
| </div> | ||
| {{/if}} | ||
| {{#if item.part}} | ||
| <div class="docuDetailEntry"> | ||
| <div class="docuDetailLabel">Part: </div> | ||
| <div class="docuDetailContent">{{item.part}}</div> | ||
| </div> | ||
| {{/if}} | ||
| </div> | ||
| <p>{{item.desc}}</p> | ||
| </div> | ||
| <p>{{item.desc}}</p> | ||
| {{> targetsPartial }} | ||
| {{/each}} | ||
| {{/if}} |
+53
-83
@@ -56,7 +56,2 @@ <!DOCTYPE html> | ||
| /*.docuFooter .docuFooterLogo { | ||
| height: 42px; | ||
| background: url(/assets/bgetem_footer.jpg) no-repeat 60% 0; | ||
| }*/ | ||
| ul, ol { | ||
@@ -141,2 +136,11 @@ margin-top: 0; | ||
| div.spec .docuDetailContainer { | ||
| border-top: 1px solid #14426f; | ||
| font-size: 0; | ||
| } | ||
| div.spec .docuDetailContainer:first-child { | ||
| border-top: none; | ||
| } | ||
| .docuIcon { | ||
@@ -208,13 +212,6 @@ margin-right: 6px; | ||
| color: #14426f !important; | ||
| padding-top: 10px; | ||
| padding-bottom: 0; | ||
| margin-bottom: 4px; | ||
| font-size: 14px; | ||
| border-top: 1px solid #14426f; | ||
| } | ||
| div.spec h4:first-child { | ||
| border-top: none; | ||
| } | ||
| a, a:hover, a:visited { | ||
@@ -260,3 +257,3 @@ color: #444444; | ||
| div.frontpage, div.rearpage { | ||
| div.frontpage { | ||
| display: none; | ||
@@ -293,2 +290,6 @@ } | ||
| div.spec .docuTocHeadline { | ||
| display: none; | ||
| } | ||
| div.spec h1 { | ||
@@ -302,6 +303,2 @@ margin: -20px 0 5px 0; | ||
| div.spec h4 { | ||
| margin: 0 0 -20px 0; | ||
| } | ||
| div.spec { | ||
@@ -402,11 +399,2 @@ background-color: #ffffff; | ||
| @page rearpage { | ||
| margin-left: 0cm; | ||
| margin-right: 0cm; | ||
| margin-top: 0cm; | ||
| margin-bottom: 0cm; | ||
| padding-top: 0cm; | ||
| padding-bottom: 0cm; | ||
| } | ||
| body { | ||
@@ -424,2 +412,6 @@ margin: 0; | ||
| .docuContent, .docuDetailContainer, .docuTargets { | ||
| page-break-inside: avoid; | ||
| } | ||
| .docuDetail .docuDetailEntry .docuDetailLabel, .docuDetail .docuDetailEntry .docuDetailContent, | ||
@@ -430,2 +422,7 @@ .docuTargets .docuTargetsRow .docuTargetsComp, .docuTargets .docuTargetsRow .docuTargetsName { | ||
| div.spec .docuTocHeadline { | ||
| font-size: 18px; | ||
| font-weight: bold; | ||
| } | ||
| .break { | ||
@@ -435,3 +432,3 @@ page-break-before: always; | ||
| div.frontpage, div.rearpage { | ||
| div.frontpage { | ||
| width: 21cm !important; | ||
@@ -443,7 +440,7 @@ height: 29.7cm !important; | ||
| position: absolute; | ||
| color: white !important; | ||
| color: #14426f !important; | ||
| font-size: 32px; | ||
| font-weight: bold; | ||
| left: 1.5cm; | ||
| top: 22.5cm; | ||
| left: 1cm; | ||
| top: 16cm; | ||
| white-space: normal; | ||
@@ -456,7 +453,7 @@ width: 18cm; | ||
| position: absolute; | ||
| color: white !important; | ||
| color: #14426f !important; | ||
| font-size: 40px; | ||
| font-weight: bold; | ||
| left: 1.5cm; | ||
| top: 24.5cm; | ||
| left: 1cm; | ||
| top: 18cm; | ||
| } | ||
@@ -466,42 +463,8 @@ | ||
| position: absolute; | ||
| color: white !important; | ||
| color: #14426f !important; | ||
| font-size: 20px; | ||
| left: 1.5cm; | ||
| top: 26.5cm; | ||
| left: 1cm; | ||
| top: 20cm; | ||
| } | ||
| div.rearpage .rearline1 { | ||
| position: absolute; | ||
| color: black !important; | ||
| font-size: 14px; | ||
| left: 1.5cm; | ||
| top: 2cm; | ||
| white-space: normal; | ||
| width: 18cm; | ||
| line-height: 20px; | ||
| } | ||
| div.rearpage .rearline2 { | ||
| position: absolute; | ||
| color: white !important; | ||
| font-size: 14px; | ||
| left: 1.5cm; | ||
| top: 4cm; | ||
| white-space: normal; | ||
| width: 18cm; | ||
| line-height: 20px; | ||
| } | ||
| div.frontpage { | ||
| background: url('./img/01_ET_Frontpage.png') no-repeat 0 0 !important; | ||
| background-size: contain !important; | ||
| page: frontpage; | ||
| } | ||
| div.rearpage { | ||
| background: url('./img/01_ET_Rearpage.png') no-repeat 0 0 !important; | ||
| background-size: contain !important; | ||
| page: rearpage; | ||
| } | ||
| h1 { | ||
@@ -523,2 +486,6 @@ prince-bookmark-level: 1; | ||
| div.spec div.docuComponentContainer { | ||
| page-break-before: always; | ||
| } | ||
| div > ol a[href]::after { | ||
@@ -543,2 +510,6 @@ color: black !important; | ||
| div.spec .docuHeading { | ||
| page-break-after: avoid; | ||
| } | ||
| div.spec h1 { | ||
@@ -556,6 +527,2 @@ margin: 0 0 -10px 0; | ||
| div.spec h4 { | ||
| margin: 0 0 -10px 0; | ||
| } | ||
| div.docuFooter { | ||
@@ -637,2 +604,6 @@ display: none; | ||
| <body> | ||
| <div class="frontpage docuImpressum"> | ||
| <div class="frontline1">Komponenten Documentation</div> | ||
| <div class="frontline2">{{caption}}</div> | ||
| </div> | ||
| <div class="page"> | ||
@@ -646,5 +617,3 @@ <!-- Footer must be on top of the page since it is taken out of flow from princeXML and then inserted into every page footer --> | ||
| <div class="docuPrintFooter"> | ||
| <div class="docuLeft">Stand: Oktober 2016</div> | ||
| <div class="docuCenter">Dokumentation zu den Komponenten | ||
| </div> | ||
| <div class="docuLeft">Dokumentation zu den Komponenten</div> | ||
| <div class="docuRight"></div> | ||
@@ -656,2 +625,3 @@ </div> | ||
| <div class="spec"> | ||
| <div class="docuTocHeadline">Inhaltsverzeichnis</div> | ||
| <ol> | ||
@@ -666,22 +636,22 @@ {{#each components}} | ||
| <div class="docuComponentContainer" data-id="{{id}}"> | ||
| <h1 id={{id}} title="{{package}}">{{package}}</h1> | ||
| <h1 class="docuHeading" id={{id}} title="{{package}}">{{package}}</h1> | ||
| <p>{{desc}}</p> | ||
| {{#if interface}} | ||
| {{#if interface.api}} | ||
| <h2>API</h2> | ||
| <h2 class="docuHeading">API</h2> | ||
| {{> tocTableAPIPartial }} | ||
| {{/if}} | ||
| {{#if interface.events}} | ||
| <h2>EVENTS</h2> | ||
| <h2 class="docuHeading">EVENTS</h2> | ||
| {{> tocTableEventsPartial }} | ||
| {{/if}} | ||
| {{#if interface.model}} | ||
| <h2>MODEL</h2> | ||
| <h2 class="docuHeading">MODEL</h2> | ||
| {{> tocTableModelPartial }} | ||
| {{/if}} | ||
| {{#if interface.ui}} | ||
| <h2>UI</h2> | ||
| <h2 class="docuHeading">UI</h2> | ||
| {{> tocTableUIPartial }} | ||
| {{/if}} | ||
| <h3>Details</h3> | ||
| <h3 class="docuHeading">Details</h3> | ||
| <div class="docuDetails"> | ||
@@ -688,0 +658,0 @@ {{#if interface.api}} |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
53726
-1.19%