Filesystem Abstraction

Author(s): Jose F. Morales.

This module provides definitions to assign unique file-system paths and names for each of the intermediate and final results of documentation generation.

Documentation on exports

REGTYPE

Usage:filename(X)

X is the name of a file.

    REGTYPE

    Usage:filename_noext(X)

    X is the base name of a file (without extension).

      PREDICATE
      No further documentation available for this predicate.

      PREDICATE
      No further documentation available for this predicate.

      PREDICATE
      No further documentation available for this predicate.

      PREDICATE
      No further documentation available for this predicate.

      REGTYPE

      Usage:

      The kind of intermediate/final results for a single documentation processing unit (module).

        PREDICATE
        No further documentation available for this predicate.

        PREDICATE
        No further documentation available for this predicate.

        PREDICATE

        Usage:format_get_subtarget(Format,Backend,Subtarget)

        Backend and Subtarget are the backend and subtarget that generates files with format Format

        • Call and exit should be compatible with:
          (atm/1)Format is an atom.
          (backend_id/1)Backend is a supported backend.
          (atm/1)Subtarget is an atom.

        PREDICATE

        Usage:format_get_file(Format,Mod,File)

        File is the principal file for Mod in format Format

        • Call and exit should be compatible with:
          (atm/1)Format is an atom.
          (atm/1)Mod is an atom.
          (atm/1)File is an atom.

        PREDICATE

        Usage:

        Clean the cached information for the filesystem mapping of the documentaton generation.

          PREDICATE

          Usage:get_output_dir(Backend,Dir)

          Dir is the directory where the documentation files are generated. Note that this is not the installation directory.

            PREDICATE

            Usage:get_cache_dir(Backend,Dir)

            Dir is the directory where temporary documentation files will be stored (for the active backend)

              PREDICATE

              Usage:get_cache_dir0(Backend,Dir)

              Dir is the directory where temporary documentation files will be stored (for all backends)

                PREDICATE
                No further documentation available for this predicate.

                PREDICATE
                No further documentation available for this predicate.

                PREDICATE

                Usage:absfile_for_aux(AuxName,Backend,AbsFile)

                Absolute file for an auxiliary output file (e.g. CSS, images, etc.)

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE
                  No further documentation available for this predicate.

                  PREDICATE

                  Usage:get_subbase(Base,Sub,SubBase)

                  SubBase is the name for the sub-file (Sub) associated with Base

                  • The following properties should hold upon exit:
                    (filename_noext/1)Base is the base name of a file (without extension).
                    (atm/1)Sub is an atom.
                    (filename_noext/1)SubBase is the base name of a file (without extension).

                  PREDICATE

                  Usage:absfile_to_relfile(A,Backend,B)

                  Obtain the relative path, w.r.t. the output directory, of an absolute file. This is useful, e.g., for URLs.

                    PREDICATE
                    No further documentation available for this predicate.

                    PREDICATE
                    No further documentation available for this predicate.

                    PREDICATE
                    No further documentation available for this predicate.

                    PREDICATE
                    No further documentation available for this predicate.

                    PREDICATE
                    No further documentation available for this predicate. Meta-predicate with arguments: pred_to_glob_pattern(pred(1),?).