summaryrefslogtreecommitdiff
path: root/docs/website/tools/g-ir-doc-tool.rst
blob: 535ca059bd29f21d5c169f7e9132bfcd0e6069f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
=============
g-ir-doc-tool
=============

---------------------
Documentation builder
---------------------

:Manual section: 1


SYNOPSIS
========

**g-ir-doc-tool** [OPTION...] GIRFILE


DESCRIPTION
===========

g-ir-doc-tool builds library documentation directly from .gir files. The output
is adjusted according to which programming language you're generating docs for.


OPTIONS
=======

--help
    Show help options

--output=DIRECTORY
    Save the resulting output in DIRECTORY.

--format=FORMAT
    Output format. One of devdocs, mallard or sections.

--language=LANGUAGE
    Output language. One of c, python, or gjs.

--add-include-path=DIRECTORY
    Adds a directory which will be used to find includes inside the GIR format.

--version
    Show program's version number and exit

--write-sections-file
    Backwards-compatible equivalent to -f sections.


BUGS
====

Report bugs at https://gitlab.gnome.org/GNOME/gobject-introspection/issues


HOMEPAGE and CONTACT
====================

https://gi.readthedocs.io/


AUTHORS
=======

David King