webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
gtkdoc.GTKDoc Class Reference
Inheritance diagram for gtkdoc.GTKDoc:
gtkdoc.PkgConfigGTKDoc

Public Member Functions

def __init__ (self, args)
 
def generate (self, html=True)
 
def rebase_installed_docs (self)
 
def api_missing_documentation (self)
 

Public Attributes

 module_name
 
 source_dirs
 
 headers
 
 ignored_files
 
 namespace
 
 decorator
 
 deprecation_guard
 
 cflags
 
 ldflags
 
 library_path
 
 output_dir
 
 doc_dir
 
 main_sgml_file
 
 cross_reference_deps
 
 interactive
 
 logger
 
 saw_warnings
 

Detailed Description

Class that controls a gtkdoc run.

Each instance of this class represents one gtkdoc configuration
and set of documentation. The gtkdoc package is a series of tools
run consecutively which converts inline C/C++ documentation into
docbook files and then into HTML. This class is suitable for
generating documentation or simply verifying correctness.

Keyword arguments:
output_dir         -- The path where gtkdoc output should be placed. Generation
                      may overwrite file in this directory. Required.
module_name        -- The name of the documentation module. For libraries this
                      is typically the library name. Required if not library path
                      is given.
source_dirs        -- A list of paths to directories of source code to be scanned.
                      Required if headers is not specified.
ignored_files      -- A list of filenames to ignore in the source directory. It is
                      only necessary to provide the basenames of these files.
                      Typically it is important to provide an updated list of
                      ignored files to prevent warnings about undocumented symbols.
headers            -- A list of paths to headers to be scanned. Required if source_dirs
                      is not specified.
namespace          -- The library namespace.
decorator          -- If a decorator is used to unhide certain symbols in header
                      files this parameter is required for successful scanning.
                      (default '')
deprecation_guard  -- gtkdoc tries to ensure that symbols marked as deprecated
                      are encased in this C preprocessor define. This is required
                      to avoid gtkdoc warnings. (default '')
cflags             -- This parameter specifies any preprocessor flags necessary for
                      building the scanner binary during gtkdoc-scanobj. Typically
                      this includes all absolute include paths necessary to resolve
                      all header dependencies. (default '')
ldflags            -- This parameter specifies any linker flags necessary for
                      building the scanner binary during gtkdoc-scanobj. Typically
                      this includes "-lyourlibraryname". (default '')
library_path       -- This parameter specifies the path to the directory where you
                      library resides used for building the scanner binary during
                      gtkdoc-scanobj. (default '')

doc_dir            -- The path to other documentation files necessary to build
                      the documentation. This files in this directory as well as
                      the files in the 'html' subdirectory will be copied
                      recursively into the output directory. (default '')
main_sgml_file     -- The path or name (if a doc_dir is given) of the SGML file
                      that is the considered the main page of your documentation.
                      (default: <module_name>-docs.sgml)
version            -- The version number of the module. If this is provided,
                      a version.xml file containing the version will be created
                      in the output directory during documentation generation.

interactive        -- Whether or not errors or warnings should prompt the user
                      to continue or not. When this value is false, generation
                      will continue despite warnings. (default False)

virtual_root       -- A temporary installation directory which is used as the root
                      where the actual installation prefix lives; this is mostly
                      useful for packagers, and should be set to what is given to
                      make install as DESTDIR.

Constructor & Destructor Documentation

◆ __init__()

def gtkdoc.GTKDoc.__init__ (   self,
  args 
)

Member Function Documentation

◆ api_missing_documentation()

def gtkdoc.GTKDoc.api_missing_documentation (   self)

◆ generate()

def gtkdoc.GTKDoc.generate (   self,
  html = True 
)

◆ rebase_installed_docs()

def gtkdoc.GTKDoc.rebase_installed_docs (   self)

Member Data Documentation

◆ cflags

gtkdoc.GTKDoc.cflags

◆ cross_reference_deps

gtkdoc.GTKDoc.cross_reference_deps

◆ decorator

gtkdoc.GTKDoc.decorator

◆ deprecation_guard

gtkdoc.GTKDoc.deprecation_guard

◆ doc_dir

gtkdoc.GTKDoc.doc_dir

◆ headers

gtkdoc.GTKDoc.headers

◆ ignored_files

gtkdoc.GTKDoc.ignored_files

◆ interactive

gtkdoc.GTKDoc.interactive

◆ ldflags

gtkdoc.GTKDoc.ldflags

◆ library_path

gtkdoc.GTKDoc.library_path

◆ logger

gtkdoc.GTKDoc.logger

◆ main_sgml_file

gtkdoc.GTKDoc.main_sgml_file

◆ module_name

gtkdoc.GTKDoc.module_name

◆ namespace

gtkdoc.GTKDoc.namespace

◆ output_dir

gtkdoc.GTKDoc.output_dir

◆ saw_warnings

gtkdoc.GTKDoc.saw_warnings

◆ source_dirs

gtkdoc.GTKDoc.source_dirs

The documentation for this class was generated from the following file: