Fix typos #2122 (cherry-picked by hand)

This commit is contained in:
Takeshi KOMIYA
2016-01-02 11:17:59 +09:00
parent b0f376fdb8
commit 01a526793d
4 changed files with 4 additions and 4 deletions

View File

@@ -453,7 +453,7 @@ documentation on :ref:`intl` for details.
this path are searched by the standard :mod:`gettext` module.
Internal messages are fetched from a text domain of ``sphinx``; so if you
add the directory :file:`./locale` to this settting, the message catalogs
add the directory :file:`./locale` to this setting, the message catalogs
(compiled from ``.po`` format using :program:`msgfmt`) must be in
:file:`./locale/{language}/LC_MESSAGES/sphinx.mo`. The text domain of
individual documents depends on :confval:`gettext_compact`.

View File

@@ -561,7 +561,7 @@ a visibility statement (``public``, ``private`` or ``protected``).
.. rst:directive:: .. cpp:member:: (member-)variable declaration
.. cpp:var:: (member-)variable declaration
Describe a varible or member variable, e.g.,::
Describe a variable or member variable, e.g.,::
.. cpp:member:: std::string theclass::name

View File

@@ -155,7 +155,7 @@ package.
add_directive('literalinclude', literalinclude_directive,
content = 0, arguments = (1, 0, 0),
linenos = directives.flag,
language = direcitves.unchanged,
language = directives.unchanged,
encoding = directives.encoding)
.. versionchanged:: 0.6

View File

@@ -135,7 +135,7 @@ add this data to the ``COMMENT_OPTIONS`` that are used in the template.
.. note::
This only works works if your documentation is served from your
This only works if your documentation is served from your
document root. If it is served from another directory, you will
need to prefix the url route with that directory, and give the `docroot`
keyword argument when creating the web support object::