aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/_themes/pelican/static/pelican.css_t76
-rw-r--r--docs/api.rst30
2 files changed, 53 insertions, 53 deletions
diff --git a/docs/_themes/pelican/static/pelican.css_t b/docs/_themes/pelican/static/pelican.css_t
index 3cb2a3c..8d8a9b2 100644
--- a/docs/_themes/pelican/static/pelican.css_t
+++ b/docs/_themes/pelican/static/pelican.css_t
@@ -6,11 +6,11 @@
*
* :copyright: Copyright 2011 by Alexis Metaireau.
*/
-
+
@import url("basic.css");
-
+
/* -- page layout ----------------------------------------------------------- */
-
+
body {
font-family: Arial, sans-serif;
font-size: 100%;
@@ -32,17 +32,17 @@ div.bodywrapper {
hr {
border: 1px solid #B1B4B6;
}
-
+
div.document {
}
-
+
div.body {
background-color: #ffffff;
color: #3E4349;
padding: 0 30px 30px 30px;
font-size: 0.9em;
}
-
+
div.footer {
color: #555;
width: 100%;
@@ -50,12 +50,12 @@ div.footer {
text-align: center;
font-size: 75%;
}
-
+
div.footer a {
color: #444;
text-decoration: underline;
}
-
+
div.related {
background-color: #6BA81E;
line-height: 32px;
@@ -63,11 +63,11 @@ div.related {
text-shadow: 0px 1px 0 #444;
font-size: 0.9em;
}
-
+
div.related a {
color: #E2F3CC;
}
-
+
div.sphinxsidebar {
font-size: 0.75em;
line-height: 1.5em;
@@ -76,7 +76,7 @@ div.sphinxsidebar {
div.sphinxsidebarwrapper{
padding: 20px 0;
}
-
+
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-family: Arial, sans-serif;
@@ -92,30 +92,30 @@ div.sphinxsidebar h4 {
div.sphinxsidebar h4{
font-size: 1.1em;
}
-
+
div.sphinxsidebar h3 a {
color: #444;
}
-
-
+
+
div.sphinxsidebar p {
color: #888;
padding: 5px 20px;
}
-
+
div.sphinxsidebar p.topless {
}
-
+
div.sphinxsidebar ul {
margin: 10px 20px;
padding: 0;
color: #000;
}
-
+
div.sphinxsidebar a {
color: #444;
}
-
+
div.sphinxsidebar input {
border: 1px solid #ccc;
font-family: sans-serif;
@@ -125,19 +125,19 @@ div.sphinxsidebar input {
div.sphinxsidebar input[type=text]{
margin-left: 20px;
}
-
+
/* -- body styles ----------------------------------------------------------- */
-
+
a {
color: #005B81;
text-decoration: none;
}
-
+
a:hover {
color: #E32E00;
text-decoration: underline;
}
-
+
div.body h1,
div.body h2,
div.body h3,
@@ -151,7 +151,7 @@ div.body h6 {
padding: 5px 0 5px 10px;
text-shadow: 0px 1px 0 white
}
-
+
{% if theme_index_logo %}
div.indexwrapper h1 {
text-indent: -999999px;
@@ -159,10 +159,10 @@ div.indexwrapper h1 {
height: {{ theme_index_logo_height }};
}
{% endif %}
-div.body h1 {
- border-top: 20px solid white;
- margin-top: 0;
- font-size: 250%;
+div.body h1 {
+ border-top: 20px solid white;
+ margin-top: 0;
+ font-size: 250%;
text-align: center;
}
@@ -171,23 +171,23 @@ div.body h3 { font-size: 120%; background-color: #D8DEE3; }
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
div.body h6 { font-size: 100%; background-color: #D8DEE3; }
-
+
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
}
-
+
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
-
+
div.body p, div.body dd, div.body li {
line-height: 1.5em;
}
-
+
div.admonition p.admonition-title + p {
display: inline;
}
@@ -200,29 +200,29 @@ div.note {
background-color: #eee;
border: 1px solid #ccc;
}
-
+
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}
-
+
div.topic {
background-color: #eee;
}
-
+
div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
}
-
+
p.admonition-title {
display: inline;
}
-
+
p.admonition-title:after {
content: ":";
}
-
+
pre {
padding: 10px;
background-color: #111;
@@ -234,7 +234,7 @@ pre {
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
-moz-box-shadow: 1px 1px 1px #d8d8d8;
}
-
+
tt {
background-color: #ecf0f3;
color: #222;
diff --git a/docs/api.rst b/docs/api.rst
index 34edbdb..ce5df71 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -64,18 +64,18 @@ Getting information about the project::
$ curl --basic -u demo:demo http://ihatemoney.notmyidea.org/api/projects/demo
{
- "name": "demonstration",
- "contact_email": "demo@notmyidea.org",
- "password": "demo",
+ "name": "demonstration",
+ "contact_email": "demo@notmyidea.org",
+ "password": "demo",
"id": "demo",
- "active_members": [{"activated": true, "id": 31, "name": "Arnaud"},
- {"activated": true, "id": 32, "name": "Alexis"},
- {"activated": true, "id": 33, "name": "Olivier"},
- {"activated": true, "id": 34, "name": "Fred"}],
- "members": [{"activated": true, "id": 31, "name": "Arnaud"},
- {"activated": true, "id": 32, "name": "Alexis"},
- {"activated": true, "id": 33, "name": "Olivier"},
- {"activated": true, "id": 34, "name": "Fred"}],
+ "active_members": [{"activated": true, "id": 31, "name": "Arnaud"},
+ {"activated": true, "id": 32, "name": "Alexis"},
+ {"activated": true, "id": 33, "name": "Olivier"},
+ {"activated": true, "id": 34, "name": "Fred"}],
+ "members": [{"activated": true, "id": 31, "name": "Arnaud"},
+ {"activated": true, "id": 32, "name": "Alexis"},
+ {"activated": true, "id": 33, "name": "Olivier"},
+ {"activated": true, "id": 34, "name": "Fred"}],
}
@@ -101,15 +101,15 @@ Members
You can get all the members with a `GET` on `/api/projects/<id>/members`::
$ curl --basic -u demo:demo http://ihatemoney.notmyidea.org/api/projects/demo/members\
- [{"activated": true, "id": 31, "name": "Arnaud"},
- {"activated": true, "id": 32, "name": "Alexis"},
+ [{"activated": true, "id": 31, "name": "Arnaud"},
+ {"activated": true, "id": 32, "name": "Alexis"},
{"activated": true, "id": 33, "name": "Olivier"},
{"activated": true, "id": 34, "name": "Fred"}]
Add a member with a `POST` request on `/api/projects/<id>/members`::
$ curl --basic -u demo:demo -X POST\
- http://ihatemoney.notmyidea.org/api/projects/demo/members -d 'name=tatayoyo'
+ http://ihatemoney.notmyidea.org/api/projects/demo/members -d 'name=tatayoyo'
35
You can also `PUT` a new version of a member (changing its name)::
@@ -122,7 +122,7 @@ You can also `PUT` a new version of a member (changing its name)::
Delete a member with a `DELETE` request on `/api/projects/<id>/members/<member-id>`::
$ curl --basic -u demo:demo -X DELETE\
- http://ihatemoney.notmyidea.org/api/projects/demo/members/35
+ http://ihatemoney.notmyidea.org/api/projects/demo/members/35
"OK
Bills