You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/04/07 18:58:27 UTC

[23/50] [abbrv] incubator-systemml git commit: [SYSTEMML-1209] Add configurable API Docs menu to docs header

[SYSTEMML-1209] Add configurable API Docs menu to docs header

Add configurable API Docs menu to docs header to link to generated
API docs from versioned documentation.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/7c17feb5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/7c17feb5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/7c17feb5

Branch: refs/heads/gh-pages
Commit: 7c17feb53adc2f96397c09b3f4185c94a38d5ed8
Parents: bfb93b0
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Tue Feb 7 12:19:45 2017 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Tue Feb 7 12:19:45 2017 -0800

----------------------------------------------------------------------
 _config.yml          |  3 +++
 _layouts/global.html | 10 +++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/7c17feb5/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 2f8c3e7..1d213d7 100644
--- a/_config.yml
+++ b/_config.yml
@@ -20,3 +20,6 @@ analytics_google_universal_tracking_id : UA-71553733-1
 
 # if FEEDBACK_LINKS is true, render feedback links
 FEEDBACK_LINKS: true
+
+# if API_DOCS_MENU is true, render API docs menu
+API_DOCS_MENU: false

http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/7c17feb5/_layouts/global.html
----------------------------------------------------------------------
diff --git a/_layouts/global.html b/_layouts/global.html
index 6c87e0c..8e03017 100644
--- a/_layouts/global.html
+++ b/_layouts/global.html
@@ -73,8 +73,16 @@
                                 <li><a href="release-process.html">Release Process</a></li>
                             </ul>
                         </li>
+                        {% if site.API_DOCS_MENU == true %}
                         <li class="dropdown">
-                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Issue Tracking<b class="caret"></b></a>
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">API Docs<b class="caret"></b></a>
+                            <ul class="dropdown-menu" role="menu">
+                                <li><a href="./api/java/index.html">Javadoc</a></li>
+                            </ul>
+                        </li>
+                        {% endif %}
+                        <li class="dropdown">
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Issues<b class="caret"></b></a>
                             <ul class="dropdown-menu" role="menu">
                                 <li><b>JIRA:</b></li>
                                 <li><a href="https://issues.apache.org/jira/browse/SYSTEMML">SystemML JIRA</a></li>