summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/Python
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/Python')
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-class.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-default.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-enum.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-function.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-namespace.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-property.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-record.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-signal.tmpl2
-rw-r--r--giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl2
9 files changed, 9 insertions, 9 deletions
diff --git a/giscanner/doctemplates/Python/mallard-Python-class.tmpl b/giscanner/doctemplates/Python/mallard-Python-class.tmpl
index 6eef692e..800d241f 100644
--- a/giscanner/doctemplates/Python/mallard-Python-class.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-class.tmpl
@@ -8,7 +8,7 @@
<info>
<link type="guide" xref="index" group="class"/>
</info>
- <title>${namespace.name}.${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
${formatter.format(node, node.doc)}
<synopsis><code>
diff --git a/giscanner/doctemplates/Python/mallard-Python-default.tmpl b/giscanner/doctemplates/Python/mallard-Python-default.tmpl
index 7bc55d8d..1d202109 100644
--- a/giscanner/doctemplates/Python/mallard-Python-default.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-default.tmpl
@@ -6,6 +6,6 @@
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
</info>
- <title>${namespace.name}.${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
${formatter.format(node, node.doc)}
</page>
diff --git a/giscanner/doctemplates/Python/mallard-Python-enum.tmpl b/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
index 55ebdf51..c1a4d8c5 100644
--- a/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
@@ -7,7 +7,7 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>${node.namespace.name}.${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
${formatter.format(node, node.doc)}
% if node.members:
<table>
diff --git a/giscanner/doctemplates/Python/mallard-Python-function.tmpl b/giscanner/doctemplates/Python/mallard-Python-function.tmpl
index 405f2c3c..1976a1ca 100644
--- a/giscanner/doctemplates/Python/mallard-Python-function.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-function.tmpl
@@ -34,7 +34,7 @@
% endfor
</api:function>
</info>
- <title>${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
<synopsis><code mime="text/x-python">
% if len(node.parameters) != 0:
@accepts(\
diff --git a/giscanner/doctemplates/Python/mallard-Python-namespace.tmpl b/giscanner/doctemplates/Python/mallard-Python-namespace.tmpl
index 4ccf452e..97bd7132 100644
--- a/giscanner/doctemplates/Python/mallard-Python-namespace.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-namespace.tmpl
@@ -6,7 +6,7 @@
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
</info>
- <title>${node.name} Documentation</title>
+ <title>${formatter.format_page_name(node)}</title>
<links type="topic" ui:expanded="yes" groups="class">
<title>Classes</title>
</links>
diff --git a/giscanner/doctemplates/Python/mallard-Python-property.tmpl b/giscanner/doctemplates/Python/mallard-Python-property.tmpl
index 47187a73..7f4138cd 100644
--- a/giscanner/doctemplates/Python/mallard-Python-property.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-property.tmpl
@@ -8,7 +8,7 @@
<link type="guide" xref="${namespace.name}.${node.parent.name}" group="property"/>
<title type="link" role="topic">${node.name}</title>
</info>
- <title>${namespace.name}.${node.parent.name}:${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
<synopsis><code mime="text/x-python">
"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
</code></synopsis>
diff --git a/giscanner/doctemplates/Python/mallard-Python-record.tmpl b/giscanner/doctemplates/Python/mallard-Python-record.tmpl
index f6abd116..43bea043 100644
--- a/giscanner/doctemplates/Python/mallard-Python-record.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-record.tmpl
@@ -7,6 +7,6 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>${node.namespace.name}${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
<p>${node.doc}</p>
</page>
diff --git a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
index 7bfaf9c5..8dda89be 100644
--- a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
@@ -8,7 +8,7 @@
<link type="guide" xref="${namespace.name}.${node.parent.name}" group="signal"/>
<title type="link" role="topic">${node.name}</title>
</info>
- <title>${namespace.name}.${node.parent.name}::${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
<synopsis><code mime="text/x-python">
def callback(${formatter.to_underscores(node.parent.name).lower()}, \
% for arg, ix in zip(node.parameters, range(len(node.parameters))):
diff --git a/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl b/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
index 2437e56a..86dc685b 100644
--- a/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
@@ -9,7 +9,7 @@
<link type="guide" xref="${namespace.name}.${node.parent.name}" group="vfunc"/>
<title type="link" role="topic">${node.name}</title>
</info>
- <title>${namespace.name}.${node.parent.name}.${node.name}</title>
+ <title>${formatter.format_page_name(node)}</title>
<synopsis><code mime="text/x-python">
% if len(node.parameters) != 0:
@accepts(\