Skip to content

Commit

Permalink
Remove trailing whitespaces
Browse files Browse the repository at this point in the history
This closes apache#8

Signed-off-by: Alexander Shorin <kxepal@apache.org>
  • Loading branch information
mar-ia authored and kxepal committed Dec 9, 2014
1 parent 93cc3a9 commit 5265528
Show file tree
Hide file tree
Showing 16 changed files with 103 additions and 103 deletions.
4 changes: 2 additions & 2 deletions src/docs/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ For the build/html/_static components:
For the build/html/_static/jquery.js component:

Copyright 2010, John Resig

Copyright 2010, The Dojo Foundation

Copyright 2012 jQuery Foundation and other contributors
http://jquery.com/

Expand Down
2 changes: 1 addition & 1 deletion src/docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COUCHDOCSHA := $(shell git rev-parse --verify --short HEAD 2>/dev/null || echo
COUCHRELEASE := $(COUCHVERSION)-git-$(COUCHDOCSHA)
SOURCE := src/
PAPERSIZE := -D latex_paper_size=a4
SPHINXFLAGS := -a -E -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
SPHINXFLAGS := -a -E -W -n -A local=1 $(PAPERSIZE) -d $(BUILDDIR)/doctree
SPHINXOPTS := $(SPHINXFLAGS) -D version=$(COUCHVERSION) -D release=$(COUCHRELEASE) $(SOURCE)

all: distclean html pdf info man install clean
Expand Down
2 changes: 1 addition & 1 deletion src/docs/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The Apache Software Foundation (http://www.apache.org/).
This product also includes the following third-party components:

* Sphinx (http://sphinx-doc.org/)

Copyright 2011, the Sphinx team

* httpdomain.py (https://bitbucket.org/birkenfeld/sphinx-contrib/src/6a3a8ca714cfce957530890d0431d9a7b88c930f/httpdomain/sphinxcontrib/httpdomain.py?at=httpdomain-1.1.9)
Expand Down
8 changes: 4 additions & 4 deletions src/docs/ext/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def get_github_url(app, view, path):
view=view,
branch=app.config.github_branch,
path=path)


def html_page_context(app, pagename, templatename, context, doctree):
# base template for common sphinx pages like search or genindex
# there is no need to provide github show/edit links for them
Expand All @@ -35,8 +35,8 @@ def html_page_context(app, pagename, templatename, context, doctree):
os.path.relpath(doctree.get('source'), app.builder.srcdir))
context['github_show_url'] = get_github_url(app, 'blob', path)
context['github_edit_url'] = get_github_url(app, 'edit', path)


def setup(app):
app.add_config_value('github_project', '', True)
app.add_config_value('github_branch', 'master', True)
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/api/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ returned, listing the supported HTTP methods. For example:
"error":"method_not_allowed",
"reason":"Only GET,HEAD allowed"
}
The CouchDB design document API and the functions when returning HTML
(for example as part of a show or list) enables you to include custom
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/api/database/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ results.
{"seq":6,"id":"updated","changes":[{"rev":"3-825cb35de44c433bfb2df415563a19de"}]}
Obviously, `... tum tee tum ...` does not appear in the actual response, but
represents a long pause before the change with seq 6 occurred.  
represents a long pause before the change with seq 6 occurred.

.. _Change Notifications in the book CouchDB The Definitive Guide: http://guide.couchdb.org/draft/notifications.html

Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/api/ddoc/common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
.. http:get:: /{db}/_design/{ddoc}
:synopsis: Returns the design document

Returns the contents of the design document specified with the name of the design
Returns the contents of the design document specified with the name of the design
document and from the specified database from the URL. Unless you request a specific
revision, the latest revision of the document will always be returned.

Expand Down
26 changes: 13 additions & 13 deletions src/docs/src/config/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ Configuration of Attachment Storage
.. config:section:: attachments :: Configuration of Attachment Storage
.. config:option:: compression_level
Defines zlib compression level for the attachments from ``1`` (lowest,
fastest) to ``9`` (highest, slowest). A value of ``0`` disables compression

::

[attachments]
compression_level = 8


.. config:option:: compressible_types
Since compression is ineffective for some types of files, it is possible
to let CouchDB compress only some types of attachments, specified by their
MIME type::

[attachments]
compressible_types = text/*, application/javascript, application/json, application/xml

Expand All @@ -52,21 +52,21 @@ Statistic Calculation
=====================

.. config:section:: stats :: Statistic Calculation
.. config:option:: rate
Rate of statistics gathering in milliseconds::

[stats]
rate = 1000


.. config:option:: samples
Samples are used to track the mean and standard value deviation within
specified intervals (in seconds)::

[stats]
samples = [0, 60, 300, 900]

Expand Down Expand Up @@ -187,7 +187,7 @@ UUIDs Configuration
algorithm unless you have a specific need and take into account
the likely need for compaction to re-balance the B-tree and reclaim
wasted space.


.. config:option:: utc_id_suffix :: UTC ID Suffix
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ but it includes some code listings. Let's mark them up. We'll turn::
Into::

.. code-block:: erlang

ejson:encode(ejson:decode(<<"1.1">>)).
<<"1.1000000000000000888">>

Expand Down
4 changes: 2 additions & 2 deletions src/docs/src/couchapp/ddocs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ events (documents with status `new`). Our filter function will look like this:
}
return true; // passed!
}
 
Filter functions must return ``true`` if a document passed all defined
rules. Now, if you apply this function to the changes feed it will emit only changes
about "new mails"::
Expand Down Expand Up @@ -614,7 +614,7 @@ by throwing one of two error objects:
// user is not authorized to make the change but may re-authenticate
throw({ unauthorized: 'Error message here.' });
// change is not allowed
throw({ forbidden: 'Error message here.' });
Expand Down
Loading

0 comments on commit 5265528

Please sign in to comment.