aboutsummaryrefslogtreecommitdiff
path: root/python/paludis_python.hh
diff options
context:
space:
mode:
authorAvatar zaufi <i.zaufi@gmail.com> 2013-12-13 15:44:20 +0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-12-29 20:04:18 +0000
commit590c6a9c55f27d1cebc72462cc0797d62a004952 (patch)
tree812d6de3c7d6cef7b1886896047e5bad15c165b0 /python/paludis_python.hh
parentff990637e2397690ce911a762d1ce089acd602ad (diff)
downloadpaludis-590c6a9c55f27d1cebc72462cc0797d62a004952.tar.gz
paludis-590c6a9c55f27d1cebc72462cc0797d62a004952.tar.xz
Use `sphinx` (which is Pythons 2 and 3 compatible) to build Python API documentation instead of Python 2 only `epydoc`.
Diffstat (limited to 'python/paludis_python.hh')
-rw-r--r--python/paludis_python.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/paludis_python.hh b/python/paludis_python.hh
index feed60328..5cac703ab 100644
--- a/python/paludis_python.hh
+++ b/python/paludis_python.hh
@@ -89,7 +89,7 @@ namespace paludis
{
std::string e_name_up(toupper(stringify(e)));
enum_.value(e_name_up.c_str(), e);
- doc += "\n\t" + e_name_up;
+ doc += "\n\t* ``" + e_name_up + "``";
}
PyTypeObject * pto = reinterpret_cast<PyTypeObject *>(enum_.ptr());
PyDict_SetItemString(