Skip to content

Commit 3c5b604

Browse files
committed
add doc index.html and combined pdf
1 parent 0d38de2 commit 3c5b604

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

doc/index.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
layout: doc
3+
title: Documentation
4+
doctypes:
5+
- tutorial
6+
- manual
7+
---
8+
9+
<div class="container mtb">
10+
<div class="row">
11+
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
12+
<div class="list-group">
13+
<div class="list-group-item list-group-item-success centered">
14+
<h4><a href="iqtree-doc.pdf"><i class="fa fa-file-pdf-o fa-2x" aria-hidden="true"></i> IQ-TREE Tutorials and Manual in one PDF</a></h4>
15+
</div>
16+
</div>
17+
</div>
18+
</div>
19+
<div class="row">
20+
{% for dt in page.doctypes %}
21+
<div class="col-sm-6">
22+
{% assign sorted_posts = site.pages | where: 'doctype', dt | sort: 'docid' %}
23+
{% for post in sorted_posts %}
24+
<!-- Document -->
25+
<div class="well">
26+
<h2>{{ post.title }}</h2>
27+
<p>{{ post.description }}</p>
28+
{% if post.sections %}
29+
<ul>
30+
{% for section in post.sections %}
31+
{% if post.sections_new_page %}
32+
<li><a href="{{ post.url | prepend: site.baseurl }}{{ section.url }}">{{ section.name }}</a></li>
33+
{% else %}
34+
<li><a href="{{ post.url | prepend: site.baseurl }}#{{ section.url }}">{{ section.name }}</a></li>
35+
{% endif %}
36+
{% endfor %}
37+
</ul>
38+
{% endif %}
39+
<p><a href="{{ post.url | prepend: site.baseurl }}" class="btn btn-primary" role="button">&#8594; Read All {{post.title}} Here</a></p>
40+
</div>
41+
{% endfor %}
42+
</div>
43+
{% endfor %}
44+
</div><!--/row -->
45+
</div><!--/container -->

doc/iqtree-doc.pdf

1.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)