[gobject-introspection] doctool: Switch to UI v1.0
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] doctool: Switch to UI v1.0
- Date: Sat, 2 Feb 2013 02:22:43 +0000 (UTC)
commit fb550201b36b49035d11a7d25b93d2191b6481f8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 1 01:11:23 2013 -0500
doctool: Switch to UI v1.0
This is to shut yelp up about experimental UI and expanded.
giscanner/doctemplates/base.tmpl | 2 +-
giscanner/doctemplates/class.tmpl | 12 ++++++------
giscanner/doctemplates/namespace.tmpl | 6 +++---
.../DocExamples.Callback.page | 2 +-
.../DocExamples.Enum.page | 2 +-
.../DocExamples.Obj-property-example.page | 2 +-
.../DocExamples.Obj-signal-example.page | 2 +-
.../DocExamples.Obj-vfunc.page | 2 +-
.../DocExamples.Obj.method.page | 2 +-
.../DocExamples.Obj.new.page | 2 +-
.../DocExamples.Obj.page | 14 +++++++-------
.../DocExamples.Obj.static_method.page | 2 +-
.../DocExamples.ObjClass.page | 2 +-
.../DocExamples.array_function.page | 2 +-
.../DocExamples.callback_function.page | 2 +-
.../doctool/DocExamples-1.0-C-expected/index.page | 8 ++++----
.../DocExamples.Callback.page | 2 +-
.../DocExamples.Enum.page | 2 +-
.../DocExamples.Obj-property-example.page | 2 +-
.../DocExamples.Obj-signal-example.page | 4 ++--
.../DocExamples.Obj-vfunc.page | 9 ++++-----
.../DocExamples.Obj.method.page | 11 +++++------
.../DocExamples.Obj.new.page | 10 +++++-----
.../DocExamples.Obj.page | 14 +++++++-------
.../DocExamples.Obj.static_method.page | 11 +++++------
.../DocExamples.array_function.page | 11 +++++------
.../DocExamples.callback_function.page | 11 +++++------
.../DocExamples-1.0-Gjs-expected/index.page | 8 ++++----
.../DocExamples.Callback.page | 2 +-
.../DocExamples.Enum.page | 2 +-
.../DocExamples.Obj-property-example.page | 2 +-
.../DocExamples.Obj-signal-example.page | 2 +-
.../DocExamples.Obj-vfunc.page | 2 +-
.../DocExamples.Obj.method.page | 2 +-
.../DocExamples.Obj.page | 14 +++++++-------
.../DocExamples.Obj.static_method.page | 2 +-
.../DocExamples.array_function.page | 2 +-
.../DocExamples.callback_function.page | 2 +-
.../DocExamples-1.0-Python-expected/index.page | 8 ++++----
39 files changed, 97 insertions(+), 102 deletions(-)
---
diff --git a/giscanner/doctemplates/base.tmpl b/giscanner/doctemplates/base.tmpl
index e40739c..0fe8465 100644
--- a/giscanner/doctemplates/base.tmpl
+++ b/giscanner/doctemplates/base.tmpl
@@ -5,7 +5,7 @@
style="${page_style}"
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>
<%block name="info">
<link type="guide" xref="index"/>
diff --git a/giscanner/doctemplates/class.tmpl b/giscanner/doctemplates/class.tmpl
index f264bc2..7f8b686 100644
--- a/giscanner/doctemplates/class.tmpl
+++ b/giscanner/doctemplates/class.tmpl
@@ -15,26 +15,26 @@
</synopsis>
</%block>
<%block name="links">
- <links type="topic" ui:expanded="yes"
+ <links type="topic" ui:expanded="true"
api:type="function" api:mime="${formatter.mime_type}"
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="${formatter.mime_type}"
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>
</%block>
diff --git a/giscanner/doctemplates/namespace.tmpl b/giscanner/doctemplates/namespace.tmpl
index 10745fa..48ae1d9 100644
--- a/giscanner/doctemplates/namespace.tmpl
+++ b/giscanner/doctemplates/namespace.tmpl
@@ -3,13 +3,13 @@
<%block name="doc">
</%block>
<%block name="links">
- <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>
</%block>
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 98d30f8..621485c 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 97b1586..6957f4b 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 d1f44d4..90982bf 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 63d8635..5b54651 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 ec5d7fe..c06c5e7 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 344b36f..df3168c 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 bb4fc10..ceef763 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 85132de..9448bbb 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 5fd3c74..99345e0 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 75bf129..fe95df7 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 f596786..c3dfc23 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 0ae9791..0688cbb 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 de98563..1d89ded 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 98d30f8..621485c 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 79ea637..a3e64bc 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 398fc4c..59d90f4 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 8b7e5d5..074ccd2 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 bd876ca..87c38e6 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 4e04912..16f951b 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 16dbd65..2dab743 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 c040d0e..378f27d 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 6577e9b..fd9e100 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 f41047b..05583a2 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 9b80571..4e3de12 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 de98563..1d89ded 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 98d30f8..621485c 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 79ea637..a3e64bc 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 3665e43..98cafdf 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 8b7e5d5..1dc5d60 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 98c9bfc..a486463 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 245b258..8ebcb73 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 14eedd4..12cfad8 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 e23e90d..6088a5e 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 1b2b414..506e40f 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 9b80571..53f5861 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 de98563..1d89ded 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]