aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/AppDefaults.js6
-rw-r--r--conf/_config.yml2
-rw-r--r--site/_layouts/doc.html19
3 files changed, 18 insertions, 9 deletions
diff --git a/conf/AppDefaults.js b/conf/AppDefaults.js
index 5fbc9a8..b1e0749 100644
--- a/conf/AppDefaults.js
+++ b/conf/AppDefaults.js
@@ -25,9 +25,9 @@ config = {
// PUSH_DEST : "apache@some.sample.server:/srv/www/docs/",
// CRAWL_PROD : "http://some.sample.server/",
- PUSH_DEST : "apache@www.ovh.iot:/srv/www/iotbzh/webdocs-sample/",
- CRAWL_DEV : "http://docs.iot.bzh",
- CRAWL_PROD : "http://docs.iot.bzh",
+// PUSH_DEST : "apache@www.ovh.iot:/srv/www/iotbzh/webdocs-sample/",
+// CRAWL_DEV : "http://docs.iot.bzh",
+// CRAWL_PROD : "http://docs.iot.bzh",
LANGUAGES: ['en','fr'],
diff --git a/conf/_config.yml b/conf/_config.yml
index ecce84d..cb5cba3 100644
--- a/conf/_config.yml
+++ b/conf/_config.yml
@@ -15,7 +15,7 @@ baseurl: "" # the subpath of the site, e.g. /blog; NOTE: no trailing slas
docsurl: "/docs" # docsearch entry point
rss_path: /misc/feed.xml
-copyright_date: "2015-2016"
+copyright_date: "2015-2017"
excerpt_separator: <!--more-->
diff --git a/site/_layouts/doc.html b/site/_layouts/doc.html
index ed39f8c..0c39a1e 100644
--- a/site/_layouts/doc.html
+++ b/site/_layouts/doc.html
@@ -51,6 +51,7 @@ set some constants
</ul>
</div>
+ <!--
{% comment %}
Show a single edit-link if the page has a specific edit-link.
{% endcomment %}
@@ -115,15 +116,17 @@ set some constants
<a class="edit" href="{{ edit_link }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> {{ page.edit_source_text }}</a>
{% endif %}
{% endif %}
+ -->
<!-- Language dropdown -->
+ <!--
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="languageDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
{{ site.data.docs-versions[page.language].name }}
<span class="caret"></span>
</button>
- <!-- List all languages -->
+ <!-- List all languages - ->
<ul class="dropdown-menu" aria-labelledby="languageDropdown">
{% for other_language_entry in site.data.docs-versions %}
@@ -154,8 +157,10 @@ set some constants
{% endfor %}
</ul>
</div>
+ -->
<!-- Version dropdown -->
+ <!--
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="versionDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
{{ page.version }}
@@ -166,7 +171,7 @@ set some constants
</button>
<ul class="dropdown-menu" aria-labelledby="versionDropdown">
- <!-- List versions available in this language -->
+ <!-- List versions available in this language - ->
{% for other_version in site.data.docs-versions[page.language].versions reversed %}
<li>
{% comment %}
@@ -213,7 +218,9 @@ set some constants
{% endfor %}
</ul>
</div>
+ -->
</div>
+
{% comment %}
Get URL for this page in the latest version
@@ -229,7 +236,7 @@ set some constants
{% endunless %}
<!-- Show warnings for special versions -->
- <!-- dev warning -->
+ <!-- dev warning
{% if page.version == 'dev' %}
<div class="alert docs-alert alert-info" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -241,8 +248,9 @@ set some constants
</a>
</div>
{% endif %}
-
- <!-- outdated warning -->
+ -->
+
+ <!-- outdated warning
{% if page.version != 'dev' and page.version != site.latest_docs_version %}
<div class="alert docs-alert alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -254,6 +262,7 @@ set some constants
</a>
</div>
{% endif %}
+ -->
<div id="page-toc-source">