Skip to content

Commit

Permalink
Fix typos (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Mar 24, 2022
1 parent 6711e9b commit 7ec1c33
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ more detail in the contributing section of the documentation:

### The html layout

The "layout" included in this theme is originally mainly targetted towards
The "layout" included in this theme is originally mainly targeted towards
documentation sites with many pages, and where putting all navigation in a
single sidebar can therefore get unwieldy.

Expand Down
2 changes: 1 addition & 1 deletion docs/demo/example_pandas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1188,5 +1188,5 @@ This will **not** work at all, and so should be avoided:

.. meta::
:description lang=en:
An example of a long HTML page, as is comming in the pandas documentation
An example of a long HTML page, as is coming in the pandas documentation
in pydata-sphinx-theme.
2 changes: 1 addition & 1 deletion docs/user_guide/sections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ By default, it has the following templates:
A list of built-in templates you can insert into sections
=========================================================

Below is a list of build-in templates that you can insert into any section.
Below is a list of built-in templates that you can insert into any section.
Note that some of them may have CSS rules that assume a specific section (and
will be named accordingly).

Expand Down
2 changes: 1 addition & 1 deletion src/pydata_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def index_toctree(app, pagename: str, startdepth: int, collapse: bool = True, **
except IndexError:
# eg for index.rst, but also special pages such as genindex, py-modindex, search
# those pages don't have a "current" element in the toctree, so we can
# directly return an emtpy string instead of using the default sphinx
# directly return an empty string instead of using the default sphinx
# toctree.get_toctree_for(pagename, app.builder, collapse, **kwargs)
return ""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def test_included_toc(sphinx_build_factory):

# html contexts for `show_edit_button`

# these are "good" context fragements that should yield a working link
# these are "good" context fragments that should yield a working link
good_edits = [
[
{
Expand Down

0 comments on commit 7ec1c33

Please sign in to comment.