mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 06:46:17 +00:00
Remove wrong usage of :option:
From http://www.sphinx-doc.org/en/stable/domains.html#directive-option: > The directive will create cross-reference targets for the given options, > referencable by option (in the example case, you’d use something like > :option:`dest_dir`, :option:`-m`, or :option:`--module`). I don't think we're intending here to create cross references, we simply want to render it nicely. So just use code formatting instead. This gets rid of the last build warnings.
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ over the syntax file included in Vim 6.1.
|
||||
These plugins supply you with a basic environment for developing in Python.
|
||||
To get the most out of Vim, you should continually check your code for syntax
|
||||
errors and PEP8 compliance. Luckily PEP8_ and Pyflakes_ will do this for you.
|
||||
If your Vim is compiled with :option:`+python` you can also utilize some very
|
||||
If your Vim is compiled with ``+python`` you can also utilize some very
|
||||
handy plugins to do these checks from within the editor.
|
||||
|
||||
For PEP8 checking and pyflakes, you can install vim-flake8_. Now you can map the
|
||||
|
||||
@@ -93,7 +93,7 @@ where they were placed.
|
||||
Other Notes
|
||||
~~~~~~~~~~~
|
||||
|
||||
Running ``virtualenv`` with the option :option:`--no-site-packages` will not
|
||||
Running ``virtualenv`` with the option ``--no-site-packages`` will not
|
||||
include the packages that are installed globally. This can be useful
|
||||
for keeping the package list clean in case it needs to be accessed later.
|
||||
[This is the default behavior for ``virtualenv`` 1.7 and later.]
|
||||
|
||||
@@ -60,7 +60,7 @@ py2app no no yes yes MIT no yes yes
|
||||
.. note::
|
||||
All solutions need MS Visual C++ dll to be installed on target machine, except py2app.
|
||||
Only Pyinstaller makes self-executable exe that bundles the dll when
|
||||
passing :option:`--onefile` to :file:`Configure.py`.
|
||||
passing ``--onefile`` to :file:`Configure.py`.
|
||||
|
||||
Windows
|
||||
-------
|
||||
|
||||
@@ -101,7 +101,7 @@ pypiserver
|
||||
`Pypiserver <https://pypi.python.org/pypi/pypiserver>`_ is a minimal PyPI
|
||||
compatible server. It can be used to serve a set of packages to easy_install
|
||||
or pip. It includes helpful features like an administrative command
|
||||
(:option:`-U`) which will update all its packages to their latest versions
|
||||
(``-U``) which will update all its packages to their latest versions
|
||||
found on PyPI.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user