summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-09-06 10:02:04 +0100
committerRichard Hughes <richard@hughsie.com>2011-09-06 10:02:04 +0100
commite2e8dd9603e332b83e5f1e4936cfb88758ee973b (patch)
tree8e51be39b32ffc6c9dbb97460eee758c4e7127e9 /doc
parent0e0333a6c8e1e2745da72c211227ee36766020ce (diff)
Add the website sources to git
In the case of a hit-by-a-bus event...
Diffstat (limited to 'doc')
-rw-r--r--doc/website/common.css92
-rw-r--r--doc/website/img/battery.pngbin0 -> 11809 bytes
-rw-r--r--doc/website/index.htm59
3 files changed, 151 insertions, 0 deletions
diff --git a/doc/website/common.css b/doc/website/common.css
new file mode 100644
index 0000000..9884477
--- /dev/null
+++ b/doc/website/common.css
@@ -0,0 +1,92 @@
+/* common.css - MoinMoin Default Styles
+
+ Copyright (c) 2001, 2002, 2003 by Jürgen Hermann
+*/
+
+/* content styles */
+
+html {
+ background-color: white;
+ color: black;
+}
+
+h2 {
+ font-size: 1.6em;
+}
+
+h3 {
+ font-size: 1.3em;
+}
+
+h4, h5, h6 {
+ font-size: 1em;
+}
+
+li p {
+ margin: .2em 0;
+}
+
+li.gap {
+ margin-top: 8pt;
+}
+
+a img {
+ border: 0;
+}
+
+img.drawing {
+ border: 0;
+}
+
+dt {
+ font-weight: bold;
+}
+
+pre {
+ padding: .5em;
+ white-space: pre-wrap;
+}
+
+body {
+ margin-top: 2em;
+ margin-left: 5%;
+ margin-right: 5%;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #2b5e82;
+}
+
+a:link {
+ background-color: inherit;
+ color: #2b5e82;
+}
+
+a:visited {
+ background-color: inherit;
+ color: #52188b;
+}
+
+pre {
+ border: 1px solid #CBCBCB;
+ background-color: #FFF8ED;
+ color: black;
+}
+
+hr {
+ clear: both;
+ border-style: none;
+ background-color: #CBCBCB;
+ color: #CBCBCB;
+}
+
+td {
+ border: 1px solid #999999;
+}
+
+p.footer {
+ color: #000000;
+ text-align: center;
+ font-size: 9px;
+}
+
diff --git a/doc/website/img/battery.png b/doc/website/img/battery.png
new file mode 100644
index 0000000..6d3d1f2
--- /dev/null
+++ b/doc/website/img/battery.png
Binary files differ
diff --git a/doc/website/index.htm b/doc/website/index.htm
new file mode 100644
index 0000000..4c4b375
--- /dev/null
+++ b/doc/website/index.htm
@@ -0,0 +1,59 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+<meta name="robots" content="index,follow">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="common.css">
+<title>UPower</title>
+</head>
+<body>
+<h1>UPower</h1>
+<p>
+<img src="img/battery.png" alt="[image of a battery]">
+</p>
+<p>
+UPower is an abstraction for enumerating power devices,
+listening to device events and querying history and statistics.
+Any application or service on the system can access the
+<code>org.freedesktop.UPower</code> service via the system message bus.
+Some operations (such as suspending the system) are restricted using <a href="http://hal.freedesktop.org/docs/PolicyKit/">PolicyKit</a>.
+</p>
+<p>
+UPower was <a href="http://lists.freedesktop.org/archives/devkit-devel/2009-December/000567.html">
+once called DeviceKit-power</a>.
+UPower aims to make a large chunk of HAL redundant, as HAL is officially
+<a href="http://lists.freedesktop.org/archives/hal/2008-May/011560.html">deprecated</a>.
+</p>
+<p>
+UPower is also useful to control the
+<a href="http://blogs.gnome.org/hughsie/2008/11/06/devicekit-power-latency-control/">
+latency of different operations</a> on your computer,
+which enables you to save significant amounts of power.
+Nothing much uses this interface yet, but this is a classic chicken and egg scenario,
+and I think it's important to encourage the egg to lay a chicken.
+Please report any problems to the
+<a href="http://lists.freedesktop.org/mailman/listinfo/devkit-devel">DeviceKit</a>
+mailing list.
+</p>
+<p>
+Documentation is available <a href="docs/">here</a>.
+</p>
+<p>
+Releases are available <a href="releases/">here</a>.
+</p>
+<p>
+The source is managed using Git.
+You can <a href="http://cgit.freedesktop.org/upower/">browse</a> the
+repository using cgit or clone it using the following command:
+</p>
+<pre>
+$ git clone git://anongit.freedesktop.org/upower
+</pre>
+<p class="footer">
+Copyright <a href="mailto:richard@hughsie.com">Richard Hughes 2007-2010</a><br>
+<a href="http://validator.w3.org/check/referer">Optimized</a>
+for <a href="http://www.w3.org/">standards</a>.
+</p>
+</body>
+</html>
+