summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-11-22 23:44:12 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-11-22 23:44:12 +0000
commit01c55ae4fdc9fa62bf1f48ccf79008e4c8c77d2e (patch)
tree95e4b7be769f2db4f641e762b65e2a83a32561d9
parentMerge branch 'master' of gitlab.com:marcjeanmougin/inkscape (diff)
downloadinkscape-01c55ae4fdc9fa62bf1f48ccf79008e4c8c77d2e.tar.gz
inkscape-01c55ae4fdc9fa62bf1f48ccf79008e4c8c77d2e.zip
Add index page
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--buildtools/ci-index.html21
2 files changed, 23 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b34d9fd22..5fe5730e8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,10 +112,10 @@ pages:
- clang
script:
- mkdir -p public/
- - echo '<html><head><meta http-equiv="refresh" content="0; url=scan-build/index.html"></head><body></body></html>' > public/index.html
+ - sed "s/%DATE%/$(date '+%B %d, %Y')/" buildtools/ci-index.html > public/index.html
- if test -e scan; then cp -rv scan/* public/scan-build; fi
- if test -e doc/doxygen; then cp -rv doc/doxygen/html public/doxygen; fi
- - if test -e doc/doxygen-extensions; then cp -rv doc/doxygen/html public/doxygen-extensions; fi
+ - if test -e doc/doxygen-extensions; then cp -rv doc/doxygen-extensions/html public/doxygen-extensions; fi
artifacts:
paths:
- public
diff --git a/buildtools/ci-index.html b/buildtools/ci-index.html
new file mode 100644
index 000000000..8ce2c418d
--- /dev/null
+++ b/buildtools/ci-index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<!-- This is the entry point for CI-generated stuff from the source code.
+ Currently, scan-build analysis and doxygen documentation.
+ Feel free to make this page as beautiful as you want.
+ Mc -->
+ <head>
+ <title>Inkscape CI</title>
+ </head>
+ <body>
+ <h1>Welcome to the Inkscape CI homepage</h1>
+ <p> This page lists the elements generated from the source code and regularly updated.</p>
+ <p>LAST UPDATE: <span style="font-weight:bold;">%DATE%</span> </p>
+ <ul>
+ <li><a href="doxygen/">Doxygen documentation fro Inkscape source code</a></li>
+ <li><a href="doxygen-extensions/">Doxygen documentation for extensions</a></li>
+ <li><a href="scan-build/">scan-build static analysis report</a></li>
+ </ul>
+ <p><span style="font-size:small;position:absolute;bottom:0;right:0;"><a href="https://gitlab.com/inkscape/inkscape/blob/master/buildtools/ci-index.html">Feel free to improve this file.</a></span></p>
+ </body>
+</html>