summaryrefslogtreecommitdiff
path: root/tests/doctool/DocExamples-1.0-Python-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/DocExamples-1.0-Python-expected')
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page16
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page40
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page27
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page78
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page53
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/index.page19
6 files changed, 0 insertions, 233 deletions
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
deleted file mode 100644
index be1e239b..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<page id="DocExamples.Obj-property-example"
- type="topic"
- style="property"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="DocExamples.Obj" group="property"/>
- <title type="link" role="topic">property-example</title>
- </info>
- <title>DocExamples.Obj:property-example</title>
-<synopsis><code mime="text/x-python">
-"property-example" {utf8: gint8} : Read / Write
-</code></synopsis>
-<p>This is an example of how to document a property.</p>
-</page>
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
deleted file mode 100644
index d83d2d82..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<page id="DocExamples.Obj-signal-example"
- type="topic"
- style="signal"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="DocExamples.Obj" group="signal"/>
- <title type="link" role="topic">signal-example</title>
- </info>
- <title>DocExamples.Obj::signal-example</title>
-<synopsis><code mime="text/x-python">
-def callback(obj, int_param, float_param, user_param1, ...)
-</code></synopsis>
-<p>This is an example of how to document a signal.</p>
-
-<table>
-<tr>
-<td><p>obj :</p></td>
-<td><p>instance of DocExamples.Obj that is emitting the signal</p></td>
-</tr>
-<tr>
-<td><p>int_param :</p></td>
-<td><p>a parameter of type int</p></td>
-</tr>
-<tr>
-<td><p>float_param :</p></td>
-<td><p>a parameter of type float</p></td>
-</tr>
-<tr>
-<td><p>user_param1 :</p></td>
-<td><p>first user parameter (if any) specified with the connect() method</p></td>
-</tr>
-<tr>
-<td><p>... :</p></td>
-<td><p>additional user parameters (if any)</p></td>
-</tr>
-</table>
-<p>Since 0.99</p>
-</page>
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
deleted file mode 100644
index 4e394d2d..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<page id="DocExamples.Obj-vfunc"
- type="topic"
- style="vfunc"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="DocExamples.Obj" group="vfunc"/>
- <title type="link" role="topic">vfunc</title>
- </info>
- <title>DocExamples.Obj.vfunc</title>
-<synopsis><code mime="text/x-python">
-@accepts(gint)
-@returns(none)
-def do_vfunc(self, first_arg):
-</code></synopsis>
-<p>This is an example of how to document a vfunc.</p>
-
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>first argument</p></td>
-</tr>
-</table>
-<p>Since 0.99</p>
-</page>
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
deleted file mode 100644
index 02f3a002..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0"?>
-
-<page id="DocExamples.Obj.method"
- type="topic"
- style="method"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="DocExamples.Obj" group="method"/>
- <api:function>
- <api:returns>
- <api:type>gboolean</api:type>
- </api:returns>
- <api:name>doc_examples_obj_method</api:name>
- <api:arg>
- <api:type>DocExamplesObj *</api:type>
- <api:name>self</api:name>
- </api:arg>
- <api:arg>
- <api:type>gint</api:type>
- <api:name>first_arg</api:name>
- </api:arg>
- <api:arg>
- <api:type>gfloat</api:type>
- <api:name>second_arg</api:name>
- </api:arg>
- <api:arg>
- <api:type>gboolean</api:type>
- <api:name>boolean_arg</api:name>
- </api:arg>
- <api:arg>
- <api:type>gpointer</api:type>
- <api:name>pointer_arg</api:name>
- </api:arg>
- <api:arg>
- <api:type>utf8</api:type>
- <api:name>string</api:name>
- </api:arg>
- </api:function>
- </info>
- <title>method</title>
-<synopsis><code mime="text/x-python">
-@accepts(gint, gfloat, gboolean, gpointer, utf8)
-@returns(gboolean)
-def method(first_arg, second_arg, boolean_arg, pointer_arg, string)
-</code></synopsis>
-<p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj">DocExamples.Obj</link> that was
-created with <link xref="DocExamples.Obj.new">Obj.new</link>.</p><p>This should be a %FALSEALARM.</p>
-
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>A <link xref="DocExamples.Obj">DocExamples.Obj</link>.</p></td>
-</tr>
-<tr>
-<td><p>second_arg :</p></td>
-<td><p>second argument</p></td>
-</tr>
-<tr>
-<td><p>boolean_arg :</p></td>
-<td><p>You should always pass True.</p></td>
-</tr>
-<tr>
-<td><p>pointer_arg :</p></td>
-<td><p>If not None, do a thing.</p></td>
-</tr>
-<tr>
-<td><p>string :</p></td>
-<td><p>A None-terminated string.</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>Either False or something False-y.</p></td>
-</tr>
-</table>
-<p>Since 0.99</p>
-</page>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
deleted file mode 100644
index 071abf1a..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<page id="DocExamples.Obj"
- type="guide"
- style="class"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="index" group="class"/>
- </info>
- <title>DocExamples.Obj</title>
-<p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example">DocExamples.Obj::signal-example</link>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example">DocExamples.Obj:property-example</link>.</p>
-
- <synopsis><code>
-from gi.repository import DocExamples
-
-obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_example</link>=value) </code></synopsis>
-
-<p>Since 0.99</p>
- <synopsis>
- <title>Hierarchy</title>
- <tree>
- <item>
- <code>GObject.Object</code>
- <item>
- <code>DocExamples.Obj</code>
- </item>
- </item>
- </tree>
- </synopsis>
- <links type="topic" ui:expanded="yes"
- api:type="function" api:mime="text/x-python"
- groups="method" style="linklist">
- <title>Methods</title>
- </links>
- <links type="topic" ui:expanded="yes"
- api:type="function" api:mime="text/x-python"
- groups="function" style="linklist">
- <title>Functions</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="property" style="linklist">
- <title>Properties</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="signal" style="linklist">
- <title>Signals</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="vfunc" style="linklist">
- <title>Virtual functions</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
- <title>Other</title>
- </links>
-</page>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/index.page b/tests/doctool/DocExamples-1.0-Python-expected/index.page
deleted file mode 100644
index fc6a9b7d..00000000
--- a/tests/doctool/DocExamples-1.0-Python-expected/index.page
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<page id="index"
- type="guide"
- style="namespace"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- </info>
- <title>DocExamples Documentation</title>
- <links type="topic" ui:expanded="yes" groups="class">
- <title>Classes</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="function">
- <title>Functions</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last">
- <title>Other</title>
- </links>
-</page>