From 43449b1d43f6a7f3ecb13b74eefb378739492679 Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Fri, 22 Mar 2019 18:28:58 +0100 Subject: wip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Bénier --- conf/_dev.yml | 2 +- site/_includes/header.html | 14 +++++++------- site/_layouts/doc.html | 5 +++-- site/docs/docsearch.html | 14 +++++++------- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/conf/_dev.yml b/conf/_dev.yml index d281aa7..15a8dd4 100644 --- a/conf/_dev.yml +++ b/conf/_dev.yml @@ -1,4 +1,4 @@ -baseurl: "" +baseurl: "/next" default_linked_docs_version: master destination: build-dev exclude: diff --git a/site/_includes/header.html b/site/_includes/header.html index 3450e72..a421f1c 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -27,31 +27,31 @@ diff --git a/site/_layouts/doc.html b/site/_layouts/doc.html index 61ffdf0..c064ccf 100644 --- a/site/_layouts/doc.html +++ b/site/_layouts/doc.html @@ -3,7 +3,7 @@ layout: base docs_tab: true analytics_id: {{site.ganalytics}} -scripts: +scripts: - lib/raphael-min.js - lib/underscore-min.js - lib/sequence-diagram-min.js @@ -15,7 +15,8 @@ scripts: set some constants {% endcomment %} {% assign ALL_PAGES = site.data.all-pages %} -{% assign DOCSDIR = site.docsurl %} +{% assign DOCSDIR = site.baseurl %} +{% capture DOCSDIR %}{{DOCSDIR}}{{ site.docsurl }}{% endcapture %} {% assign TOCSDIR = site.data.tocs %} {% assign TOCFILE = TOCSDIR[page.tocdir][page.tocfile] %} diff --git a/site/docs/docsearch.html b/site/docs/docsearch.html index 7e671a5..3c28cdc 100644 --- a/site/docs/docsearch.html +++ b/site/docs/docsearch.html @@ -5,13 +5,13 @@ {% include head.html %} -

Getting started

-

Hardware Support

-

Architecture Guides

-

Developer Guides

-

APIs & Services

-

How To

-

Reference

+

Getting started

+

Hardware Support

+

Architecture Guides

+

Developer Guides

+

APIs & Services

+

How To

+

Reference

{% include algolia.html %} -- cgit 1.2.3-korg