cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Adding a message to edge page to differentiate it from the latest version and older versions.
Date Tue, 29 Sep 2015 00:30:25 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 81b0dbebd -> 3ac24507f


Adding a message to edge page to differentiate it from the latest version and older versions.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/3ac24507
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/3ac24507
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/3ac24507

Branch: refs/heads/cordova-website
Commit: 3ac24507f546bbd15b2375f55811e1bf0234d507
Parents: 81b0dbe
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Sun Sep 27 21:25:51 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Mon Sep 28 16:46:56 2015 -0700

----------------------------------------------------------------------
 _config.yml                               |  2 +-
 www/_includes/docs_language_redirect.html |  2 +-
 www/_includes/header.html                 |  2 +-
 www/_layouts/docs-de.html                 | 10 +--
 www/_layouts/docs-en.html                 | 10 +--
 www/_layouts/docs-es.html                 | 10 +--
 www/_layouts/docs-fr.html                 | 10 +--
 www/_layouts/docs-it.html                 | 10 +--
 www/_layouts/docs-ja.html                 | 10 +--
 www/_layouts/docs-ko.html                 | 10 +--
 www/_layouts/docs-pl.html                 | 10 +--
 www/_layouts/docs-ru.html                 | 10 +--
 www/_layouts/docs-sl.html                 | 10 +--
 www/_layouts/docs-zh.html                 | 10 +--
 www/_layouts/docs.html                    | 88 ++++++++++++++------------
 www/index.html                            | 14 ++--
 www/plugins/authors.md                    |  2 +-
 www/plugins/faq.md                        |  2 +-
 www/static/css-src/_docs.scss             |  2 +-
 www/static/plugins/pluginlist.jsx         |  2 +-
 20 files changed, 126 insertions(+), 100 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index eefb5b8..146c92f 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,7 +12,7 @@ repo:
     uri:    https://github.com/apache/cordova-docs
     branch: cordova-website
 
-latest_version: 5.1.1
+latest_docs_version: 5.1.1
 
 # NOTE: defaults are configured in _defaults.yml, which is a generated file
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_includes/docs_language_redirect.html
----------------------------------------------------------------------
diff --git a/www/_includes/docs_language_redirect.html b/www/_includes/docs_language_redirect.html
index 920e8bf..bb40b9e 100644
--- a/www/_includes/docs_language_redirect.html
+++ b/www/_includes/docs_language_redirect.html
@@ -1,2 +1,2 @@
-{% capture url %}/docs/{{ page.language }}/{{ site.latest_version }}/{% endcapture %}
+{% capture url %}/docs/{{ page.language }}/{{ site.latest_docs_version }}/{% endcapture %}
 {% include redirect.html url=url %}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_includes/header.html
----------------------------------------------------------------------
diff --git a/www/_includes/header.html b/www/_includes/header.html
index 928f4a1..9d538e1 100644
--- a/www/_includes/header.html
+++ b/www/_includes/header.html
@@ -15,7 +15,7 @@
             <div class="nav_bar_center">
                 <ul class="nav navbar-nav">
                     <li {% if page.docs_tab %}class="active"{% endif %}>
-                        <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/overview/">Documentation</a>
+                        <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version
}}/guide/overview/">Documentation</a>
                     </li>
                     <li {% if page.plugins_tab %}class="active"{% endif %}>
                         <a href="{{ site.baseurl }}/plugins">Plugins</a>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-de.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-de.html b/www/_layouts/docs-de.html
index 8248038..ba015c1 100644
--- a/www/_layouts/docs-de.html
+++ b/www/_layouts/docs-de.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Dies ist nicht die neueste Version der Dokumentation!
-toc_text: Inhaltsverzeichnis
-keyword_index_text: Stichwort-Index
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Dies ist nicht die neueste Version der Dokumentation!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Inhaltsverzeichnis"
+keyword_index_text: "Stichwort-Index"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-en.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-en.html b/www/_layouts/docs-en.html
index a93577f..c583ae0 100644
--- a/www/_layouts/docs-en.html
+++ b/www/_layouts/docs-en.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: This is not the latest version of the documentation!
-toc_text: Table of Contents
-keyword_index_text: Keyword Index
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "This version of the documentation is outdated!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Table of Contents"
+keyword_index_text: "Keyword Index"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-es.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-es.html b/www/_layouts/docs-es.html
index 07e5dc0..f821c77 100644
--- a/www/_layouts/docs-es.html
+++ b/www/_layouts/docs-es.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Esta no es la versión más reciente de la documentación!
-toc_text: Tabla de Contenidos
-keyword_index_text: \xCDndice de palabras clave
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Esta no es la versión más reciente de la documentación!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Tabla de Contenidos"
+keyword_index_text: "\xCDndice de palabras clave"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-fr.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-fr.html b/www/_layouts/docs-fr.html
index fddf3c7..7dd4fa9 100644
--- a/www/_layouts/docs-fr.html
+++ b/www/_layouts/docs-fr.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Ca n'est past la dernière version de la documentation.
-toc_text: Table des Matières
-keyword_index_text: Index de mots-cl\xE9s
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Ca n'est past la dernière version de la documentation."
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Table des Matières"
+keyword_index_text: "Index de mots-cl\xE9s"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-it.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-it.html b/www/_layouts/docs-it.html
index 392cd99..635a1eb 100644
--- a/www/_layouts/docs-it.html
+++ b/www/_layouts/docs-it.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Questa non è la versione più recente della documentazione!
-toc_text: Sommario
-keyword_index_text: Indice delle parole chiave
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Questa non è la versione più recente della documentazione!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Sommario"
+keyword_index_text: "Indice delle parole chiave"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-ja.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ja.html b/www/_layouts/docs-ja.html
index 13fc760..80d0c56 100644
--- a/www/_layouts/docs-ja.html
+++ b/www/_layouts/docs-ja.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: これがないドキュメントの最新バージョンです!
-toc_text: 目次
-keyword_index_text: \u30AD\u30FC\u30EF\u30FC\u30C9 \u30A4\u30F3\u30C7\u30C3\u30AF\u30B9
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "これがないドキュメントの最新バージョンです!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "目次"
+keyword_index_text: "\u30AD\u30FC\u30EF\u30FC\u30C9 \u30A4\u30F3\u30C7\u30C3\u30AF\u30B9"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-ko.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ko.html b/www/_layouts/docs-ko.html
index fc9947c..4e106a5 100644
--- a/www/_layouts/docs-ko.html
+++ b/www/_layouts/docs-ko.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: 이 아닌 문서의 최신 버전입니다!
-toc_text: 차례
-keyword_index_text: \uD0A4\uC6CC\uB4DC \uC778\uB371\uC2A4
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "이 아닌 문서의 최신 버전입니다!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "차례"
+keyword_index_text: "\uD0A4\uC6CC\uB4DC \uC778\uB371\uC2A4"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-pl.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-pl.html b/www/_layouts/docs-pl.html
index b6f151d..d318a5b 100644
--- a/www/_layouts/docs-pl.html
+++ b/www/_layouts/docs-pl.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Nie jest to najnowsza wersja dokumentacji!
-toc_text: Spis treści
-keyword_index_text: Indeks s\u0142\xF3w kluczowych
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Nie jest to najnowsza wersja dokumentacji!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Spis treści"
+keyword_index_text: "Indeks s\u0142\xF3w kluczowych"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-ru.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ru.html b/www/_layouts/docs-ru.html
index 7b5a567..6aae613 100644
--- a/www/_layouts/docs-ru.html
+++ b/www/_layouts/docs-ru.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: Это не самая последняя версия документации!
-toc_text: Содержание
-keyword_index_text: Алфавитный указатель
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "Эта версия документации устарела!"
+in_development_text: "Эта версия документации находится в
стадии разработки!"
+click_here_text: "Нажмите здесь для последней выпущенной
версии"
+toc_text: "Содержание"
+keyword_index_text: "Алфавитный указатель"
 ---
 
 <style type="text/css">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-sl.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-sl.html b/www/_layouts/docs-sl.html
index 6213cf3..d343503 100644
--- a/www/_layouts/docs-sl.html
+++ b/www/_layouts/docs-sl.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: To ni najnovejša različica dokumentacije!
-toc_text: Kazalo
-keyword_index_text: Klju\u010Dne besede kazalo
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "To ni najnovejša različica dokumentacije!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "Kazalo"
+keyword_index_text: "Klju\u010Dne besede kazalo"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs-zh.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-zh.html b/www/_layouts/docs-zh.html
index a99b0ce..9ad0e92 100644
--- a/www/_layouts/docs-zh.html
+++ b/www/_layouts/docs-zh.html
@@ -1,9 +1,11 @@
 ---
 layout: docs
-not_latest_warning_text: 这不是文档的最新版本!
-toc_text: 目录
-keyword_index_text: \u95DC\u9375\u5B57\u7D22\u5F15
-title_prefix: Apache Cordova
+title_prefix: "Apache Cordova"
+outdated_text: "这不是文档的最新版本!"
+in_development_text: "This version of the documentation is under development!"
+click_here_text: "Click here for the latest released version"
+toc_text: "目录"
+keyword_index_text: "\u95DC\u9375\u5B57\u7D22\u5F15"
 ---
 
 {{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/_layouts/docs.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html
index 362047c..8eb2dea 100644
--- a/www/_layouts/docs.html
+++ b/www/_layouts/docs.html
@@ -80,42 +80,33 @@ analytics_id: UA-64283057-1
                     {% assign language_id = language_entry[0] %}
                     {% assign language    = language_entry[1] %}
 
-                    {% assign current_language_path = page.language | append:'/' | prepend:'/'
%}
-                    {% assign target_language_path  = language_id | append:'/' | prepend:'/'
%}
-
-                    {% if language.versions contains page.version %}
-                        <li>
-                            <!--
-                            Replace only the language part of the URI, thereby
-                            redirecting to the same page in the other language.
-                            The page will exist because it's for the same version.
-                             -->
-                            <a href="{{ site.baseurl }}{{ page.url | replace:current_language_path,target_language_path
}}">
-                                {% if page.language == language_id %}
-                                    <span class="selected">
-                                        {{ language.name }}
-                                    </span>
-                                {% else %}
-                                    {{ language.name }}
-                                {% endif %}
-                            </a>
-                        </li>
-                    {% else %}
-
-                        <!-- Disable languages that don't have this version -->
-                        <li class="disabled">
-                            <a class="missing-version">
-                                {% if page.language == language_id %}
-                                    <span class="selected">
-                                        {{ language.name }}
-                                    </span>
-                                {% else %}
-                                    {{ language.name }}
-                                {% endif %}
-                            </a>
-                        </li>
-                    {% endif %}
+                    {% capture current_language_path %}/{{ page.language }}/{% endcapture
%}
+                    {% capture target_language_path %}/{{ language_id }}/{% endcapture %}
+
+                    {% capture missing_version_class %}
+                        {% if language.versions contains page.version %}
+                        {% else %}
+                            missing-version
+                        {% endif %}
+                    {% endcapture %}
 
+                    <li>
+                        <!--
+                        Replace only the language part of the URI, thereby
+                        redirecting to the same page in the other language.
+                        The page should exist because it's for the same version.
+                         -->
+                        <a href="{{ site.baseurl }}{{ page.url | replace:current_language_path,target_language_path
}}" class="{{ missing_version_class }}"
+                        >
+                            {% if page.language == language_id %}
+                                <span class="selected">
+                                    {{ language.name }}
+                                </span>
+                            {% else %}
+                                {{ language.name }}
+                            {% endif %}
+                        </a>
+                    </li>
                     {% endfor %}
                 </ul>
             </div>
@@ -152,14 +143,27 @@ analytics_id: UA-64283057-1
             </div>
         </div>
 
-        <!-- Show warning if this version isn't the latest -->
-        {% if page.version != site.latest_version %}
-        <a href="{{ site.baseurl }}/docs/{{ page.language }}/{{ site.latest_version }}">
-            <div class="alert alert-warning not-latest-version-alert" role="alert">
-                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
-                {{ page.not_latest_warning_text }}
+        <!-- Show warnings for special versions (i.e. non-latest, and edge) -->
+        {% capture latest_url %}{{ site.baseurl }}/docs/{{ page.language }}/{{ site.latest_docs_version
}}{% endcapture %}
+
+        {% if page.version == 'edge' or page.version != site.latest_docs_version %}
+
+            {% if page.version == 'edge' %}
+                {% assign alert_class = "alert-info" %}
+                {% assign warning_text = page.in_development_text %}
+            {% elsif page.version != site.latest_docs_version %}
+                {% assign alert_class = "alert-danger" %}
+                {% assign warning_text = page.outdated_text %}
+            {% endif %}
+
+            <div class="alert {{ alert_class }} docs-alert" role="alert">
+                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
+                    <span aria-hidden="true">&times;</span>
+                </button>
+                {{ warning_text }} {{ page.click_here_text }}:
+                <a href="{{ latest_url }}">{{ site.latest_docs_version }}</a>
             </div>
-        </a>
+
         {% endif %}
 
         <div id="page-toc-source">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index ac2ca7f..9db297a 100644
--- a/www/index.html
+++ b/www/index.html
@@ -27,7 +27,7 @@ permalink: /
                     <a href="#getstarted" class="col-xs-12 col-sm-5 btn btn-lg btn-primary">
                         Get Started
                     </a>
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/overview/"
class="col-xs-12 col-sm-6 btn btn-lg btn-primary">
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/guide/overview/"
class="col-xs-12 col-sm-6 btn btn-lg btn-primary">
                         Documentation
                     </a>
                 </div>
@@ -75,7 +75,7 @@ permalink: /
         </div>
         <div class="col-md-7 col-xs-10">
             <h2>Installing Cordova</h2>
-            <p>Cordova command-line runs on <a target="_blank" href="http://nodejs.org/">Node.js</a>
and is available on <a target="_blank" href="https://npmjs.org/package/cordova">NPM</a>.
Follow <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/platforms/">platform
specific guides</a> to install additional platform dependencies. Open a command prompt
or Terminal, and type <code>npm install -g cordova</code>.</p>
+            <p>Cordova command-line runs on <a target="_blank" href="http://nodejs.org/">Node.js</a>
and is available on <a target="_blank" href="https://npmjs.org/package/cordova">NPM</a>.
Follow <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/guide/platforms/">platform
specific guides</a> to install additional platform dependencies. Open a command prompt
or Terminal, and type <code>npm install -g cordova</code>.</p>
         </div>
         <div class="col-md-4 col-xs-12">
             <div class="well_code">
@@ -153,16 +153,16 @@ permalink: /
             <h2>Common next steps</h2>
             <ul class="nav">
                 <li>
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/overview/">Read
the docs</a>
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/guide/overview/">Read
the docs</a>
                 </li>
                 <li>
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/cli/#link-add-plugin-features">Add
a Plugin</a>
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/guide/cli/#link-add-plugin-features">Add
a Plugin</a>
                 </li>
                 <li>
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/config_ref/images.html">Add
Icons and Splash Screen</a>
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/config_ref/images.html">Add
Icons and Splash Screen</a>
                 </li>
                 <li>
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/config_ref/">Configure
Your App</a>
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/config_ref/">Configure
Your App</a>
                 </li>
             </ul>
         </div>
@@ -179,7 +179,7 @@ permalink: /
             <div class="col-md-12 text-center">
                 <h1>Supported Platforms</h1>
                 <h2>See a list of
-                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_version }}/guide/support/index.html">features
supported</a> in each platform</h2>
+                    <a href="{{ site.baseurl }}/docs/en/{{ site.latest_docs_version }}/guide/support/index.html">features
supported</a> in each platform</h2>
                 <p>
                     Cordova wraps your HTML/JavaScript app into a native container which
can access the device functions of several platforms.
                     These functions are exposed via a unified JavaScript API, allowing you
to easily write one set of code to target nearly every

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/plugins/authors.md
----------------------------------------------------------------------
diff --git a/www/plugins/authors.md b/www/plugins/authors.md
index cdebeb2..7adcbfa 100644
--- a/www/plugins/authors.md
+++ b/www/plugins/authors.md
@@ -40,7 +40,7 @@ Similar to `ecosystem:cordova`, platform support too uses keywords. Just
add the
 
 ## Are there any additional documents to assist me with plugins?
 
-Yes there are. Please take a look at the [Plugin Development Guide]({{ site.baseurl }}/docs/en/{{
site.latest_version }}/guide/hybrid/plugins/index.html) for a more detailed guide.
+Yes there are. Please take a look at the [Plugin Development Guide]({{ site.baseurl }}/docs/en/{{
site.latest_docs_version }}/guide/hybrid/plugins/index.html) for a more detailed guide.
 
 ## I don't like X. How can I help improve the website?
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/plugins/faq.md
----------------------------------------------------------------------
diff --git a/www/plugins/faq.md b/www/plugins/faq.md
index 33f58da..41ea15a 100644
--- a/www/plugins/faq.md
+++ b/www/plugins/faq.md
@@ -38,7 +38,7 @@ See Cordova [blog]({{ site.baseurl }}/announcements/2015/04/21/plugins-release-a
 
 ## Are there any additional documents to assist me with plugins?
 
-Yes there are. Please take a look at [Add Plugin Features]({{ site.baseurl }}/docs/en/{{
site.latest_version }}/guide/cli/#link-add-plugin-features) for a more detailed guide.
+Yes there are. Please take a look at [Add Plugin Features]({{ site.baseurl }}/docs/en/{{
site.latest_docs_version }}/guide/cli/#link-add-plugin-features) for a more detailed guide.
 
 ## I don't like X. How can I help improve the website?
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/static/css-src/_docs.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss
index d698746..4ade464 100644
--- a/www/static/css-src/_docs.scss
+++ b/www/static/css-src/_docs.scss
@@ -122,7 +122,7 @@
         }
     }
 
-    .not-latest-version-alert {
+    .docs-alert {
         margin-top: 22px;
     }
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3ac24507/www/static/plugins/pluginlist.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/pluginlist.jsx b/www/static/plugins/pluginlist.jsx
index 4be4d42..bd0a504 100755
--- a/www/static/plugins/pluginlist.jsx
+++ b/www/static/plugins/pluginlist.jsx
@@ -47,7 +47,7 @@ var PluginList = React.createClass({
             if (plugins.length === 0) {
                 return (
                     <div className="container plugins-results-container">
-                            No plugins found. Learn how to <a href="{{site.baseurl}}/docs/en/{{site.latest_version}}/guide/hybrid/plugins/index.html">create
one</a>
+                            No plugins found. Learn how to <a href="{{site.baseurl}}/docs/en/{{site.latest_docs_version}}/guide/hybrid/plugins/index.html">create
one</a>
                     </div>
                 );
             } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message