Skip to content

Commit bbf9221

Browse files
authored
Merge pull request #2561 from hristog/documentation-fixes
DOC: Fix typos and remove trailing whitespace.
2 parents b267f86 + c80a97b commit bbf9221

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/source/bundles.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ API key we may run:
133133
though we may still run ``ingest`` as an anonymous quandl user (with no API
134134
key). We may also set the ``QUANDL_DOWNLOAD_ATTEMPTS`` environment variable to
135135
an integer which is the number of attempts that should be made to download data
136-
from quandls servers. By default ``QUANDL_DOWNLOAD_ATTEMPTS`` will be 5, meaning
136+
from quandl's servers. By default ``QUANDL_DOWNLOAD_ATTEMPTS`` will be 5, meaning
137137
that we will retry each attempt 5 times.
138138

139139
.. note::
@@ -180,7 +180,7 @@ The signature of the ingest function should be:
180180

181181
``environ`` is a mapping representing the environment variables to use. This is
182182
where any custom arguments needed for the ingestion should be passed, for
183-
example: the ``quandl`` bundle uses the enviornment to pass the API key and the
183+
example: the ``quandl`` bundle uses the environment to pass the API key and the
184184
download retry attempt count.
185185

186186
``asset_db_writer``
@@ -227,7 +227,7 @@ used to convert data into zipline's internal bcolz format to later be read by a
227227
provided, users should call
228228
:meth:`~zipline.data.minute_bars.BcolzDailyBarWriter.write` with an iterable of
229229
(sid dataframe) tuples. The ``show_progress`` argument should also be forwarded
230-
to this method. If the data shource does not provide daily data, then there is
230+
to this method. If the data source does not provide daily data, then there is
231231
no need to call the write method. It is also acceptable to pass an empty
232232
iterable to :meth:`~zipline.data.minute_bars.BcolzMinuteBarWriter.write` to
233233
signal that there is no daily data. If no daily data is provided but minute data
@@ -280,7 +280,7 @@ an ingestion crashes part way through. The idea is that the ingest function
280280
should check the cache for raw data, if it doesn't exist in the cache, it should
281281
acquire it and then store it in the cache. Then it can parse and write the
282282
data. The cache will be cleared only after a successful load, this prevents the
283-
ingest function from needing to redownload all the data if there is some bug in
283+
ingest function from needing to re-download all the data if there is some bug in
284284
the parsing. If it is very fast to get the data, for example if it is coming
285285
from another local file, then there is no need to use this cache.
286286

@@ -331,7 +331,7 @@ Once you have your data in the correct format, you can edit your ``extension.py`
331331
.. code-block:: python
332332
333333
import pandas as pd
334-
334+
335335
from zipline.data.bundles import register
336336
from zipline.data.bundles.csvdir import csvdir_equities
337337
@@ -367,8 +367,8 @@ To finally ingest our data, we can run:
367367
Loading custom pricing data: [########################------------] 66% | FAKE1: sid 1
368368
Loading custom pricing data: [####################################] 100% | FAKE2: sid 2
369369
Loading custom pricing data: [####################################] 100%
370-
Merging daily equity files: [####################################]
371-
370+
Merging daily equity files: [####################################]
371+
372372
# optionally, we can pass the location of our csvs via the command line
373373
$ CSVDIR=/path/to/your/csvs zipline ingest -b custom-csvdir-bundle
374374

docs/source/release-process.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Updating the Release Notes
88
~~~~~~~~~~~~~~~~~~~~~~~~~~
99

1010
When we are ready to ship a new release of zipline, edit the :doc:`releases`
11-
page. We will have been maintaining a whatsnew file while working on the release
11+
page. We will have been maintaining a ``whatsnew`` file while working on the release
1212
with the new version. First, find that file in:
1313
``docs/source/whatsnew/<version>.txt``. It will be the highest version number.
1414
Edit the release date field to be today's date in the format:
@@ -19,7 +19,7 @@ Edit the release date field to be today's date in the format:
1919

2020

2121
for example, November 6, 2015.
22-
Remove the active development warning from the whatsnew, since it will no
22+
Remove the active development warning from the ``whatsnew``, since it will no
2323
longer be pending release.
2424
Update the title of the release from "Development" to "Release x.x.x" and
2525
update the underline of the title to match the title's width.
@@ -233,13 +233,13 @@ may be specified with the ``--user`` flag.
233233
Next Commit
234234
~~~~~~~~~~~
235235

236-
Push a new commit post-release that adds the whatsnew for the next release,
236+
Push a new commit post-release that adds the ``whatsnew`` for the next release,
237237
which should be titled according to a micro version increment. If that next
238238
release turns out to be a major/minor version increment, the file can be
239239
renamed when that's decided. You can use ``docs/source/whatsnew/skeleton.txt``
240240
as a template for the new file.
241241

242-
Include the whatsnew file in ``docs/source/releases.rst``. New releases should
242+
Include the ``whatsnew`` file in ``docs/source/releases.rst``. New releases should
243243
appear at the top. The syntax for this is:
244244

245245
::

0 commit comments

Comments
 (0)