aboutsummaryrefslogtreecommitdiffstats
path: root/site/_layouts/doc.html
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2019-03-22 18:28:58 +0100
committerClément Bénier <clement.benier@iot.bzh>2019-03-22 18:28:58 +0100
commit43449b1d43f6a7f3ecb13b74eefb378739492679 (patch)
treef0e0ba792a163080221829ef33bfeff16664c577 /site/_layouts/doc.html
parent3aa14dad94d98ee3a8daefb0cf9ca80766a34542 (diff)
wip
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'site/_layouts/doc.html')
-rw-r--r--site/_layouts/doc.html5
1 files changed, 3 insertions, 2 deletions
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] %}