Skip to content

Commit

Permalink
Merge pull request #222 from luzpaz/trivial-typo-fixes
Browse files Browse the repository at this point in the history
MAINT: fix trivial source comment typos
  • Loading branch information
rgommers committed May 29, 2019
2 parents 2fa5256 + 8dfe098 commit bd02bf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ numpydoc_xref_param_type : bool
``False`` by default.

.. note:: Depending on the link types, the CSS styles might be different.
consider overridding e.g. ``span.classifier a span.xref`` and
consider overriding e.g. ``span.classifier a span.xref`` and
``span.classifier a code.docutils.literal.notranslate``
CSS classes to achieve a uniform appearance.

Expand Down
2 changes: 1 addition & 1 deletion numpydoc/numpydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def clean_backrefs(app, doc, docname):
for id_ in ref['ids']:
known_ref_ids.add(id_)
for citation_node in doc.traverse(citation, descend=True):
# remove backrefs to non-existant refs
# remove backrefs to non-existent refs
citation_node['backrefs'] = [id_ for id_ in citation_node['backrefs']
if id_ in known_ref_ids]

Expand Down
2 changes: 1 addition & 1 deletion numpydoc/xref.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _split_and_apply_re(s, pattern):
else:
res = make_xref(
tok, xref_aliases, xref_ignore)
# Openning brackets immediated after a role is
# Opening brackets immediately after a role is
# bad markup. Detect that and add backslash.
# :role:`type`( to :role:`type`\(
if res and res[-1] == '`' and i < n-1:
Expand Down

0 comments on commit bd02bf7

Please sign in to comment.