add docs/ to generate github page
This commit is contained in:
18
docs/pdfconfigs/config_mydoc_pdf.yml
Executable file
18
docs/pdfconfigs/config_mydoc_pdf.yml
Executable 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
docs/pdfconfigs/config_product1_pdf.yml
Executable file
18
docs/pdfconfigs/config_product1_pdf.yml
Executable 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
docs/pdfconfigs/config_product2_pdf.yml
Executable file
18
docs/pdfconfigs/config_product2_pdf.yml
Executable 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
|
27
docs/pdfconfigs/prince-list.txt
Executable file
27
docs/pdfconfigs/prince-list.txt
Executable file
@ -0,0 +1,27 @@
|
||||
---
|
||||
layout: none
|
||||
search: exclude
|
||||
---
|
||||
|
||||
{% include custom/sidebarconfigs.html %}
|
||||
|
||||
{% for entry in sidebar_pdf %}
|
||||
{% for folder in entry.folders %}
|
||||
{% if folder.output contains "pdf" %}
|
||||
{% for folderitem in folder.folderitems %}
|
||||
{% if folderitem.output contains "pdf" %}
|
||||
{{site.url}}{{site.baseurl}}{{folderitem.url}}
|
||||
{% for subfolders in folderitem.subfolders %}
|
||||
{% if subfolders.output contains "pdf" %}
|
||||
{% for subfolderitem in subfolders.subfolderitems %}
|
||||
{% if subfolderitem.output contains "pdf" %}
|
||||
{{site.url}}{{site.baseurl}}{{subfolderitem.url}}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
22
docs/pdfconfigs/titlepage.html
Executable file
22
docs/pdfconfigs/titlepage.html
Executable file
@ -0,0 +1,22 @@
|
||||
---
|
||||
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>
|
44
docs/pdfconfigs/tocpage.html
Executable file
44
docs/pdfconfigs/tocpage.html
Executable file
@ -0,0 +1,44 @@
|
||||
---
|
||||
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 folder in entry.folders %}
|
||||
{% if folder.output contains "pdf" and folder.type != "frontmatter" %}
|
||||
<li class="sectionHead">{{ folder.title }}
|
||||
<ul>
|
||||
{% for folderitem in folder.folderitems %}
|
||||
{% if folderitem.output contains "pdf" and folderitem.type != "frontmatter"%}
|
||||
<li><a href="{{folderitem.url | prepend: site.baseurl}}">{{folderitem.title}}</a>
|
||||
{% for subfolders in folderitem.subfolders %}
|
||||
{% if subfolders.output contains "pdf" and subfolders.type != "frontmatter" %}
|
||||
<li class="sectionHead">{{ subfolders.title }}
|
||||
<ul>
|
||||
{% for subfolderitem in subfolders.subfolderitems%}
|
||||
{% if subfolderitem.output contains "pdf" and subfolderitem.type != "frontmatter"%}
|
||||
<li><a href="{{subfolderitem.url | prepend: site.baseurl}}">{{subfolderitem.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