Factoring out strings. Making plugins page use headings instead of a list. This closes #493.
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/b65a9b0b Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/b65a9b0b Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/b65a9b0b Branch: refs/heads/master Commit: b65a9b0bc18a1f93786b7f1ed687f9089bcd23ae Parents: 0ae195a Author: Dmitry Blotsky <[email protected]> Authored: Mon Feb 15 15:05:15 2016 -0800 Committer: Dmitry Blotsky <[email protected]> Committed: Mon Feb 15 15:05:47 2016 -0800 ---------------------------------------------------------------------- Makefile | 4 +++- gulpfile.js | 1 + www/_layouts/docs-de.html | 4 +++- www/_layouts/docs-en.html | 4 +++- www/_layouts/docs-es.html | 4 +++- www/_layouts/docs-fr.html | 4 +++- www/_layouts/docs-it.html | 4 +++- www/_layouts/docs-ja.html | 4 +++- www/_layouts/docs-ko.html | 4 +++- www/_layouts/docs-pl.html | 4 +++- www/_layouts/docs-ru.html | 4 +++- www/_layouts/docs-sl.html | 4 +++- www/_layouts/docs-zh.html | 4 +++- www/_layouts/docs.html | 4 ++-- www/docs/en/dev/cordova/plugins/pluginapis.md | 5 +++-- 15 files changed, 42 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/Makefile ---------------------------------------------------------------------- diff --git a/Makefile b/Makefile index 0fe6f9d..125a861 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ STYLES = $(MAIN_STYLE_FILE) $(addsuffix .css,$(basename $(subst $(CSS_SRC_DIR),$ # NOTE: # docs slugs are lang/version pairs, with "/" and "." replaced by "-" -DOCS_VERSION_DIRS = $(wildcard $(DOCS_DIR)/**/*) +DOCS_VERSION_DIRS = $(filter-out %.md,$(wildcard $(DOCS_DIR)/**/*)) DOCS_VERSION_SLUGS = $(subst /,-,$(subst .,-,$(subst $(DOCS_DIR)/,,$(DOCS_VERSION_DIRS)))) TOC_FILES = $(addprefix $(TOC_DIR)/,$(addsuffix -generated.yml,$(DOCS_VERSION_SLUGS))) @@ -135,6 +135,7 @@ data: fetch $(TOC_FILES) $(DOCS_VERSION_DATA) configs: $(DEFAULTS_CONFIG) $(VERSION_CONFIG) styles: $(STYLES) plugins: $(PLUGINS_APP) +toc: $(TOC_FILES) dev: JEKYLL_CONFIGS += $(DEV_CONFIG) dev: JEKYLL_FLAGS += --trace @@ -224,6 +225,7 @@ endif clean: $(RM) -r $(PROD_DIR) $(DEV_DIR) + $(RM) -r $(FETCH_DIRS) $(RM) $(VERSION_CONFIG) $(RM) $(DEFAULTS_CONFIG) $(RM) $(TOC_FILES) http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/gulpfile.js ---------------------------------------------------------------------- diff --git a/gulpfile.js b/gulpfile.js index 67a3db8..7a52a39 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -394,6 +394,7 @@ gulp.task("checklinks", function(done) { gulp.task("clean", function () { remove(DEV_DIR); remove(PROD_DIR); + remove(FETCH_DIR); remove(path.join(DATA_DIR, "toc", "*-generated.yml")); remove(CSS_OUT_DIR); remove(PLUGINS_FILE); http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-de.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-de.html b/www/_layouts/docs-de.html index 352f795..776d8e0 100644 --- a/www/_layouts/docs-de.html +++ b/www/_layouts/docs-de.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Inhaltsverzeichnis" latest_text: "Letzte" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-en.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-en.html b/www/_layouts/docs-en.html index 86e3cb1..9031a49 100644 --- a/www/_layouts/docs-en.html +++ b/www/_layouts/docs-en.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Table of Contents" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-es.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-es.html b/www/_layouts/docs-es.html index a3e146b..189a82c 100644 --- a/www/_layouts/docs-es.html +++ b/www/_layouts/docs-es.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Tabla de Contenidos" latest_text: "Ultima" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-fr.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-fr.html b/www/_layouts/docs-fr.html index 0e52902..99ae786 100644 --- a/www/_layouts/docs-fr.html +++ b/www/_layouts/docs-fr.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Table des Matières" latest_text: "Dernière" +visit_github_text: "L'autres versions sont sur Github." +plugin_version_text: "Ce document décrit ce plugin à la version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-it.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-it.html b/www/_layouts/docs-it.html index 4e94485..b213e4b 100644 --- a/www/_layouts/docs-it.html +++ b/www/_layouts/docs-it.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Sommario" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-ja.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-ja.html b/www/_layouts/docs-ja.html index 670f615..428a55a 100644 --- a/www/_layouts/docs-ja.html +++ b/www/_layouts/docs-ja.html @@ -2,9 +2,11 @@ layout: docs outdated_text: "ããããªãããã¥ã¡ã³ãã®ææ°ãã¼ã¸ã§ã³ã§ãï¼" in_development_text: "This version of the documentation is under development!" -click_here_text: "Click here for the latest released version" +click_here_text: "Click here for the latest released version." toc_text: "ç®æ¬¡" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-ko.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-ko.html b/www/_layouts/docs-ko.html index 3095601..979d164 100644 --- a/www/_layouts/docs-ko.html +++ b/www/_layouts/docs-ko.html @@ -2,9 +2,11 @@ layout: docs outdated_text: "ì´ ìë 문ìì ìµì ë²ì ì ëë¤!" in_development_text: "This version of the documentation is under development!" -click_here_text: "Click here for the latest released version" +click_here_text: "Click here for the latest released version." toc_text: "ì°¨ë¡" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-pl.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-pl.html b/www/_layouts/docs-pl.html index 76b99fb..ef3df0c 100644 --- a/www/_layouts/docs-pl.html +++ b/www/_layouts/docs-pl.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Spis treÅci" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-ru.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-ru.html b/www/_layouts/docs-ru.html index debfc5d..1371f8d 100644 --- a/www/_layouts/docs-ru.html +++ b/www/_layouts/docs-ru.html @@ -2,9 +2,11 @@ layout: docs outdated_text: "ÐÑа веÑÑÐ¸Ñ Ð´Ð¾ÐºÑменÑаÑии ÑÑÑаÑела!" in_development_text: "ÐÑа веÑÑÐ¸Ñ Ð´Ð¾ÐºÑменÑаÑии Ð½Ð°Ñ Ð¾Ð´Ð¸ÑÑÑ Ð² ÑÑадии ÑазÑабоÑки!" -click_here_text: "ÐажмиÑе здеÑÑ Ð´Ð»Ñ Ð¿Ð¾Ñледней вÑпÑÑенной веÑÑии" +click_here_text: "ÐажмиÑе здеÑÑ Ð´Ð»Ñ Ð¿Ð¾Ñледней вÑпÑÑенной веÑÑии." toc_text: "СодеÑжание" latest_text: "ÐоÑледнÑÑ" +visit_github_text: "ÐÑÑгие веÑÑии на GitHub." +plugin_version_text: "ÐÑа докÑменÑаÑÐ¸Ñ Ð¾Ð¿Ð¸ÑÑÐ²Ð°ÐµÑ ÑÑÐ¾Ñ Ð¿Ð»Ð°Ð³Ð¸Ð½ веÑÑии" --- <style type="text/css"> http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-sl.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-sl.html b/www/_layouts/docs-sl.html index 7869b69..535e217 100644 --- a/www/_layouts/docs-sl.html +++ b/www/_layouts/docs-sl.html @@ -2,9 +2,11 @@ layout: docs 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" +click_here_text: "Click here for the latest released version." toc_text: "Kazalo" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs-zh.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs-zh.html b/www/_layouts/docs-zh.html index 92dbc0d..06669c2 100644 --- a/www/_layouts/docs-zh.html +++ b/www/_layouts/docs-zh.html @@ -2,9 +2,11 @@ layout: docs outdated_text: "è¿ä¸æ¯ææ¡£çææ°çæ¬ï¼" in_development_text: "This version of the documentation is under development!" -click_here_text: "Click here for the latest released version" +click_here_text: "Click here for the latest released version." toc_text: "ç®å½" latest_text: "Latest" +visit_github_text: "Other versions are on GitHub." +plugin_version_text: "This documentation describes this plugin at version" --- {{ content }} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/_layouts/docs.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html index 0439df5..d380096 100644 --- a/www/_layouts/docs.html +++ b/www/_layouts/docs.html @@ -188,9 +188,9 @@ analytics_id: UA-64283057-1 <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> - This documentation is for the version: {{ page.plugin_name }}:{{ page.plugin_version }}. + {{ page.plugin_version_text }} {{ page.plugin_version }}. <a href="https://github.com/{{ page.plugin_name }}/releases"> - Visit Github for other versions. + {{ page.visit_github_text }}. </a> </div> http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b65a9b0b/www/docs/en/dev/cordova/plugins/pluginapis.md ---------------------------------------------------------------------- diff --git a/www/docs/en/dev/cordova/plugins/pluginapis.md b/www/docs/en/dev/cordova/plugins/pluginapis.md index 65f6778..b9931a4 100644 --- a/www/docs/en/dev/cordova/plugins/pluginapis.md +++ b/www/docs/en/dev/cordova/plugins/pluginapis.md @@ -32,8 +32,9 @@ The traditional set of core Cordova plugins are as follows: {% if fileSpec.src.repoName contains "cordova-plugin" %} {% assign repoSplit = fileSpec.src.repoName | split:'/' %} {% capture packageName %}{% if fileSpec.src.packageName %}{{ fileSpec.src.packageName }}{% else %}{{ repoSplit[1] }}{% endif %}{% endcapture %} -- [{{ fileSpec.src.displayName }}](../../gen/{{ packageName }}/) -> {{ fileSpec.src.description }} +# [{{ fileSpec.src.displayName }}](../../gen/{{ packageName }}/) + +{{ fileSpec.src.description }} {% endif %} {% endfor %} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
