.. _LIBBASH:
libbash.sh
==========
.. only:: builder_man
SYNOPSIS
--------
source libbash.sh
DESCRIPTION
-----------
The *libbash.sh* provides basic interfaces for wrapper scripts implemented by *bash*.
Uses environment variables for base configuration and trace output.
.. only:: builder_man
ENVIRONMENT
-----------
Uses the following environment variables of the common call interface.
.. raw:: html
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| environment variable | corresponding option | default |
+==========================================================+=============================================================+==========================+
| :ref:`DOCX_BREAKONERR ` | :ref:`--break-on-err ` | False |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_BUILDDIR ` | :ref:`--build-dir ` | build/ |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_BUILDER ` | :ref:`--builder ` | sphinx |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_BUILDRELDIR ` | :ref:`--build-reldir ` | sphinx/apidoc/ |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_CONFIGPATH ` | :ref:`--config-path ` | docsrc/conf/ |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_DEBUG ` | :ref:`--debug ` | 0 |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_DOCNAME ` | :ref:`--docname ` | self.name (package-name) |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_DOCSRC ` | :ref:`--docsource ` | docsrc/ |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_DOCTEMPLATE ` | :ref:`--doctemplate ` | default |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_DOCTYPE ` | :ref:`--doctype ` | html |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_INDEXSRC ` | :ref:`--indexsrc ` | index.rst |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_QUIET ` | :ref:`--quiet ` | 0 |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_RELEASE ` | :ref:`--set-release ` | |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_VERBOSE ` | :ref:`--verbose ` | 1 |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| :ref:`DOCX_VERSION ` | :ref:`--set-version ` | |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
| PROJECT | | optional |
+----------------------------------------------------------+-------------------------------------------------------------+--------------------------+
.. raw:: html
SEE ALSO
--------
setupdocx(1), call_doc.sh(1), call_apidoc.sh(1), call_apiref.sh(1)
LICENSE
-------
:ref:`modified Artistic License ` = :ref:`ArtisticLicense20 ` + :ref:`Peer-to-Peer-Fairplay-amendments `
.. only:: not builder_man
.. _CALL_DOC_SOURCE:
.. only:: builder_html
Source
------
.. literalincludewrap:: _static/libbash.sh
:language: bash
:linenos:
.. only:: builder_html
Download
--------
`call_doc.sh <_static/libbash.sh>`_