diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-11-11 13:07:55 +0100 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-11-11 13:07:55 +0100 |
commit | 777f9afc5f5a3d8ff90a8046314635404dcdcd99 (patch) | |
tree | 71b67228a54ad41609fefdeb3fe5f2de8b630bac | |
parent | 0eb44e21385b12085c79ef9a2378f08a778a9674 (diff) |
webdocs-agl: add devguides section
Change-Id: I0fa37fd5fefc2ded86f1a3dd01837e3cac114ae0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r-- | conf/_config.yml | 1 | ||||
-rw-r--r-- | site/_includes/header.html | 6 | ||||
-rw-r--r-- | site/_layouts/devguides-en.html (renamed from site/_layouts/appfw-en.html) | 0 | ||||
-rw-r--r-- | site/_tocs/devguides/fetched_files.yml | 23 | ||||
-rw-r--r-- | site/_tocs/devguides/toc_dev_en.yml | 8 |
5 files changed, 36 insertions, 2 deletions
diff --git a/conf/_config.yml b/conf/_config.yml index f4c225e..9be23b4 100644 --- a/conf/_config.yml +++ b/conf/_config.yml @@ -67,7 +67,6 @@ keep_files: [".git", ".svn", "wiki-images", "images", "downloads"] lsi: false # don't produce an index for related posts safe: false # disables plugins - # this is default github rendering engine markdown: kramdown kramdown: diff --git a/site/_includes/header.html b/site/_includes/header.html index b26533b..527926e 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -3,13 +3,13 @@ <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> <div class="navbar-header"> + <a class="navbar-brand" href="{{ site.baseurl }}/"><img id="logo_top" src="{{ site.baseurl }}{{ site.logo.navbar }}"/></a> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="{{ site.baseurl }}/"><img id="logo_top" src="{{ site.baseurl }}{{ site.logo.navbar }}"/></a> </div> <div id="navbar" class="navbar-collapse collapse"> <div class="nav_bar_center"> @@ -25,6 +25,10 @@ <li {% if page.specs_tab %}class="active"{% endif %}> <a href="{{ site.docsurl }}/architecture/en/{{ site.default_linked_docs_version }}/">Architecture Guides</a> </li> + + <li {% if page.specs_tab %}class="active"{% endif %}> + <a href="{{ site.docsurl }}/devguides/en/{{ site.default_linked_docs_version }}/">Developer Guides</a> + </li> <li {% if page.appfw_tab %}class="active"{% endif %}> <a href="{{ site.docsurl }}/apis_services/en/{{ site.default_linked_docs_version }}/">APIs & Services</a> diff --git a/site/_layouts/appfw-en.html b/site/_layouts/devguides-en.html index 1a8a097..1a8a097 100644 --- a/site/_layouts/appfw-en.html +++ b/site/_layouts/devguides-en.html diff --git a/site/_tocs/devguides/fetched_files.yml b/site/_tocs/devguides/fetched_files.yml new file mode 100644 index 0000000..4f18585 --- /dev/null +++ b/site/_tocs/devguides/fetched_files.yml @@ -0,0 +1,23 @@ +# REFERENCE ENTRY: +# - +# url_fetch : gitweb fetch URL (format string with token %repo% %uri% +# GERRIT_FETCH= "https://gerrit.automotivelinux.org/gerrit/gitweb?p=%repo%;a=blob_plain;f=%source%;hb=%commit%" +# GITHUB_FETCH= "https://raw.githubusercontent.com/%repo%/%commit%/%source%" +# repository: git repository name +# GITHUB_EDIT= "https://raw.github.com/%repo%/blob/%commit%/%source%" +# git_commit: git commit when not default +# destination_prefix: optional destination prefix +# documents: +# - +# source : "source patch within url_fetch" +# destination : "optional: destination path default=path.join(destination_prefix+source)" +# label: "optional: friendly name for submenu default=basename(source) overloaded by file content" +# title: "optional: info about document (default label, overloaded by file content)" +# + +url_fetch : "GITHUB_FETCH" +commit : "master" +#git_commit : # default defined in _tocs/xxxx/latest.yml +#dst_prefix : # destination_path = destination_prefix + (document.destination || document.source) + +repositories: diff --git a/site/_tocs/devguides/toc_dev_en.yml b/site/_tocs/devguides/toc_dev_en.yml new file mode 100644 index 0000000..da3e09d --- /dev/null +++ b/site/_tocs/devguides/toc_dev_en.yml @@ -0,0 +1,8 @@ +# WARNING: +# - TOC should reference .HTML and .md (Index OK but Error 404) +# - do not forget to run 'docbuild --tocs' after any changes + +name: Developer Guides +template: generated_index.html +children: + |