Skip to content

MAINT: fix trivial source comment typos #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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