aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-14 19:21:51 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-14 19:21:51 +0100
commit0b5b4c600f95d0adb5ccccc3eb0f753c47a39067 (patch)
tree178ee9724dbf2c7b16bac5b5b87413e4347032d2
parent76a6c0d3ca4fc1f935b60d1b2848f497e0957113 (diff)
webdocs: add hardware and devguides sections; fix processing for non-MD files
Change-Id: If85a4b894d39d7d564725729cd3d59c38e328a23 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r--.gitignore6
-rw-r--r--site/_tocs/devguides/fetched_files.yml30
-rw-r--r--site/_tocs/devguides/toc_dev_en.yml11
-rw-r--r--site/_tocs/hardware/fetched_files.yml18
-rw-r--r--site/_tocs/hardware/toc_dev_en.yml8
-rw-r--r--site/docs/docsearch.html7
6 files changed, 69 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index 5df1b9b..026e6ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
.sass-cache
+site/docs
+!site/docs/docsearch.html
+build-dev
+conf/_release.yml
+site/_data/all-pages.yml
+site/_data/tocs
diff --git a/site/_tocs/devguides/fetched_files.yml b/site/_tocs/devguides/fetched_files.yml
index 86318a4..fc9a449 100644
--- a/site/_tocs/devguides/fetched_files.yml
+++ b/site/_tocs/devguides/fetched_files.yml
@@ -16,4 +16,34 @@
#
url_fetch : "GERRIT_FETCH"
+git_commit: master
repositories:
+-
+ git_name: AGL/meta-agl
+ documents:
+ - source: README-AGL.md
+ destination: AGL.md
+ label: AGL Overview
+ - source: README.md
+ destination: meta-agl.md
+ label: meta-agl
+-
+ git_name: AGL/meta-agl-demo
+ documents:
+ - source: README.md
+ destination: meta-agl-demo.md
+ label: meta-agl-demo
+-
+ git_name: AGL/meta-agl-devel
+ documents:
+ - source: README.md
+ destination: meta-agl-devel.md
+ label: meta-agl-devel
+-
+ git_name: AGL/meta-agl-extra
+ documents:
+ - source: meta-sota/README.md
+ destination: meta-sota.md
+ label: meta-sota
+
+
diff --git a/site/_tocs/devguides/toc_dev_en.yml b/site/_tocs/devguides/toc_dev_en.yml
index 5511f41..2bf81a1 100644
--- a/site/_tocs/devguides/toc_dev_en.yml
+++ b/site/_tocs/devguides/toc_dev_en.yml
@@ -2,8 +2,15 @@
# - TOC should reference .HTML and .md (Index OK but Error 404)
# - do not forget to run 'docbuild --tocs' after any changes
-name: APIs & Services
+name: Developer Guides
template: generated_index.html
children:
-
+-
+ name: Yocto layers
+ children:
+ - url: reference/AGL.html
+ - url: reference/meta-agl.html
+ - url: reference/meta-agl-demo.html
+ - url: reference/meta-agl-devel.html
+ - url: reference/meta-sota.html
diff --git a/site/_tocs/hardware/fetched_files.yml b/site/_tocs/hardware/fetched_files.yml
index 1e0c4c7..6acd117 100644
--- a/site/_tocs/hardware/fetched_files.yml
+++ b/site/_tocs/hardware/fetched_files.yml
@@ -15,10 +15,22 @@
# title: "optional: info about document (default label, overloaded by file content)"
#
-url_fetch : "GITHUB_FETCH"
-url_edit : "GITHUB_EDIT"
+url_fetch : "GERRIT_FETCH"
git_commit : "master"
#dst_prefix : # destination_path = destination_prefix + (document.destination || document.source)
-repositories:
+repositories:
+-
+ git_name: AGL/meta-renesas
+ dst_prefix: renesas
+ documents:
+ - source: meta-rcar-gen2/README
+ destination: gen2.md
+ label: meta-rcar-gen2 layer
+ - source: meta-rcar-gen2/README.proprietary
+ destination: proprietary.md
+ label: Proprietary drivers
+ - source: meta-rcar-gen2/README-usbgadget.md
+ destination: usb-gadget.md
+ label: USB Gadget on Porter board
diff --git a/site/_tocs/hardware/toc_dev_en.yml b/site/_tocs/hardware/toc_dev_en.yml
index ba0c41a..46b2509 100644
--- a/site/_tocs/hardware/toc_dev_en.yml
+++ b/site/_tocs/hardware/toc_dev_en.yml
@@ -5,5 +5,9 @@
name: Hardware Support
template: generated_index.html
children:
-
-
+-
+ name: Renesas Boards
+ children:
+ - url: reference/renesas/gen2.html
+ - url: reference/renesas/proprietary.html
+ - url: reference/renesas/usb-gadget.html
diff --git a/site/docs/docsearch.html b/site/docs/docsearch.html
index 678464a..0e3c7b0 100644
--- a/site/docs/docsearch.html
+++ b/site/docs/docsearch.html
@@ -5,12 +5,11 @@
<html lang="{% if page.language %}{{ page.language }}{% else %}{{ site.language }}{% endif %}">
{% include head.html %}
<body>
-
+ <h3><a href="{{ site.docsurl }}/getting_started/en/{{ site.default_linked_docs_version }}/">Getting started</a></h3>
+ <h3><a href="{{ site.docsurl }}/hardware/en/{{ site.default_linked_docs_version }}/">Hardware Support</a></h3>
<h3><a href="{{ site.docsurl }}/architecture/en/{{ site.default_linked_docs_version }}/">Architecture Guides</a></h3>
+ <h3><a href="{{ site.docsurl }}/devguides/en/{{ site.default_linked_docs_version }}/">Developer Guides</a></h3>
<h3><a href="{{ site.docsurl }}/apis_services/en/{{ site.default_linked_docs_version }}/">APIs & Services</a></h3>
- <h3><a href="{{ site.docsurl }}/hardware/en/{{ site.default_linked_docs_version }}/">Hardware Support</a></h3>
- <h3><a href="{{ site.docsurl }}/getting_started/en/{{ site.default_linked_docs_version }}/">Getting started</a></h3>
-
{% include algolia.html %}
</body>
</html>