App::DocKnot(3pm)

App::DocKnot3pm

Documentation and software release management

Requirements

Perl 5.24 or later and the modules File::BaseDir, File::ShareDir, Kwalify, Path::Tiny, and YAML::XS, all of which are available from CPAN.

Overview

DocKnot is a system for documentation and software release management. Its functionality is provided by various submodules, often invoked via the docknot command-line program. For more information, see docknot(1).

This module only provides helper functions to load configuration and metadata that are used by its various submodules.

Instance methods

appdata_path(PATH[, ...])

Return the path of a file from the application data. The file is specified as one or more path components.

These data files are installed with App::DocKnot, but each file can be overridden by the user via files in $HOME/.config/docknot or /etc/xdg/docknot (or whatever $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS are set to). Raises a text exception if the desired file could not be located.

load_yaml_file(PATH, SCHEMA)

Load a YAML file with schema checking. PATH is the path to the file. SCHEMA is the name of the schema, which will be loaded from the schema directory using appdata_path(). See the description of that method for the paths that are searched.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Russ Allbery <[email protected]>

From docknot 8.0.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.