mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
doc: desc. ModuleTool and ModuleToolVersion in modulefile(4)
This commit is contained in:
@@ -234,6 +234,7 @@ rst_epilog += '.. |modulefilesdir| replace:: %s\n' % modulefilesdir
|
||||
rst_epilog += '.. |emph modulefilesdir| replace:: *%s*\n' % modulefilesdir
|
||||
rst_epilog += '.. |bold modulefilesdir| replace:: **%s**\n' % modulefilesdir
|
||||
rst_epilog += '.. |file modulefilesdir| replace:: :file:`%s`\n' % modulefilesdir
|
||||
rst_epilog += '.. |code version| replace:: ``%s``\n' % version
|
||||
|
||||
|
||||
# -- Options for manual page output ---------------------------------------
|
||||
|
||||
@@ -733,6 +733,26 @@ Modules Variables
|
||||
The :mfvar:`ModulesCurrentModulefile` variable contains the full pathname of
|
||||
the *modulefile* being interpreted.
|
||||
|
||||
.. mfvar:: ModuleTool
|
||||
|
||||
The :mfvar:`ModuleTool` variable contains the name of the *module*
|
||||
implementation currently in use. The value of this variable is set to
|
||||
``Modules`` for this implementation.
|
||||
|
||||
.. only:: html
|
||||
|
||||
.. versionadded:: 4.7
|
||||
|
||||
.. mfvar:: ModuleToolVersion
|
||||
|
||||
The :mfvar:`ModuleToolVersion` variable contains the version of the *module*
|
||||
implementation currently in use. The value of this variable is set to
|
||||
|code version| for this version of Modules.
|
||||
|
||||
.. only:: html
|
||||
|
||||
.. versionadded:: 4.7
|
||||
|
||||
.. _Locating Modulefiles:
|
||||
|
||||
Locating Modulefiles
|
||||
|
||||
Reference in New Issue
Block a user