Skip to content

Commit 2f443de

Browse files
committed
doc: fix duplicate white-spaces in docs
1 parent 685239f commit 2f443de

File tree

9 files changed

+82
-83
lines changed

9 files changed

+82
-83
lines changed

INSTALL.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ Build and installation options
274274
------------------------------
275275

276276
Options available at the ``./configure`` installation step are described
277-
below. These options enable to choose the installation paths and the
278-
features to enable or disable. You can also get a description of these
279-
options by typing ``./configure --help``.
277+
below. These options enable to choose the installation paths and the features
278+
to enable or disable. You can also get a description of these options by
279+
typing ``./configure --help``.
280280

281281
Fine tuning of the installation directories (the default value for each option
282282
is displayed within brackets):
@@ -425,8 +425,8 @@ instance :instopt:`--disable-set-manpath<--enable-set-manpath>`):
425425

426426
.. instopt:: --enable-color
427427

428-
Control if output should be colored by default or not. A value of ``yes``
429-
equals to the ``auto`` color mode. ``no`` equals to the ``never`` color
428+
Control if output should be colored by default or not. A value of ``yes``
429+
equals to the ``auto`` color mode. ``no`` equals to the ``never`` color
430430
mode. (default=yes)
431431

432432
This installation option defines the default value of the
@@ -673,7 +673,7 @@ instance :instopt:`--disable-set-manpath<--enable-set-manpath>`):
673673
Append Modules version to installation prefix and deploy a ``versions``
674674
modulepath shared between all versioning enabled Modules installation. A
675675
modulefile corresponding to Modules version is added to the shared modulepath
676-
and enables to switch from one Modules version to another. (default=no)
676+
and enables to switch from one Modules version to another. (default=no)
677677

678678
.. instopt:: --enable-vim-addons
679679

@@ -719,7 +719,7 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
719719
Specify the content to report on avail sub-command regular output in addition
720720
to the available module names. Elements accepted in LIST are: ``modulepath``,
721721
``alias``, ``dirwsym``, ``sym``, ``tag``, ``key``, ``variant`` and
722-
``variantifspec`` (elements in LIST are separated by ``:``). The order of
722+
``variantifspec`` (elements in LIST are separated by ``:``). The order of
723723
the elements in LIST does not matter.
724724
(default=\ ``modulepath:alias:dirwsym:sym:tag:variantifspec:key``)
725725

@@ -784,7 +784,7 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
784784
Default color set to apply if terminal background color is defined to
785785
``dark``. SGRLIST follows the same syntax than used in ``LS_COLORS``. Each
786786
element in SGRLIST is an output item associated to a Select Graphic Rendition
787-
(SGR) code. Elements in SGRLIST are separated by ``:``. Output items are
787+
(SGR) code. Elements in SGRLIST are separated by ``:``. Output items are
788788
designated by keys.
789789

790790
Items able to be colorized are: highlighted element (``hi``), debug
@@ -959,7 +959,7 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
959959
Default modulefiles to load at Modules initialization time. Each modulefile
960960
in this list should be separated by ``:``. Defined value is registered in the
961961
:file:`initrc` configuration file or in the ``modulerc`` file if
962-
:instopt:`--with-initconf-in` is set to ``initdir``. (default=)
962+
:instopt:`--with-initconf-in` is set to ``initdir``. (default=)
963963

964964
.. only:: html
965965

@@ -982,8 +982,8 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
982982

983983
.. instopt:: --with-modulepath=PATHLIST
984984

985-
Default path list to setup as the default modulepaths. Each path in this
986-
list should be separated by ``:``. Defined value is registered in the
985+
Default path list to setup as the default modulepaths. Each path in this list
986+
should be separated by ``:``. Defined value is registered in the
987987
:file:`initrc` or :file:`modulespath` configuration file, depending on the
988988
:instopt:`--enable-modulespath` option. These files are respectively called
989989
``modulerc`` and ``.modulespath`` if :instopt:`--with-initconf-in` is set to
@@ -1217,7 +1217,7 @@ instance :instopt:`--without-modulepath<--with-modulepath>`):
12171217

12181218
Specify default message verbosity. accepted values are ``silent``,
12191219
``concise``, ``normal``, ``verbose``, ``verbose2``, ``trace``, ``debug`` and
1220-
``debug2``. (default=\ ``normal``)
1220+
``debug2``. (default=\ ``normal``)
12211221

12221222
This installation option defines the default value of the
12231223
:mconfig:`verbosity` configuration option which could be changed after

MIGRATING.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ Improving Modules initialization
10881088
Modules initialization files are now installed by default in the *etc*
10891089
directory designated by the :instopt:`--etcdir` installation option. The
10901090
initialization configuration file is named :file:`initrc` in this directory,
1091-
and the modulepath-specific configuration file is named :file:`modulespath`.
1091+
and the modulepath-specific configuration file is named :file:`modulespath`.
10921092
When both files exist, now they are both evaluated instead of just the
10931093
:file:`modulespath` file.
10941094

@@ -3718,12 +3718,11 @@ is greater than 1, path element is kept in variable and reference counter
37183718
is decreased by 1.
37193719

37203720
On Modules v4, **module-info mode** returns during an **unload** sub-command
3721-
the ``unload`` value instead of ``remove`` on Modules v3.2. However if
3722-
*mode* is tested against ``remove`` value, true will be returned. During a
3723-
**switch** sub-command on Modules v4, ``unload`` then ``load`` is returned
3724-
instead of ``switch1`` then ``switch2`` then ``switch3`` on Modules
3725-
v3.2. However if *mode* is tested against ``switch`` value, true will
3726-
be returned.
3721+
the ``unload`` value instead of ``remove`` on Modules v3.2. However if *mode*
3722+
is tested against ``remove`` value, true will be returned. During a **switch**
3723+
sub-command on Modules v4, ``unload`` then ``load`` is returned instead of
3724+
``switch1`` then ``switch2`` then ``switch3`` on Modules v3.2. However if
3725+
*mode* is tested against ``switch`` value, true will be returned.
37273726

37283727
When using **set-alias**, Modules v3.2 defines a shell function when
37293728
variables are in use in alias value on Bourne shell derivatives, Modules

NEWS.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ Modules 4.4.0 (2019-11-17)
17671767
``implicit_default`` option is disabled and no explicit default is found
17681768
among version specifier matches, an error is returned. This mechanism is
17691769
enabled through a new configuration option named ``advanced_version_spec``
1770-
(which defines ``MODULES_ADVANCED_VERSION_SPEC`` environment variable when
1770+
(which defines ``MODULES_ADVANCED_VERSION_SPEC`` environment variable when
17711771
set). It may be enabled by default in ``modulecmd.tcl`` script with option
17721772
``--enable-advanced-version-spec`` passed to the ``./configure`` script.
17731773
* Conflict defined with a generic module name or an advanced version specifier
@@ -2531,7 +2531,7 @@ Modules 4.1.2 (2018-03-31)
25312531
commands requiring correlation of information from the ``LOADEDMODULES`` and
25322532
the ``_LMFILES_`` environment variables. Error raised on ``load``,
25332533
``unload``, ``switch``, ``reload``, ``purge``, ``list``, ``save`` and
2534-
``restore`` commands. May affect ``info-loaded`` or ``is-loaded`` commands
2534+
``restore`` commands. May affect ``info-loaded`` or ``is-loaded`` commands
25352535
if module passed as argument to these command is specified as a full path
25362536
modulefile.
25372537
* Fix ``list`` command to process loaded modules information before performing
@@ -2896,8 +2896,8 @@ modules-tcl-1.923 (2017-07-20)
28962896
behavior that requires at least an empty ``module load`` line in startup
28972897
files. (fix SF bug#88)
28982898
* Fix initadd to handle load line without trailing space. Was previously
2899-
expecting load directive to be written "module load " to get a match.
2900-
With fix, ``module load`` line will also be matched.
2899+
expecting load directive to be written "module load " to get a match. With
2900+
fix, ``module load`` line will also be matched.
29012901
* Like C-version catch raised error when break or continue are called from
29022902
outside of a loop to handle them as when they are called from modulefile
29032903
main body. (fix SF bug#87)
@@ -3093,8 +3093,8 @@ modules-tcl-1.677 (2017-01-04)
30933093
* Add dummy ``module-log``, ``module-trace``, ``module-user`` and
30943094
``module-verbosity`` Modules-specific Tcl commands to enable support for
30953095
modulefiles using them.
3096-
* Fix ``system`` Modules-specific Tcl command to behave like described on
3097-
the man page.
3096+
* Fix ``system`` Modules-specific Tcl command to behave like described on the
3097+
man page.
30983098
* Fix ``module list`` when module loaded with full path
30993099
* Disable ``g_force`` property by default to avoid loading a modulefile
31003100
already loaded. It also avoids path element reference counting to get

doc/source/FAQ.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Once you have the changes in your version, then unpack the original sources from
212212

213213
.. code-block:: sh
214214
215-
diff -u -r -P -N modules-3.X.Y modules-3.X.Y-myversion > my.patch
215+
diff -u -r -P -N modules-3.X.Y modules-3.X.Y-myversion > my.patch
216216
217217
If you're starting from the git cloned repository:
218218
""""""""""""""""""""""""""""""""""""""""""""""""""

doc/source/cookbook/module-info-name-return-basename.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Implementation
1515
--------------
1616

1717
Return file basename on :mfcmd:`module-info name<module-info>` for modules
18-
specified as full path modulefile is implemented by the use of a
19-
site-specific configuration that supersedes the definition of the
20-
:mfcmd:`module-info name<module-info>` command to return modulefile basename
21-
instead of full pathname.
18+
specified as full path modulefile is implemented by the use of a site-specific
19+
configuration that supersedes the definition of the :mfcmd:`module-info
20+
name<module-info>` command to return modulefile basename instead of full
21+
pathname.
2222

2323
.. literalinclude:: ../../example/module-info-name-return-basename/siteconfig.tcl
2424
:language: tcl

0 commit comments

Comments
 (0)