diff options
Diffstat (limited to 'giscanner')
18 files changed, 18 insertions, 18 deletions
diff --git a/giscanner/doctemplates/C/mallard-C-class.tmpl b/giscanner/doctemplates/C/mallard-C-class.tmpl index 5081f857..3a208447 100644 --- a/giscanner/doctemplates/C/mallard-C-class.tmpl +++ b/giscanner/doctemplates/C/mallard-C-class.tmpl @@ -8,7 +8,7 @@ <info> <link type="guide" xref="index" group="class"/> </info> - <title>${node.ctype}</title> + <title>${formatter.format_page_name(node)}</title> ${formatter.format(node, node.doc)} % if node.version: <p>Since ${node.version}</p> diff --git a/giscanner/doctemplates/C/mallard-C-default.tmpl b/giscanner/doctemplates/C/mallard-C-default.tmpl index c6ce1760..d2c41056 100644 --- a/giscanner/doctemplates/C/mallard-C-default.tmpl +++ b/giscanner/doctemplates/C/mallard-C-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/C/mallard-C-enum.tmpl b/giscanner/doctemplates/C/mallard-C-enum.tmpl index 393fae4f..7283366d 100644 --- a/giscanner/doctemplates/C/mallard-C-enum.tmpl +++ b/giscanner/doctemplates/C/mallard-C-enum.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> ${formatter.format(node, node.doc)} </page> diff --git a/giscanner/doctemplates/C/mallard-C-function.tmpl b/giscanner/doctemplates/C/mallard-C-function.tmpl index 853a7619..d433aa56 100644 --- a/giscanner/doctemplates/C/mallard-C-function.tmpl +++ b/giscanner/doctemplates/C/mallard-C-function.tmpl @@ -34,7 +34,7 @@ % endfor </api:function> </info> - <title>${node.symbol}</title> + <title>${formatter.format_page_name(node)}</title> <synopsis><code mime="text/x-csrc"> ${node.retval.type.ctype} ${node.symbol} (\ % if node.is_method: diff --git a/giscanner/doctemplates/C/mallard-C-namespace.tmpl b/giscanner/doctemplates/C/mallard-C-namespace.tmpl index 5d39dbcb..39d02619 100644 --- a/giscanner/doctemplates/C/mallard-C-namespace.tmpl +++ b/giscanner/doctemplates/C/mallard-C-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" style="linklist"> <title>Classes</title> </links> diff --git a/giscanner/doctemplates/C/mallard-C-property.tmpl b/giscanner/doctemplates/C/mallard-C-property.tmpl index 68f09ec8..a253160d 100644 --- a/giscanner/doctemplates/C/mallard-C-property.tmpl +++ b/giscanner/doctemplates/C/mallard-C-property.tmpl @@ -8,6 +8,6 @@ <link type="guide" xref="${namespace.name}.${node.parent.name}" group="property"/> <title type="link" role="topic">${node.name}</title> </info> - <title>${node.parent.ctype}:${node.name}</title> + <title>${formatter.format_page_name(node)}</title> ${formatter.format(node, node.doc)} </page> diff --git a/giscanner/doctemplates/C/mallard-C-record.tmpl b/giscanner/doctemplates/C/mallard-C-record.tmpl index f0c80dc0..7283366d 100644 --- a/giscanner/doctemplates/C/mallard-C-record.tmpl +++ b/giscanner/doctemplates/C/mallard-C-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> ${formatter.format(node, node.doc)} </page> diff --git a/giscanner/doctemplates/C/mallard-C-signal.tmpl b/giscanner/doctemplates/C/mallard-C-signal.tmpl index 33ed5c2d..49ee9852 100644 --- a/giscanner/doctemplates/C/mallard-C-signal.tmpl +++ b/giscanner/doctemplates/C/mallard-C-signal.tmpl @@ -8,6 +8,6 @@ <link type="guide" xref="${namespace.name}.${node.parent.name}" group="signal"/> <title type="link" role="topic">${node.name}</title> </info> - <title>${node.parent.ctype}::${node.name}</title> + <title>${formatter.format_page_name(node)}</title> ${formatter.format(node, node.doc)} </page> diff --git a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl index 3a00d992..3363ea8c 100644 --- a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl +++ b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl @@ -8,7 +8,7 @@ <info> <link type="guide" xref="${namespace.name}.${node.parent.name}" group="vfunc"/> </info> - <title>${node.name}</title> + <title>${formatter.format_page_name(node)}</title> <synopsis><code mime="text/x-csrc"> </code></synopsis> ${formatter.format(node, node.doc)} 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(\ |