make docs a bit nicer

This commit is contained in:
Michael Zanetti 2014-05-03 04:16:20 +02:00
parent 8c2b77247f
commit 0645f385b7
5 changed files with 19 additions and 5 deletions

View File

@ -3,7 +3,7 @@ include(html-styles.qdocconf)
HTML.postheader = \
"<div class=\"header\">\n" \
" <div class=\"content\"> \n" \
" <a href=\"index.html\" class=\"indexref\"><span>guh Developer Documentation</span></a>\n" \
" <a href=\"index.html\" class=\"indexref\"><img src="images/mascot.png"/><span class="titleText">guh developer documentation<span></a>\n" \
" </div>\n" \
" <div class=\"breadcrumb toolblock\">\n" \
" <ul>\n" \

BIN
doc/images/mascot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -225,7 +225,7 @@
clear: both;
overflow: hidden;
background: #4dc6a9;
height: 7.5em;
height: 10.5em;
}
/* end global settings*/
@ -235,11 +235,17 @@
font-size: 130%;
}
.titleText {
margin-top: 2em;
display: inline-block;
vertical-align: top;
}
.header .content
{
margin-bottom: 0.5em;
margin-top: 3em;
margin-left: 0.8em;
margin-top: 0.5em;
margin-left: 0.5em;
}
.naviNextPrevious

View File

@ -7,7 +7,7 @@ plugins.depends = libguh
tests.depends = libguh
doc.depends = libguh server
doc.commands = cd $$top_srcdir/doc; qdoc config.qdocconf
doc.commands = cd $$top_srcdir/doc; qdoc config.qdocconf; cp images/mascot.png html/images/
licensecheck.commands = $$top_srcdir/tests/auto/checklicenseheaders.sh $$top_srcdir

View File

@ -81,6 +81,8 @@ private slots:
void storedDevices();
void getRules();
private:
QVariant injectAndWait(const QString &method, const QVariantMap &params);
QStringList extractRefs(const QVariant &variant);
@ -593,5 +595,11 @@ void TestJSONRPC::storedDevices()
response = injectAndWait("Devices.RemoveConfiguredDevice", params);
}
void TestJSONRPC::getRules()
{
QVariant response = injectAndWait("Rules.GetRules", QVariantMap());
qDebug() << "got rules response" << response;
}
QTEST_MAIN(TestJSONRPC)
#include "testjsonrpc.moc"