aboutsummaryrefslogtreecommitdiff
path: root/docs/theme/extra/templates
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-03-29 15:03:43 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-26 17:56:33 +0300
commitb371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f (patch)
tree6e1a3c34b1a85479d3b9f42ccd071096e637929b /docs/theme/extra/templates
parent7dc747ea54480c452b913e4bfe682ec67061c9bf (diff)
downloadmeson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.zip
meson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.tar.gz
meson-b371875e02cce2fb3fbb9fbb8f07eb5817ae0e8f.tar.bz2
docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with the source code as people will have to document new features etc right at the time where they implement it.
Diffstat (limited to 'docs/theme/extra/templates')
-rw-r--r--docs/theme/extra/templates/brand-logo.html1
-rw-r--r--docs/theme/extra/templates/extra_head.html3
-rw-r--r--docs/theme/extra/templates/navbar_center.html1
-rw-r--r--docs/theme/extra/templates/navbar_links.html39
4 files changed, 44 insertions, 0 deletions
diff --git a/docs/theme/extra/templates/brand-logo.html b/docs/theme/extra/templates/brand-logo.html
new file mode 100644
index 0000000..7a12347
--- /dev/null
+++ b/docs/theme/extra/templates/brand-logo.html
@@ -0,0 +1 @@
+<img src="assets/images/meson_logo.png" alt=Home>
diff --git a/docs/theme/extra/templates/extra_head.html b/docs/theme/extra/templates/extra_head.html
new file mode 100644
index 0000000..012f325
--- /dev/null
+++ b/docs/theme/extra/templates/extra_head.html
@@ -0,0 +1,3 @@
+<title>The MesonĀ® Build System</title>
+<link rel="icon" type="image/png" href="assets/images/favicon.png">
+<link rel="shortcut icon" href="assets/images/favicon.png">
diff --git a/docs/theme/extra/templates/navbar_center.html b/docs/theme/extra/templates/navbar_center.html
new file mode 100644
index 0000000..9934be7
--- /dev/null
+++ b/docs/theme/extra/templates/navbar_center.html
@@ -0,0 +1 @@
+<p><b>The Meson Build System</b></p>
diff --git a/docs/theme/extra/templates/navbar_links.html b/docs/theme/extra/templates/navbar_links.html
new file mode 100644
index 0000000..8a3f515
--- /dev/null
+++ b/docs/theme/extra/templates/navbar_links.html
@@ -0,0 +1,39 @@
+@require(page)
+
+<li class="dropdown">
+ <a class="dropdown-toggle" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Modules <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu" id="modules-menu">
+ @for tup in (("Gnome-module.html","GNOME"), \
+ ("i18n-module.html","i18n"), \
+ ("Pkgconfig-module.html","Pkgconfig"), \
+ ("Python-3-module.html","Python 3"), \
+ ("Qt4-module.html","Qt4"), \
+ ("Qt5-module.tml","Qt5"), \
+ ("RPM-module.html","RPM"), \
+ ("Windows-module.html","Windows")):
+ <li>
+ <a href="@tup[0]">@tup[1]</a>
+ </li>
+ @end
+ </ul>
+</li>
+\
+<li class="dropdown">
+ <a class="dropdown-toggle" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Quick References <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu" id="quick-refs-menu">
+ @for tup in (("Reference-manual.html", "Functions"), \
+ ("Build-options.html", "Options"), \
+ ("Configuration.html", "Configuration"), \
+ ("Dependencies.html", "Dependencies"), \
+ ("Unit-tests.html", "Tests"), \
+ ("Syntax.html", "Syntax")):
+ <li>
+ <a href="@tup[0]">@tup[1]</a>
+ </li>
+ @end
+ </ul>
+</li>