summaryrefslogtreecommitdiff
path: root/sphinx/util
diff options
context:
space:
mode:
authorTetsuo Koyama <tkoyama010@gmail.com>2020-07-19 00:43:11 +0000
committerTetsuo Koyama <tkoyama010@gmail.com>2020-07-19 00:43:11 +0000
commitae7c4cc3b87d270bd9089c8c145f569df2557b29 (patch)
treec6bf012f15d9eede6369612e424ec30940a80f0b /sphinx/util
parente5d9527b0be3d54cedae022e98c195a93d68be41 (diff)
downloadsphinx-git-ae7c4cc3b87d270bd9089c8c145f569df2557b29.tar.gz
fix typo
Diffstat (limited to 'sphinx/util')
-rw-r--r--sphinx/util/__init__.py2
-rw-r--r--sphinx/util/compat.py2
-rw-r--r--sphinx/util/docutils.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
index a864bb97a..082c5caa3 100644
--- a/sphinx/util/__init__.py
+++ b/sphinx/util/__init__.py
@@ -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('.'):
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 4923343ae..7c55c4ec7 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -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.
"""
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index 1f8fabf23..ce299d27a 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -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__