object

# `lgtdoc`

Documenting tool. Generates XML documenting files for loaded entities and for library, directory, entity, and predicate indexes.

Availability:
`logtalk_load(lgtdoc(loader))`
Author: Paulo Moura
Version: 11:2:1
Date: 2025-10-07
Compilation flags:
`static, context_switching_calls`
Implements:
`public` lgtdocp
Imports:
`public` options
Uses:
date
list
logtalk
os
type
user
varlist
Remarks:
(none)
Inherited public predicates:
all/0 all/1 check_option/1 check_options/1 default_option/1 default_options/1 directories/1 directories/2 directory/1 directory/2 file/1 file/2 files/1 files/2 fix_option/2 fix_options/2 libraries/1 libraries/2 library/1 library/2 merge_options/2 option/2 option/3 rdirectories/1 rdirectories/2 rdirectory/1 rdirectory/2 rlibraries/1 rlibraries/2 rlibrary/1 rlibrary/2 valid_option/1 valid_options/1

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

### `library_entity_/4`

Table of documented entities per library.

Compilation flags:
`dynamic`
Template:
`library_entity_(Library,PrimarySortKey,SecondarySortKey,Entity)`
Mode and number of proofs:
`library_entity_(?atom,?nonvar,?nonvar,?atom)` - `zero_or_more`

### `directory_entity_/4`

Table of documented entities per directory.

Compilation flags:
`dynamic`
Template:
`directory_entity_(Directory,PrimarySortKey,SecondarySortKey,Entity)`
Mode and number of proofs:
`directory_entity_(?atom,?nonvar,?nonvar,?atom)` - `zero_or_more`

### `type_entity_/4`

Table of documented entities per type.

Compilation flags:
`dynamic`
Template:
`type_entity_(Type,PrimarySortKey,SecondarySortKey,Entity)`
Mode and number of proofs:
`type_entity_(?atom,?nonvar,?nonvar,?atom)` - `zero_or_more`

### `predicate_entity_/4`

Table of public predicates for all documented entities.

Compilation flags:
`dynamic`
Template:
`predicate_entity_(Predicate,PrimarySortKey,SecondarySortKey,Entity)`
Mode and number of proofs:
`predicate_entity_(?predicate_indicator,?nonvar,?nonvar,?entity_identifier)` - `zero_or_more`

## Operators

(none)