drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tshi...@apache.org
Subject [1/2] drill git commit: Basic documentation setup
Date Wed, 07 Jan 2015 18:19:05 GMT
Repository: drill
Updated Branches:
  refs/heads/gh-pages 704aba51e -> b5c6557e4


Basic documentation setup


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/8ac0d950
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/8ac0d950
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/8ac0d950

Branch: refs/heads/gh-pages
Commit: 8ac0d9504cb6d3505433f35753c1ef60ae2da05a
Parents: 704aba5
Author: Tomer Shiran <tshiran@gmail.com>
Authored: Tue Jan 6 22:22:47 2015 -0800
Committer: Tomer Shiran <tshiran@gmail.com>
Committed: Tue Jan 6 22:22:47 2015 -0800

----------------------------------------------------------------------
 _data/docs.json       | 22 ++++++++++++++++++++++
 _layouts/docpage.html |  9 +++++++++
 docs/aaa-aaa.md       |  7 +++++++
 docs/bbb-bbb.md       |  7 +++++++
 docs/ccc-ccc.md       |  7 +++++++
 docs/ddd-ddd.md       |  0
 docs/eee-eee.md       |  0
 docs/index.html       | 21 +++++++++++++++++++++
 8 files changed, 73 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/_data/docs.json
----------------------------------------------------------------------
diff --git a/_data/docs.json b/_data/docs.json
new file mode 100644
index 0000000..cb8f1c4
--- /dev/null
+++ b/_data/docs.json
@@ -0,0 +1,22 @@
+[
+  {
+    "title": "User Guide",
+    "children": [
+      {
+        "title": "Views",
+        "children": [
+          { "title": "Aaa Aaa", "name": "aaa-aaa" },
+          { "title": "Bbb Bbb", "name": "bbb-bbb" }
+        ]
+      },
+      {
+        "title": "SQL Syntax",
+        "children": [
+          { "title": "Ccc Ccc", "name": "ccc-ccc" },
+          { "title": "Ddd Ddd", "name": "ddd-ddd" },
+          { "title": "Eee Eee", "name": "eee-eee" }
+        ]
+      }
+    ]
+  }
+] 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/_layouts/docpage.html
----------------------------------------------------------------------
diff --git a/_layouts/docpage.html b/_layouts/docpage.html
new file mode 100644
index 0000000..31d2871
--- /dev/null
+++ b/_layouts/docpage.html
@@ -0,0 +1,9 @@
+---
+layout: default
+---
+<div class="int_title">
+<h1>{{ page.title }}</h1>
+{% if page.description %}<p>{{ page.description }}</p>{% endif %}
+</div>
+
+<div class="int_text" align="left">{{ content }}</div>

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/aaa-aaa.md
----------------------------------------------------------------------
diff --git a/docs/aaa-aaa.md b/docs/aaa-aaa.md
new file mode 100644
index 0000000..8d58be3
--- /dev/null
+++ b/docs/aaa-aaa.md
@@ -0,0 +1,7 @@
+---
+layout: docpage
+title: "Aaa Aaa"
+---
+This is a documentation page.
+
+It talks about As.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/bbb-bbb.md
----------------------------------------------------------------------
diff --git a/docs/bbb-bbb.md b/docs/bbb-bbb.md
new file mode 100644
index 0000000..66929da
--- /dev/null
+++ b/docs/bbb-bbb.md
@@ -0,0 +1,7 @@
+---
+layout: docpage
+title: "Bbb Bbb"
+---
+This is a documentation page.
+
+It talks about Bs.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/ccc-ccc.md
----------------------------------------------------------------------
diff --git a/docs/ccc-ccc.md b/docs/ccc-ccc.md
new file mode 100644
index 0000000..c30a5b4
--- /dev/null
+++ b/docs/ccc-ccc.md
@@ -0,0 +1,7 @@
+---
+layout: docpage
+title: "Ccc Ccc"
+---
+This is a documentation page.
+
+It talks about Cs.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/ddd-ddd.md
----------------------------------------------------------------------
diff --git a/docs/ddd-ddd.md b/docs/ddd-ddd.md
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/eee-eee.md
----------------------------------------------------------------------
diff --git a/docs/eee-eee.md b/docs/eee-eee.md
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/drill/blob/8ac0d950/docs/index.html
----------------------------------------------------------------------
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..8ebba1a
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,21 @@
+---
+layout: page
+title: Documentation
+---
+Table of contents:
+
+<ul>
+{% for book in site.data.docs %}
+  <li>{{ book.title }}</li>
+  <ul>
+  {% for section in book.children %}
+    <li>{{ section.title }}</li>
+    <ul>
+    {% for chapter in section.children %}
+      <li><a href="{{ site.baseurl }}/docs/{{ chapter.name }}/">{{ chapter.title
}}</a></li>
+    {% endfor %}
+    </ul>
+  {% endfor %}
+  </ul>
+{% endfor %}
+</ul>
\ No newline at end of file


Mime
View raw message