[LNT] r255982 - When docs are built, add them into LNT, so it can self document.

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 19:05:12 PST 2015


Author: cmatthews
Date: Thu Dec 17 21:05:12 2015
New Revision: 255982

URL: http://llvm.org/viewvc/llvm-project?rev=255982&view=rev
Log:
When docs are built, add them into LNT, so it can self document.

Added:
    lnt/trunk/lnt/server/ui/static/docs/
    lnt/trunk/lnt/server/ui/static/docs/index.html
Modified:
    lnt/trunk/docs/Makefile
    lnt/trunk/lnt/server/ui/templates/layout.html

Modified: lnt/trunk/docs/Makefile
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/docs/Makefile?rev=255982&r1=255981&r2=255982&view=diff
==============================================================================
--- lnt/trunk/docs/Makefile (original)
+++ lnt/trunk/docs/Makefile Thu Dec 17 21:05:12 2015
@@ -38,6 +38,7 @@ clean:
 
 html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+	cp -av $(BUILDDIR)/html/* $(BUILDDIR)/../../lnt/server/ui/static/docs/
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 

Added: lnt/trunk/lnt/server/ui/static/docs/index.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/docs/index.html?rev=255982&view=auto
==============================================================================
--- lnt/trunk/lnt/server/ui/static/docs/index.html (added)
+++ lnt/trunk/lnt/server/ui/static/docs/index.html Thu Dec 17 21:05:12 2015
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <title>Missing Docs</title>
+    </head>
+    <body>
+        <h1>Docs are missing</h1>
+        <p>LNT documentation must be installed using the makefile in /docs
+        inside the LNT source tree.  Until then, this page is displayed.</p>
+    </body>
+</html>

Modified: lnt/trunk/lnt/server/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/layout.html?rev=255982&r1=255981&r2=255982&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Thu Dec 17 21:05:12 2015
@@ -128,7 +128,6 @@
                               <li><a href="{{ v4_url_for('v4_global_status') }}">Global Status</a></li>
                               <li><a href="{{ v4_url_for('v4_daily_report_overview') }}">Daily Report</a></li>
                               <li><a href="{{ v4_url_for('v4_machines') }}">All Machines</a></li>
-                              <li><a href="{{ v4_url_for('v4_new_regressions') }}">Triage</a></li>
                               <li><a href="{{ v4_url_for('v4_regression_list', state=0) }}">Detected</a></li>
                               <li><a href="{{ v4_url_for('v4_regression_list', state=1) }}">Staged</a></li>
                               <li><a href="{{ v4_url_for('v4_regression_list', state=10) }}">Active</a></li>
@@ -137,6 +136,10 @@
                               <li><a href="{{ v4_url_for('v4_regression_list', state=23) }}">Verify</a></li>
                               <li><a href="{{ v4_url_for('v4_regression_list', state=22) }}">Fixed</a></li>
                               <li><a href="{{ v4_url_for('v4_regression_list', state=-1) }}">All</a></li>
+                              <li><a href="/log">Logs</a></li>
+                              <li><a href="/rules">Rules</a></li>
+                              <li><a href="/static/docs/index.html">Documentation</a></li>
+                              
                               <li class="divider"></li>
                               <li class="disabled"><a href="#">Summary Report</a></li>
                               {#"{{ v4_url_for('v4_summary_report') }}"#}




More information about the llvm-commits mailing list