cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [1/5] docs commit: Refactored layouts to be more easily maintainable.
Date Sat, 21 Nov 2015 03:21:19 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 7a5fcf2d4 -> aa9e3195a


Refactored layouts to be more easily maintainable.


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

Branch: refs/heads/master
Commit: fc1266417cb8e8517a39feb7c178a9a1a513763d
Parents: 7a5fcf2
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Fri Nov 20 16:48:18 2015 -0800
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Fri Nov 20 17:00:56 2015 -0800

----------------------------------------------------------------------
 _config.yml                             |  2 +-
 www/_layouts/blog.html                  |  6 +-
 www/_layouts/contribute-help.html       | 10 ----
 www/_layouts/contribute.html            |  9 +++
 www/_layouts/page.html                  |  7 +++
 www/_layouts/plugins-help.html          |  8 ---
 www/_layouts/plugins.html               |  6 ++
 www/contact/index.html                  | 83 ++++++++++++++--------------
 www/contribute/contribute_guidelines.md |  3 +-
 www/contribute/index.html               |  2 +-
 www/contribute/issues.md                |  3 +-
 www/plugins/authors.md                  |  2 +-
 www/plugins/faq.md                      |  2 +-
 www/plugins/index.html                  |  7 +--
 14 files changed, 75 insertions(+), 75 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index c528500..d98edae 100644
--- a/_config.yml
+++ b/_config.yml
@@ -6,9 +6,9 @@
 # Site settings
 # =======
 title:          Apache Cordova
+title_suffix:   "Apache Cordova"
 url:            "https://cordova.apache.org" # the base hostname & protocol
 baseurl:        "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
-title_suffix:   "Apache Cordova"
 rss_path:       /feed.xml
 description: >
     Apache Cordova is a set of device APIs that allow a web mobile app

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/blog.html
----------------------------------------------------------------------
diff --git a/www/_layouts/blog.html b/www/_layouts/blog.html
index 3c9ac0c..da93280 100644
--- a/www/_layouts/blog.html
+++ b/www/_layouts/blog.html
@@ -1,10 +1,8 @@
 ---
-layout: cordova
+layout: page
 blog_tab: true
 ---
 
 <div class="blog">
-    <div class="container">
-        {{ content }}
-    </div>
+    {{ content }}
 </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/contribute-help.html
----------------------------------------------------------------------
diff --git a/www/_layouts/contribute-help.html b/www/_layouts/contribute-help.html
deleted file mode 100644
index 6ee2aa1..0000000
--- a/www/_layouts/contribute-help.html
+++ /dev/null
@@ -1,10 +0,0 @@
----
-layout: cordova
-no_code_highlight: true
----
-
-<div class="container">
-    <div class="contribute-help">
-{{ content }}
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/contribute.html
----------------------------------------------------------------------
diff --git a/www/_layouts/contribute.html b/www/_layouts/contribute.html
new file mode 100644
index 0000000..d26af11
--- /dev/null
+++ b/www/_layouts/contribute.html
@@ -0,0 +1,9 @@
+---
+layout: page
+contribute_tab: true
+no_code_highlight: true
+---
+
+<div class="contribute-help">
+    {{ content }}
+</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/page.html
----------------------------------------------------------------------
diff --git a/www/_layouts/page.html b/www/_layouts/page.html
new file mode 100644
index 0000000..b4cecb3
--- /dev/null
+++ b/www/_layouts/page.html
@@ -0,0 +1,7 @@
+---
+layout: cordova
+---
+
+<div class="container">
+    {{ content }}
+</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/plugins-help.html
----------------------------------------------------------------------
diff --git a/www/_layouts/plugins-help.html b/www/_layouts/plugins-help.html
deleted file mode 100644
index c5ff10d..0000000
--- a/www/_layouts/plugins-help.html
+++ /dev/null
@@ -1,8 +0,0 @@
----
-layout: cordova
-plugins_tab: true
----
-
-<div class="container">
-{{ content }}
-</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/_layouts/plugins.html
----------------------------------------------------------------------
diff --git a/www/_layouts/plugins.html b/www/_layouts/plugins.html
new file mode 100644
index 0000000..8c9f1c9
--- /dev/null
+++ b/www/_layouts/plugins.html
@@ -0,0 +1,6 @@
+---
+layout: page
+plugins_tab: true
+---
+
+{{ content }}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/contact/index.html
----------------------------------------------------------------------
diff --git a/www/contact/index.html b/www/contact/index.html
index bd2ad9d..6e75208 100644
--- a/www/contact/index.html
+++ b/www/contact/index.html
@@ -1,56 +1,55 @@
 ---
-layout: cordova
+layout: page
 title: Contact
 ---
-<div class="container">
-    <div class="row">
-        <div class="col-sm-12">
-            <h1>Mailing List</h1>
-        </div>
+
+<div class="row">
+    <div class="col-sm-12">
+        <h1>Mailing List</h1>
     </div>
-    <div class="row">
-        <div class="col-sm-12">
-            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
-                {% for category in site.data.mailing-lists %}
-                <div class="panel panel-default">
-                    <div class="panel-heading" role="tab" id="headingOne">
-                        <h4 class="panel-title">
-                            <a role="button" data-toggle="collapse" data-parent="#accordion"
href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
-                                {{ category.title }}
-                            </a>
-                        </h4>
-                        <p>
-                            {{ category.description }}
-                        </p>
-                    </div>
-                    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel"
aria-labelledby="headingOne">
-                        <div class="panel-body">
-                            <ul class="list mailing-list">
-                                {% for list in category.links %}
-                                <li>
-                                    <div class="row">
-                                        <div class="col-sm-5">
-                                            <div class="list-label">
-                                                {{ list.label }}
-                                            </div>
+</div>
+<div class="row">
+    <div class="col-sm-12">
+        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
+            {% for category in site.data.mailing-lists %}
+            <div class="panel panel-default">
+                <div class="panel-heading" role="tab" id="headingOne">
+                    <h4 class="panel-title">
+                        <a role="button" data-toggle="collapse" data-parent="#accordion"
href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
+                            {{ category.title }}
+                        </a>
+                    </h4>
+                    <p>
+                        {{ category.description }}
+                    </p>
+                </div>
+                <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel"
aria-labelledby="headingOne">
+                    <div class="panel-body">
+                        <ul class="list mailing-list">
+                            {% for list in category.links %}
+                            <li>
+                                <div class="row">
+                                    <div class="col-sm-5">
+                                        <div class="list-label">
+                                            {{ list.label }}
                                         </div>
-                                        <div class="col-sm-7">
-                                            <div class="email-link">
-                                                <a href="{{ list.href }}">{{ list.text
}}<span></span></a>
-                                                <div class="email_link_button">
-                                                    <a href="{{ list.href }}"><span
class="glyphicon glyphicon-menu-right"></span></a>
-                                                </div>
+                                    </div>
+                                    <div class="col-sm-7">
+                                        <div class="email-link">
+                                            <a href="{{ list.href }}">{{ list.text
}}<span></span></a>
+                                            <div class="email_link_button">
+                                                <a href="{{ list.href }}"><span
class="glyphicon glyphicon-menu-right"></span></a>
                                             </div>
                                         </div>
                                     </div>
-                                </li>
-                                {% endfor %}
-                            </ul>
-                        </div>
+                                </div>
+                            </li>
+                            {% endfor %}
+                        </ul>
                     </div>
                 </div>
-                {% endfor %}
             </div>
+            {% endfor %}
         </div>
     </div>
 </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/contribute/contribute_guidelines.md
----------------------------------------------------------------------
diff --git a/www/contribute/contribute_guidelines.md b/www/contribute/contribute_guidelines.md
index 3f302d9..fee8f68 100644
--- a/www/contribute/contribute_guidelines.md
+++ b/www/contribute/contribute_guidelines.md
@@ -1,7 +1,8 @@
 ---
-layout: contribute-help
+layout: contribute
 title: Apache Cordova Contribute Guidelines
 ---
+
 # Contributor Guidelines
 
 Thanks for helping to improve Cordova! This page provides a general guide on making contributions
to Cordova. If you can't find something on this page, please feel free to contact the [dev
mailing list](http://cordova.apache.org/contact) or ask questions on the Cordova Slack.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/contribute/index.html
----------------------------------------------------------------------
diff --git a/www/contribute/index.html b/www/contribute/index.html
index a2f0b57..331d5f4 100644
--- a/www/contribute/index.html
+++ b/www/contribute/index.html
@@ -1,5 +1,5 @@
 ---
-layout: cordova
+layout: contribute
 title: Contribute
 ---
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/contribute/issues.md
----------------------------------------------------------------------
diff --git a/www/contribute/issues.md b/www/contribute/issues.md
index 9fe777e..1ded514 100644
--- a/www/contribute/issues.md
+++ b/www/contribute/issues.md
@@ -1,7 +1,8 @@
 ---
-layout: contribute-help
+layout: contribute
 title: Apache Cordova Reporting Issues
 ---
+
 # Reporting Issues
 Thank you for helping to improve Cordova! Issues for Apache Cordova are hosted at the Apache
[JIRA](https://issues.apache.org/jira/browse/CB). A JIRA account is required before you can
submit issues (you can [create one here](https://issues.apache.org/jira/secure/Signup!default.jspa)).
Before submitting an issue, please take a moment to search JIRA to see if an issue already
exists. If it does, please consider commenting or voting for the issue to help raise its visibility.
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/plugins/authors.md
----------------------------------------------------------------------
diff --git a/www/plugins/authors.md b/www/plugins/authors.md
index b88f517..5f7b7d1 100644
--- a/www/plugins/authors.md
+++ b/www/plugins/authors.md
@@ -1,5 +1,5 @@
 ---
-layout: plugins-help
+layout: plugins
 title: Plugin Contributors
 ---
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/plugins/faq.md
----------------------------------------------------------------------
diff --git a/www/plugins/faq.md b/www/plugins/faq.md
index e36b838..e03dfac 100644
--- a/www/plugins/faq.md
+++ b/www/plugins/faq.md
@@ -1,5 +1,5 @@
 ---
-layout: plugins-help
+layout: plugins
 title: Plugins FAQ
 ---
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fc126641/www/plugins/index.html
----------------------------------------------------------------------
diff --git a/www/plugins/index.html b/www/plugins/index.html
index bdb9a1f..884de4a 100644
--- a/www/plugins/index.html
+++ b/www/plugins/index.html
@@ -1,13 +1,10 @@
 ---
-layout: cordova
+layout: plugins
 title: Plugin Search
-plugins_tab: true
 description: Search here for Apache Cordova plugins published on NPM.
 ---
 
 <!-- Main jumbotron for a primary marketing message or call to action -->
-<div class="container">
-    <div id="pluginsAppContainer"></div>
-</div>
+<div id="pluginsAppContainer"></div>
 
 <script type="text/javascript" src="{{ site.baseurl }}/static/js/plugins.js" defer></script>


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


Mime
View raw message