summaryrefslogtreecommitdiff
path: root/tests/doctool
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 01:11:23 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 19:47:42 -0500
commitfb550201b36b49035d11a7d25b93d2191b6481f8 (patch)
tree8474bd1eb109aa2518d1cb86792f5450cd0686d3 /tests/doctool
parent7169562133632e11fb4f564211a1db1aa61bab5c (diff)
downloadgobject-introspection-fb550201b36b49035d11a7d25b93d2191b6481f8.tar.gz
doctool: Switch to UI v1.0
This is to shut yelp up about experimental UI and expanded.
Diffstat (limited to 'tests/doctool')
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page14
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page2
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/index.page8
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page4
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page9
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page11
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page10
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page14
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page11
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page11
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page11
-rw-r--r--tests/doctool/DocExamples-1.0-Gjs-expected/index.page8
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page14
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page2
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/index.page8
36 files changed, 87 insertions, 92 deletions
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page
index 98d30f8c..621485cf 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Callback.page
@@ -4,7 +4,7 @@
style="default"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page
index 97b15866..6957f4b7 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Enum.page
@@ -4,7 +4,7 @@
style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page
index d1f44d49..90982bf2 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page
@@ -4,7 +4,7 @@
style="property"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="property"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
index 63d86354..5b54651a 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
@@ -4,7 +4,7 @@
style="signal"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="property"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
index ec5d7fe6..c06c5e7a 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
@@ -4,7 +4,7 @@
style="vfunc"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="vfunc"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
index 344b36f3..df3168c1 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
@@ -4,7 +4,7 @@
style="method"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="method"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
index bb4fc10f..ceef763d 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
@@ -4,7 +4,7 @@
style="constructor"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="constructor"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
index 85132de6..9448bbb6 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
@@ -4,7 +4,7 @@
style="class"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -33,26 +33,26 @@
</synopsis>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/x-csrc"
groups="method" style="linklist">
<title>Methods</title>
</links>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/x-csrc"
groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="property" style="linklist">
+ <links type="topic" ui:expanded="true" groups="property" style="linklist">
<title>Properties</title>
</links>
- <links type="topic" ui:expanded="yes" groups="signal" style="linklist">
+ <links type="topic" ui:expanded="true" groups="signal" style="linklist">
<title>Signals</title>
</links>
- <links type="topic" ui:expanded="yes" groups="vfunc" style="linklist">
+ <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
<title>Virtual functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
index 5fd3c740..99345e0e 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
index 75bf1299..fe95df74 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
@@ -4,7 +4,7 @@
style="record"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
index f596786a..c3dfc238 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
index 0ae97913..0688cbb9 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/index.page b/tests/doctool/DocExamples-1.0-C-expected/index.page
index de98563c..1d89dedd 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/index.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/index.page
@@ -4,7 +4,7 @@
style="namespace"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -20,13 +20,13 @@
- <links type="topic" ui:expanded="yes" groups="class" style="linklist">
+ <links type="topic" ui:expanded="true" groups="class" style="linklist">
<title>Classes</title>
</links>
- <links type="topic" ui:expanded="yes" groups="function" style="linklist">
+ <links type="topic" ui:expanded="true" groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page
index 98d30f8c..621485cf 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Callback.page
@@ -4,7 +4,7 @@
style="default"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page
index 79ea6370..a3e64bc5 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Enum.page
@@ -4,7 +4,7 @@
style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page
index 398fc4cc..59d90f4d 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-property-example.page
@@ -4,7 +4,7 @@
style="property"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="property"/>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page
index 8b7e5d5d..074ccd2b 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-signal-example.page
@@ -4,7 +4,7 @@
style="signal"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="signal"/>
@@ -14,7 +14,7 @@
<title>DocExamples.Obj::signal-example</title>
<synopsis><code mime="text/x-python">
-def callback(obj, int_param, float_param, pointer_param, user_param1, ...)
+function callback(obj, int_param:Number, float_param:Number, pointer_param:gpointer, user_param1, ...):void;
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page
index bd876ca8..87c38e63 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj-vfunc.page
@@ -4,7 +4,7 @@
style="vfunc"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -12,10 +12,9 @@
</info>
<title>DocExamples.Obj::vfunc</title>
-<synopsis><code mime="text/x-python">
-@accepts(Number)
-@returns(none)
-def do_vfunc(self, first_arg):
+<synopsis><code mime="text/x-gjs">
+function vfunc_vfunc(first_arg:Number):void {
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
index 4e049123..16f951bc 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
@@ -4,7 +4,7 @@
style="method"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="method"/>
@@ -42,11 +42,10 @@
</info>
<title>Obj.prototype.method</title>
-<synopsis><code mime="text/x-python">
-@accepts(Number, Number, Boolean, gpointer, String)
-@returns(Boolean)
-def method(self, first_arg, second_arg, boolean_arg, pointer_arg, string):
- # Python wrapper for doc_examples_obj_method()
+<synopsis><code mime="text/x-gjs">
+function method(first_arg:Number, second_arg:Number, boolean_arg:Boolean, pointer_arg:gpointer, string:String):Boolean {
+ // Gjs wrapper for doc_examples_obj_method()
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page
index 16dbd65a..2dab7439 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.new.page
@@ -4,7 +4,7 @@
style="constructor"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="constructor"/>
@@ -18,10 +18,10 @@
</info>
<title>Obj.new</title>
-<synopsis><code mime="text/x-python">
-@returns(DocExamples.Obj)
-def new():
- # Python wrapper for doc_examples_obj_new()
+<synopsis><code mime="text/x-gjs">
+function new():DocExamples.Obj {
+ // Gjs wrapper for doc_examples_obj_new()
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page
index c040d0e3..378f27d1 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.page
@@ -4,7 +4,7 @@
style="class"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -37,26 +37,26 @@ obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_exa
</synopsis>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/x-gjs"
groups="method" style="linklist">
<title>Methods</title>
</links>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/x-gjs"
groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="property" style="linklist">
+ <links type="topic" ui:expanded="true" groups="property" style="linklist">
<title>Properties</title>
</links>
- <links type="topic" ui:expanded="yes" groups="signal" style="linklist">
+ <links type="topic" ui:expanded="true" groups="signal" style="linklist">
<title>Signals</title>
</links>
- <links type="topic" ui:expanded="yes" groups="vfunc" style="linklist">
+ <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
<title>Virtual functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page
index 6577e9b5..fd9e1007 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.static_method.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="function"/>
@@ -22,11 +22,10 @@
</info>
<title>static_method</title>
-<synopsis><code mime="text/x-python">
-@accepts(Number)
-@returns(Boolean)
-def static_method(out_arg):
- # Python wrapper for doc_examples_obj_static_method()
+<synopsis><code mime="text/x-gjs">
+function static_method(out_arg:Number):Boolean {
+ // Gjs wrapper for doc_examples_obj_static_method()
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page
index f41047b2..05583a26 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.array_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
@@ -22,11 +22,10 @@
</info>
<title>array_function</title>
-<synopsis><code mime="text/x-python">
-@accepts(Number)
-@returns([Number])
-def array_function(out_len):
- # Python wrapper for doc_examples_array_function()
+<synopsis><code mime="text/x-gjs">
+function array_function(out_len:Number):[Number] {
+ // Gjs wrapper for doc_examples_array_function()
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page
index 9b805712..4e3de123 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
@@ -30,11 +30,10 @@
</info>
<title>callback_function</title>
-<synopsis><code mime="text/x-python">
-@accepts(DocExamples.Callback, gpointer, GLib.DestroyNotify)
-@returns(DocExamples.Enum)
-def callback_function(callback, user_data, destroy_notify):
- # Python wrapper for doc_examples_callback_function()
+<synopsis><code mime="text/x-gjs">
+function callback_function(callback:DocExamples.Callback, user_data:gpointer, destroy_notify:GLib.DestroyNotify):DocExamples.Enum {
+ // Gjs wrapper for doc_examples_callback_function()
+}
</code></synopsis>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/index.page b/tests/doctool/DocExamples-1.0-Gjs-expected/index.page
index de98563c..1d89dedd 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/index.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/index.page
@@ -4,7 +4,7 @@
style="namespace"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -20,13 +20,13 @@
- <links type="topic" ui:expanded="yes" groups="class" style="linklist">
+ <links type="topic" ui:expanded="true" groups="class" style="linklist">
<title>Classes</title>
</links>
- <links type="topic" ui:expanded="yes" groups="function" style="linklist">
+ <links type="topic" ui:expanded="true" groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page
index 98d30f8c..621485cf 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Callback.page
@@ -4,7 +4,7 @@
style="default"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
index 79ea6370..a3e64bc5 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
@@ -4,7 +4,7 @@
style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
index 3665e432..98cafdf5 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
@@ -4,7 +4,7 @@
style="property"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="property"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
index 8b7e5d5d..1dc5d60d 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -4,7 +4,7 @@
style="signal"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="signal"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
index 98c9bfcb..a4864631 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
@@ -4,7 +4,7 @@
style="vfunc"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
index 245b2586..8ebcb732 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
@@ -4,7 +4,7 @@
style="method"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="method"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
index 14eedd4a..12cfad8c 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
@@ -4,7 +4,7 @@
style="class"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -37,26 +37,26 @@ obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_exa
</synopsis>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/python"
groups="method" style="linklist">
<title>Methods</title>
</links>
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="text/python"
groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="property" style="linklist">
+ <links type="topic" ui:expanded="true" groups="property" style="linklist">
<title>Properties</title>
</links>
- <links type="topic" ui:expanded="yes" groups="signal" style="linklist">
+ <links type="topic" ui:expanded="true" groups="signal" style="linklist">
<title>Signals</title>
</links>
- <links type="topic" ui:expanded="yes" groups="vfunc" style="linklist">
+ <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
<title>Virtual functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
index e23e90d7..6088a5e2 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="DocExamples.Obj" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
index 1b2b4146..506e40f3 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
index 9b805712..53f5861d 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
@@ -4,7 +4,7 @@
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/index.page b/tests/doctool/DocExamples-1.0-Python-expected/index.page
index de98563c..1d89dedd 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/index.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/index.page
@@ -4,7 +4,7 @@
style="namespace"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index"/>
@@ -20,13 +20,13 @@
- <links type="topic" ui:expanded="yes" groups="class" style="linklist">
+ <links type="topic" ui:expanded="true" groups="class" style="linklist">
<title>Classes</title>
</links>
- <links type="topic" ui:expanded="yes" groups="function" style="linklist">
+ <links type="topic" ui:expanded="true" groups="function" style="linklist">
<title>Functions</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>