tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject svn commit: r1612052 [7/7] - in /tajo/site/docs/current: ./ _sources/ _sources/backup_and_restore/ _sources/configuration/ _sources/getting_started/ backup_and_restore/ configuration/ functions/ getting_started/ partitioning/ sql_language/ table_manage...
Date Sun, 20 Jul 2014 08:06:32 GMT
Added: tajo/site/docs/current/themes/sphinx_rtd_theme/static/js/theme.js
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/themes/sphinx_rtd_theme/static/js/theme.js?rev=1612052&view=auto
==============================================================================
--- tajo/site/docs/current/themes/sphinx_rtd_theme/static/js/theme.js (added)
+++ tajo/site/docs/current/themes/sphinx_rtd_theme/static/js/theme.js Sun Jul 20 08:06:30
2014
@@ -0,0 +1,47 @@
+$( document ).ready(function() {
+    // Shift nav in mobile when clicking the menu.
+    $(document).on('click', "[data-toggle='wy-nav-top']", function() {
+      $("[data-toggle='wy-nav-shift']").toggleClass("shift");
+      $("[data-toggle='rst-versions']").toggleClass("shift");
+    });
+    // Close menu when you click a link.
+    $(document).on('click', ".wy-menu-vertical .current ul li a", function() {
+      $("[data-toggle='wy-nav-shift']").removeClass("shift");
+      $("[data-toggle='rst-versions']").toggleClass("shift");
+    });
+    $(document).on('click', "[data-toggle='rst-current-version']", function() {
+      $("[data-toggle='rst-versions']").toggleClass("shift-up");
+    });  
+    // Make tables responsive
+    $("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
+});
+
+window.SphinxRtdTheme = (function (jquery) {
+    var stickyNav = (function () {
+        var navBar,
+            win,
+            stickyNavCssClass = 'stickynav',
+            applyStickNav = function () {
+                if (navBar.height() <= win.height()) {
+                    navBar.addClass(stickyNavCssClass);
+                } else {
+                    navBar.removeClass(stickyNavCssClass);
+                }
+            },
+            enable = function () {
+                applyStickNav();
+                win.on('resize', applyStickNav);
+            },
+            init = function () {
+                navBar = jquery('nav.wy-nav-side:first');
+                win    = jquery(window);
+            };
+        jquery(init);
+        return {
+            enable : enable
+        };
+    }());
+    return {
+        StickyNav : stickyNav
+    };
+}($));

Added: tajo/site/docs/current/themes/sphinx_rtd_theme/theme.conf
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/themes/sphinx_rtd_theme/theme.conf?rev=1612052&view=auto
==============================================================================
--- tajo/site/docs/current/themes/sphinx_rtd_theme/theme.conf (added)
+++ tajo/site/docs/current/themes/sphinx_rtd_theme/theme.conf Sun Jul 20 08:06:30 2014
@@ -0,0 +1,8 @@
+[theme]
+inherit = basic
+stylesheet = css/theme.css
+
+[options]
+typekit_id = hiw1hhg
+analytics_id = 
+sticky_navigation = False

Added: tajo/site/docs/current/themes/sphinx_rtd_theme/versions.html
URL: http://svn.apache.org/viewvc/tajo/site/docs/current/themes/sphinx_rtd_theme/versions.html?rev=1612052&view=auto
==============================================================================
--- tajo/site/docs/current/themes/sphinx_rtd_theme/versions.html (added)
+++ tajo/site/docs/current/themes/sphinx_rtd_theme/versions.html Sun Jul 20 08:06:30 2014
@@ -0,0 +1,37 @@
+{% if READTHEDOCS %}
+{# Add rst-badge after rst-versions for small badge style. #}
+  <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
+    <span class="rst-current-version" data-toggle="rst-current-version">
+      <span class="fa fa-book"> Read the Docs</span>
+      v: {{ current_version }}
+      <span class="fa fa-caret-down"></span>
+    </span>
+    <div class="rst-other-versions">
+      <dl>
+        <dt>Versions</dt>
+        {% for slug, url in versions %}
+          <dd><a href="{{ url }}">{{ slug }}</a></dd>
+        {% endfor %}
+      </dl>
+      <dl>
+        <dt>Downloads</dt>
+        {% for type, url in downloads %}
+          <dd><a href="{{ url }}">{{ type }}</a></dd>
+        {% endfor %}
+      </dl>
+      <dl>
+        <dt>On Read the Docs</dt>
+          <dd>
+            <a href="//{{ PRODUCTION_DOMAIN }}/projects/{{ slug }}/?fromdocs={{ slug }}">Project
Home</a>
+          </dd>
+          <dd>
+            <a href="//{{ PRODUCTION_DOMAIN }}/builds/{{ slug }}/?fromdocs={{ slug }}">Builds</a>
+          </dd>
+      </dl>
+      <hr/>
+      Free document hosting provided by <a href="http://www.readthedocs.org">Read the
Docs</a>.
+
+    </div>
+  </div>
+{% endif %}
+



Mime
View raw message