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/02/07 20:24:27 UTC
incubator-systemml git commit: [SYSTEMML-1209] Add configurable API
Docs menu to docs header
Repository: incubator-systemml
Updated Branches:
refs/heads/master 398c75e15 -> 54b354557
[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/54b35455
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/54b35455
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/54b35455
Branch: refs/heads/master
Commit: 54b35455752472ec0345828030f860da772942fb
Parents: 398c75e
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
----------------------------------------------------------------------
docs/_config.yml | 3 +++
docs/_layouts/global.html | 10 +++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/54b35455/docs/_config.yml
----------------------------------------------------------------------
diff --git a/docs/_config.yml b/docs/_config.yml
index 2f8c3e7..1d213d7 100644
--- a/docs/_config.yml
+++ b/docs/_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/54b35455/docs/_layouts/global.html
----------------------------------------------------------------------
diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html
index 6c87e0c..8e03017 100644
--- a/docs/_layouts/global.html
+++ b/docs/_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>