Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Jul 19, 2020
1 parent e5d9527 commit ae7c4cc
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ Release 2.4.1 (released Feb 11, 2020)
Bugs fixed
----------

* #7120: html: crashed when on scaling SVG images which have float dimentions
* #7120: html: crashed when on scaling SVG images which have float dimensions
* #7126: autodoc: TypeError: 'getset_descriptor' object is not iterable

Release 2.4.0 (released Feb 09, 2020)
Expand Down Expand Up @@ -756,7 +756,7 @@ Features added
* #6548: html: Use favicon for OpenSearch if available
* #6729: html theme: agogo theme now supports ``rightsidebar`` option
* #6780: Add PEP-561 Support
* #6762: latex: Allow to load additonal LaTeX packages via ``extrapackages`` key
* #6762: latex: Allow to load additional LaTeX packages via ``extrapackages`` key
of :confval:`latex_elements`
* #1331: Add new config variable: :confval:`user_agent`
* #6000: LaTeX: have backslash also be an inline literal word wrap break
Expand Down
2 changes: 1 addition & 1 deletion EXAMPLES
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Documentation using a custom theme or integrated in a website
* `Roundup <http://www.roundup-tracker.org/>`__
* `SaltStack <https://docs.saltstack.com/>`__
* `scikit-learn <http://scikit-learn.org/stable/>`__
* `SciPy <https://docs.scipy.org/doc/scipy/refrence/>`__
* `SciPy <https://docs.scipy.org/doc/scipy/reference/>`__
* `Scrapy <https://doc.scrapy.org/>`__
* `Seaborn <https://seaborn.pydata.org/>`__
* `Selenium <https://docs.seleniumhq.org/docs/>`__
Expand Down
2 changes: 1 addition & 1 deletion sphinx/builders/_epub_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def is_vector_graphics(self, filename: str) -> bool:
return ext in VECTOR_GRAPHICS_EXTENSIONS

def copy_image_files_pil(self) -> None:
"""Copy images using Pillow, the Python Imaging Libary.
"""Copy images using Pillow, the Python Imaging Library.
The method tries to read and write the files with Pillow, converting
the format and resizing the image if necessary/possible.
"""
Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -3508,7 +3508,7 @@ def run(self) -> Tuple[List[Node], List[system_message]]:
config=self.env.config)
try:
parser.parse_xref_object()
# it suceeded, so let it through
# it succeeded, so let it through
return super().run()
except DefinitionError as eOrig:
# try as if it was an c:expr
Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
visibility storage-class-specifier function-specifier "friend"
"constexpr" "volatile" "const" trailing-type-specifier
# where trailing-type-specifier can no be cv-qualifier
# Inside e.g., template paramters a strict subset is used
# Inside e.g., template parameters a strict subset is used
# (see type-specifier-seq)
trailing-type-specifier ->
simple-type-specifier ->
Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/javascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def before_content(self) -> None:
:py:class:`JSObject` represents JavaScript language constructs. For
constructs that are nestable, this method will build up a stack of the
nesting heirarchy so that it can be later de-nested correctly, in
nesting hierarchy so that it can be later de-nested correctly, in
:py:meth:`after_content`.
For constructs that aren't nestable, the stack is bypassed, and instead
Expand Down
2 changes: 1 addition & 1 deletion sphinx/domains/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def before_content(self) -> None:
:py:class:`PyObject` represents Python language constructs. For
constructs that are nestable, such as a Python classes, this method will
build up a stack of the nesting heirarchy so that it can be later
build up a stack of the nesting hierarchy so that it can be later
de-nested correctly, in :py:meth:`after_content`.
For constructs that aren't nestable, the stack is bypassed, and instead
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/ifconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def process_ifconfig_nodes(app: Sphinx, doctree: nodes.document, docname: str) -
# handle exceptions in a clean fashion
from traceback import format_exception_only
msg = ''.join(format_exception_only(err.__class__, err))
newnode = doctree.reporter.error('Exception occured in '
newnode = doctree.reporter.error('Exception occurred in '
'ifconfig expression: \n%s' %
msg, base_node=node)
node.replace_self(newnode)
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/da.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
eller | or
hvad | what
skal | must/shall etc.
selv | myself/youself/herself/ourselves etc., even
selv | myself/yourself/herself/ourselves etc., even
her | here
alle | all/everyone/everybody etc.
vil | will (verb)
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
от | away from
меня | me
еще | still, yet, more
нет | no, there isnt/arent
нет | no, there isn't/aren't
о | about
из | out of
ему | to him
Expand Down
2 changes: 1 addition & 1 deletion sphinx/themes/bizstyle/static/css3-mediaqueries_src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ domReady(function enableCssMediaQueries() {
var vpw = cssHelper.getViewportWidth();
var vph = cssHelper.getViewportHeight();
// check whether vp size has really changed, because IE also triggers resize event when body size changes
// 20px allowance to accomodate short appearance of scrollbars in IE in some cases
// 20px allowance to accommodate short appearance of scrollbars in IE in some cases
if (Math.abs(vpw - cvpw) > scrollbarWidth || Math.abs(vph - cvph) > scrollbarWidth) {
cvpw = vpw;
cvph = vph;
Expand Down
2 changes: 1 addition & 1 deletion sphinx/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def get_full_modname(modname: str, attribute: str) -> str:
return None
module = import_module(modname)

# Allow an attribute to have multiple parts and incidentially allow
# Allow an attribute to have multiple parts and incidentally allow
# repeated .s in the attribute.
value = module
for attr in attribute.split('.'):
Expand Down
2 changes: 1 addition & 1 deletion sphinx/util/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def register_application_for_autosummary(app: "Sphinx") -> None:
"""Register application object to autosummary module.
Since Sphinx-1.7, documenters and attrgetters are registered into
applicaiton object. As a result, the arguments of
application object. As a result, the arguments of
``get_documenter()`` has been changed. To keep compatibility,
this handler registers application object to the module.
"""
Expand Down
2 changes: 1 addition & 1 deletion sphinx/util/docutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def new_document(source_path: str, settings: Any = None) -> nodes.document:
"""Return a new empty document object. This is an alternative of docutils'.
This is a simple wrapper for ``docutils.utils.new_document()``. It
caches the result of docutils' and use it on second call for instanciation.
caches the result of docutils' and use it on second call for instantiation.
This makes an instantiation of document nodes much faster.
"""
global __document_cache__
Expand Down
2 changes: 1 addition & 1 deletion sphinx/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def merge_doctrees(old: Node, new: Node, condition: Any) -> Iterator[Node]:


def get_ratio(old: str, new: str) -> float:
"""Return a "similiarity ratio" (in percent) representing the similarity
"""Return a "similarity ratio" (in percent) representing the similarity
between the two strings where 0 is equal and anything above less than equal.
"""
if not all([old, new]):
Expand Down
2 changes: 1 addition & 1 deletion sphinx/writers/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Table:
Cell spanning on multiple rows or multiple columns (having a
colspan or rowspan greater than one) are automatically referenced
by all the table cells they covers. This is a usefull
by all the table cells they covers. This is a useful
representation as we can simply check ``if self[x, y] is self[x,
y+1]`` to recognize a rowspan.
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-latex-labels/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ subsubsection

otherdoc

* Embeded standalone hyperlink reference(refs: #5948): `subsection <section1_>`_.
* Embedded standalone hyperlink reference(refs: #5948): `subsection <section1_>`_.
2 changes: 1 addition & 1 deletion tests/test_build_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ def test_latex_labels(app, status, warning):
r'\label{\detokenize{otherdoc:otherdoc}}'
r'\label{\detokenize{otherdoc::doc}}' in result)

# Embeded standalone hyperlink reference (refs: #5948)
# Embedded standalone hyperlink reference (refs: #5948)
assert result.count(r'\label{\detokenize{index:section1}}') == 1


Expand Down
2 changes: 1 addition & 1 deletion tests/test_ext_inheritance_diagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def new_run(self):
('dummy.test.B', 'dummy.test.B', [], None)
]

# inheritance diagram with 2 top classes and specifiying the entire module
# inheritance diagram with 2 top classes and specifying the entire module
# rendering should be
#
# A
Expand Down
4 changes: 2 additions & 2 deletions utils/pylintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# lint Python modules using external checkers.
#
# This is the main checker controling the other ones and the reports
# This is the main checker controlling the other ones and the reports
# generation. It is itself both a raw checker and an astng checker in order
# to:
# * handle message activation / deactivation at the module level
Expand Down Expand Up @@ -71,7 +71,7 @@ reports=yes

# Python expression which should return a note less than 10 (10 is the highest
# note).You have access to the variables errors warning, statement which
# respectivly contain the number of errors / warnings messages and the total
# respectively contain the number of errors / warnings messages and the total
# number of statements analyzed. This is used by the global evaluation report
# (R0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
Expand Down

0 comments on commit ae7c4cc

Please sign in to comment.