aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kletzander <mkletzan@redhat.com>2012-08-01 15:29:27 +0200
committerMartin Kletzander <mkletzan@redhat.com>2012-08-10 10:58:38 +0200
commit2818359075444e70eeabf0c55ea15ff745a6dcb6 (patch)
tree82ff8061c1e32b6d0765e8150797b8bac7ad098c /docs/search.php.in
parentdocs: fix 404 page when fetched from different location (diff)
downloadlibvirt-2818359075444e70eeabf0c55ea15ff745a6dcb6.tar.gz
libvirt-2818359075444e70eeabf0c55ea15ff745a6dcb6.tar.bz2
libvirt-2818359075444e70eeabf0c55ea15ff745a6dcb6.zip
docs: autogenerate search.php
This patch makes search.php autogenerated from search.php.in, thus removing hardcoded menus, footer etc. and the search.php is added to .gitignore. There is new rule added for *.php files (to make it bit less hardcoded) that takes *.php.code.in and injects it inside the generated *.php (xslt was not happy about php code in the source xml).
Diffstat (limited to 'docs/search.php.in')
-rw-r--r--docs/search.php.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/search.php.in b/docs/search.php.in
new file mode 100644
index 000000000..ee8f4a3ed
--- /dev/null
+++ b/docs/search.php.in
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<html>
+ <body>
+ <h1>Search the documentation on Libvirt.org</h1>
+
+ <p>
+ The search service indexes the libvirt APIs and documentation as
+ well as the libvir-list@redhat.com mailing-list archives. To use
+ it simply provide a set of keywords:
+ </p>
+
+<a id="php_placeholder"/>
+
+ <img src="libvirtLogo.png" alt="libvirt Logo" />
+
+ </body>
+</html>