added todos

This commit is contained in:
Bernhard Posselt
2012-10-30 18:52:02 +01:00
parent 6ba2c39352
commit 8e006d8d52
3 changed files with 19 additions and 27 deletions

View File

@@ -1064,6 +1064,14 @@ img.alignleft{ margin-right: 20px; }
padding-left: 50px;
}
.admonition-todo .first {
background-color: #edd400;
}
.admonition-todo .last {
background-image: url('img/icon.svg');
}
.note .first {
background-color: #f5f5f5;
}

View File

@@ -25,7 +25,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinxcontrib.phpdomain']
extensions = ['sphinxcontrib.phpdomain', 'sphinx.ext.todo']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['../_shared_assets/templates']

View File

@@ -163,11 +163,7 @@ OC_Template
**Example:**
.. code-block:: php
<?php
// FIXME: provide an example please
?>
.. todo:: provide example
.. php:method:: getFormFactorExtension()
@@ -225,16 +221,12 @@ OC_Template
:param array $parameters: Parameters for the template
:returns: bool
Shortcut to print a simple page for admin
**Example:**
.. code-block:: php
<?php
// FIXME: provide an example please
?>
Shortcut to print a simple page for admin
.. todo:: provide example
.. php:method:: printGuestPage($application, $name[, $parameters])
@@ -243,15 +235,11 @@ OC_Template
:param array $parameters: Parameters for the template
:returns: bool
Shortcut to print a simple page for guests
**Example:**
.. code-block:: php
<?php
// FIXME: provide an example please
?>
Shortcut to print a simple page for guests
.. todo:: provide example
.. php:method:: printUserPage($application, $name[, $parameters])
@@ -265,11 +253,7 @@ OC_Template
**Example:**
.. code-block:: php
<?php
// FIXME: provide an example please
?>
.. todo:: provide example
@@ -287,7 +271,7 @@ html_select_options
:param array $params: optional parameters that are done in key => value
:returns: the html as string of preset <option> tags
FIXME: explain parameters
.. todo:: Fix parameters and add example