1. Gabriel Abdalla
  2. moin-2.0-contrib

Commits

Roger Haase  committed f87fb6b

minor corrections to install docs - missing double colons and consistent indentation

  • Participants
  • Parent commits 733cb34
  • Branches default

Comments (0)

Files changed (1)

File docs/admin/install.rst

View file
 For example, if you want to use `PyPy` and want to name the virtualenv directory `env-pypy`,
 use::
 
-    # for linux
-    DIR=env-pypy
-    PYTHON=/opt/pypy/bin/pypy
+ # for linux
+ DIR=env-pypy
+ PYTHON=/opt/pypy/bin/pypy
 
 That way, you can test with different versions of Python in different virtualenv directories within your moin2 workdir.
 
 Activating the virtual env
 --------------------------
 
+IMPORTANT: you always need to activate the virtual environment before running
+anything that executes moin code! Otherwise it won't find the moin command,
+nor the moin code nor the libraries it needs. Also, if you want to install
+additional software into the virtual environment, activate it before running pip!::
+
  source env/bin/activate  # for linux (or other posix OSes)
  # or
  env\Scripts\activate.bat  # for windows
 
-IMPORTANT: you always need to activate the virtual environment before running
-anything that executes moin code! Otherwise it won't find the moin command,
-nor the moin code nor the libraries it needs. Also, if you want to install
-additional software into the virtual environment, activate it before running pip!
-
 Initializing index and/or storage
 ---------------------------------
 If you have an existing storage AND a valid index (for this storage’s content, and for this moin version),
 ~~~~~~~~~
 Now and then, PyPi might be down or unreachable.
 There are mirrors b.pypi.python.org, c.pypi.python.org, d.pypi.python.org
-you can use in such cases, you just need to tell pip to do so:
+you can use in such cases, you just need to tell pip to do so::
 
  # put this into ~/.pip/pip.conf
  [global]
 the quickinstall script.
 You may see tracebacks from pip, timeout errors, etc. (see the output of the quickinstall script).
 
-If this is the case, try it manually:
+If this is the case, try it manually::
+
  # enter your virtual environment:
  source env/bin/activate