source: general/prog/python-modules/gi-docgen.xml@ 569925c7

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 569925c7 was 569925c7, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update python modules for pythonhosted

Move the pythonhoted page to python_modules even though it is not
yet activated to render in the book.

Change location of pythonhosted md5sum ENTITIES to packages.ent
so they can be used in multiple pages but only need to be updated
in one place.

Note that pages not have entries like:

<!ENTITY asciidoc-md5sum "&asciidoc-md5sum;">

so this seems to be redefinig the entity to the version
in packages.ent. This seems to be OK with the build system.

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!ENTITY gi-docgen-download-http "https://files.pythonhosted.org/packages/source/g/gi-docgen/gi-docgen-&gi-docgen-version;.tar.gz">
8 <!ENTITY gi-docgen-download-ftp " ">
9 <!ENTITY gi-docgen-md5sum "&gi-docgen-md5sum;">
10 <!ENTITY gi-docgen-size "2.4 MB">
11 <!ENTITY gi-docgen-buildsize "19 MB (with tests)">
12 <!ENTITY gi-docgen-time "less than 0.1 SBU (with tests)">
13]>
14
15 <sect2 id="gi-docgen" xreflabel="Gi-DocGen-&gi-docgen-version;">
16
17 <title>Gi-DocGen-&gi-docgen-version;</title>
18
19 <indexterm zone="gi-docgen">
20 <primary sortas="a-gi-docgen">gi-docgen</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to Gi-DocGen Module</title>
25
26 <para>
27 <application>Gi-DocGen</application> is a document generator for
28 GObject-based libraries. GObject is the base type system of the GNOME
29 project. GI-Docgen reuses the introspection data generated by
30 GObject-based libraries to generate the API reference of these
31 libraries, as well as other ancillary documentation.
32 </para>
33
34 &lfs112_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&gi-docgen-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&gi-docgen-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &gi-docgen-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &gi-docgen-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &gi-docgen-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &gi-docgen-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">Gi-DocGen Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="markdown"/>,
75 <phrase revision="sysv"><xref linkend="MarkupSafe"/>,</phrase>
76 <xref linkend="pygments"/>,
77 <phrase revision="sysv"><xref linkend="Jinja2"/>,</phrase>
78 and <xref linkend="typogrify"/>
79 </para>
80
81 <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
82 <para role="optional">
83 <xref linkend="pytest"/>
84 </para>
85
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of gi-docgen</title>
90
91 <para> Build the module: </para>
92
93<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
94
95 <para>
96 Now, as the <systemitem class="username">root</systemitem> user:
97 </para>
98
99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user gi-docgen</userinput></screen>
100
101 <para>
102 To test the installation, issue <command>pytest</command>.
103 </para>
104
105 </sect3>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../../../xincludes/pip3-cmd-explain.xml"/>
109
110 <sect3 role="content">
111 <title>Contents</title>
112
113 <segmentedlist>
114 <segtitle>Installed Programs</segtitle>
115 <segtitle>Installed Libraries</segtitle>
116 <segtitle>Installed Directories</segtitle>
117
118 <seglistitem>
119 <seg>gi-docgen</seg>
120 <seg>None</seg>
121 <seg>
122 /usr/lib/python&python3-majorver;/site-packages/gidocgen and
123 /usr/lib/python&python3-majorver;/site-packages/gi_docgen-&gi-docgen-version;.dist-info
124 </seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="gi-docgen-prog">
134 <term><command>gi-docgen</command></term>
135 <listitem>
136 <para>
137 manages documentation for libgobject based libraries.
138 </para>
139 <indexterm zone="gi-docgen gi-docgen-prog">
140 <primary sortas="b-gi-docgen">gi-docgen</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 </variablelist>
146
147 </sect3>
148
149 </sect2>
Note: See TracBrowser for help on using the repository browser.