committing new version of jekyll doc theme -- 5.0, with some refinements to come with the documentation
This commit is contained in:
18
pdfconfigs/config_mydoc_pdf.yml
Normal file
18
pdfconfigs/config_mydoc_pdf.yml
Normal file
@ -0,0 +1,18 @@
|
||||
destination: _site/
|
||||
url: "http://127.0.0.1:4010"
|
||||
baseurl: "/mydoc-pdf"
|
||||
port: 4010
|
||||
output: pdf
|
||||
product: mydoc
|
||||
print_title: Jekyll theme for documentation — mydoc product
|
||||
print_subtitle: version 5.0
|
||||
output: pdf
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: "pages"
|
||||
values:
|
||||
layout: "page_print"
|
||||
comments: true
|
||||
search: true
|
18
pdfconfigs/config_product1_pdf.yml
Normal file
18
pdfconfigs/config_product1_pdf.yml
Normal file
@ -0,0 +1,18 @@
|
||||
destination: _site/
|
||||
url: "http://127.0.0.1:4011"
|
||||
baseurl: "/product1-pdf"
|
||||
port: 4011
|
||||
output: pdf
|
||||
product: product1
|
||||
print_title: Product 1 documentation
|
||||
print_subtitle: version 1.0
|
||||
output: pdf
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: "pages"
|
||||
values:
|
||||
layout: "page_print"
|
||||
comments: true
|
||||
search: true
|
18
pdfconfigs/config_product2_pdf.yml
Normal file
18
pdfconfigs/config_product2_pdf.yml
Normal file
@ -0,0 +1,18 @@
|
||||
destination: _site/
|
||||
url: "http://127.0.0.1:4012"
|
||||
baseurl: "/product2-pdf"
|
||||
port: 4012
|
||||
output: pdf
|
||||
product: product2
|
||||
print_title: Product 2 documentation
|
||||
print_subtitle: version 1.0
|
||||
output: pdf
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: "pages"
|
||||
values:
|
||||
layout: "page_print"
|
||||
comments: true
|
||||
search: true
|
28
pdfconfigs/prince-list.txt
Normal file
28
pdfconfigs/prince-list.txt
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
layout: none
|
||||
search: exclude
|
||||
---
|
||||
|
||||
{% include custom/sidebarconfigs.html %}
|
||||
|
||||
|
||||
{% for entry in sidebar_pdf %}
|
||||
{% for subcategory in entry.subcategories %}
|
||||
{% if subcategory.output contains "pdf" %}
|
||||
{% for item in subcategory.items %}
|
||||
{% if item.output contains "pdf" %}
|
||||
{{site.url}}{{site.baseurl}}{{item.url }}
|
||||
{% for thirdlevel in item.thirdlevel %}
|
||||
{% if thirdlevel.output contains "pdf" %}
|
||||
{% for deeplevel in thirdlevel.thirdlevelitems %}
|
||||
{% if deeplevel.output contains "pdf" %}
|
||||
{{site.url}}{{site.baseurl}}{{deeplevel.url}}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
23
pdfconfigs/titlepage.html
Normal file
23
pdfconfigs/titlepage.html
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
type: title
|
||||
search: exclude
|
||||
permalink: /titlepage/
|
||||
---
|
||||
<div class="printTitleArea">
|
||||
<div class="printTitle">{{site.print_title}}</div>
|
||||
<div class="printSubtitle">{{site.print_subtitle}}</div>
|
||||
<div class="lastGeneratedDate">Last generated: {{ site.time | date: '%B %d, %Y' }}</div>
|
||||
<hr />
|
||||
|
||||
<div class="printTitleImage">
|
||||
<img src="{{site.url}}/{{site.baseurl}}/images/company_logo_big.png"/>
|
||||
</div>
|
||||
|
||||
<div class="copyrightBoilerplate">
|
||||
<p>© 2016 Your company. This is a boilerplate copyright statement... All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
45
pdfconfigs/tocpage.html
Normal file
45
pdfconfigs/tocpage.html
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
type: frontmatter
|
||||
search: exclude
|
||||
permalink: /tocpage/
|
||||
---
|
||||
|
||||
<!-- new page -->
|
||||
<div id="navig">
|
||||
<h1>Table of Contents</h1>
|
||||
|
||||
{% include custom/sidebarconfigs.html %}
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
{% for entry in sidebar_pdf %}
|
||||
{% for subcategory in entry.subcategories %}
|
||||
{% if subcategory.output contains "pdf" and subcategory.type != "frontmatter" %}
|
||||
<li class="sectionHead">{{ subcategory.title }}
|
||||
<ul>
|
||||
{% for item in subcategory.items %}
|
||||
{% if item.output contains "pdf" and item.type != "frontmatter"%}
|
||||
<li><a href="{{item.url | prepend: site.baseurl}}">{{item.title}}</a>
|
||||
{% for thirdlevel in item.thirdlevel %}
|
||||
{% if thirdlevel.audience contains "pdf" and thirdlevel.type != "frontmatter" %}
|
||||
<li class="sectionHead">{{ thirdlevel.title }}
|
||||
<ul>
|
||||
{% for deeplevel in thirdlevel.thirdlevelitems%}
|
||||
{% if deeplevel.output contains "pdf" and deeplevel.type != "frontmatter"%}
|
||||
<li><a href="{{deeplevel.url | prepend: site.baseurl}}">{{deeplevel.title}}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Reference in New Issue
Block a user