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

REGTYPEfilename/1

Usage:filename(X)

X is the name of a file.

    Usage:filename_noext(X)

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

      No further documentation available for this predicate.

      PREDICATEadd_vpath/1
      No further documentation available for this predicate.

      PREDICATEvpath_indir/1
      No further documentation available for this predicate.

      PREDICATEfind_file/2
      No further documentation available for this predicate.

      PREDICATEfind_file/3
      No further documentation available for this predicate. Meta-predicate with arguments: find_file(?,pred(1),?).

      No further documentation available for this predicate.

      Usage:

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

        No further documentation available for this predicate.

        No further documentation available for this 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.

        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.

        PREDICATEclean_fs_db/0

        Usage:

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

          Usage:get_output_dir(Backend,Dir)

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

            Usage:get_cache_dir(Backend,Dir)

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

              Usage:get_cache_dir0(Backend,Dir)

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

                No further documentation available for this predicate.

                No further documentation available for this predicate.

                Usage:absfile_for_aux(AuxName,Backend,AbsFile)

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

                  No further documentation available for this predicate.

                  No further documentation available for this predicate.

                  No further documentation available for this predicate.

                  No further documentation available for this predicate.

                  PREDICATEget_modspec/2
                  No further documentation available for this predicate.

                  No further documentation available for this predicate.

                  No further documentation available for this predicate.

                  PREDICATEget_subbase/3

                  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).

                  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.

                    PREDICATEclean_all/0
                    No further documentation available for this predicate.

                    No further documentation available for this predicate.

                    No further documentation available for this predicate.

                    No further documentation available for this predicate.

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