Skip to content

Commit

Permalink
fix reST syntax and Sphinx warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Jul 19, 2016
1 parent aec047a commit 8bf8aba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/scripts.rst
Expand Up @@ -2,8 +2,8 @@ Substance D Command-Line Utilities
==================================

Substance D installs a number of helper scripts for performing admin-related
tasks. To get full command-line syntax for any script, run it with
:option:`--help`.
tasks. To get full command-line syntax for any script, run it with the
option ``--help``.

:program:`sd_adduser`
---------------------
Expand All @@ -28,7 +28,7 @@ job to drain the queue every two minutes:
:program:`sd_dump`
------------------

Dump an object (and its subobjects) to the filesystem.::
Dump an object (and its subobjects) to the filesystem::

sd_dump [--source=ZODB-PATH] [--dest=FILESYSTEM-PATH] config_uri
Dumps the object at ZODB-PATH and all of its subobjects to a
Expand Down
5 changes: 2 additions & 3 deletions substanced/file/__init__.py
Expand Up @@ -151,7 +151,7 @@ def __init__(self, stream=None, mimetype=None, title=_BLANK):
On non-Linux systems, successful use of
:attr:`substanced.file.USE_MAGIC` requires the installation
of additional dependencies. See :ref:`optional_dependencies`.
of additional dependencies. See :ref:`installing_python_magic`.
"""
self.blob = Blob()
self.title = title or _BLANK
Expand Down Expand Up @@ -196,8 +196,7 @@ def upload(self, stream, mimetype_hint=None):
On non-Linux systems, successful use of
:attr:`substanced.file.USE_MAGIC` requires the installation
of additional dependencies. See :ref:`optional_dependencies`.
of additional dependencies. See :ref:`installing_python_magic`.
"""
if not stream:
stream = io.StringIO()
Expand Down

0 comments on commit 8bf8aba

Please sign in to comment.