Skip to content

Commit

Permalink
Add sphinx spelling check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed May 19, 2023
1 parent d64a47b commit b8289c7
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"sphinx_rtd_theme", # Read The Docs theme
"sphinx_click", # extract documentation from a `click` application
"sphinxcontrib.apidoc",
"sphinxcontrib.spelling",
]

extlinks = {
Expand Down Expand Up @@ -106,6 +107,12 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

# -- Options for spelling ----------------------------------------------------
spelling_exclude_patterns = ["ignored_*", "**/*_pb2*"]
spelling_ignore_pypi_package_names = True
spelling_show_suggestions = True
spelling_suggestion_limit = 2
spelling_word_list_filename = ["spelling_wordlist.txt"]

# -- Options for HTML output -------------------------------------------------

Expand Down
77 changes: 77 additions & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
π
Δx
Δy
Δheading
ΔTime
accelerometer
Ackermann
acyclic
acyclical
Argoverse
args
bezier
boid
boids
centric
coord
coords
dataset
datasets
deserialize
deserializes
deserialized
deserializable
deterministically
dir
disjunction
drivable
dt
dtype
egoless
Env
fallbacks
frenet
indexable
infos
instantiating
instantiation
instantiations
iterable
lanepoint
laner
lidar
lookahead
natively
np
numpy
ndarray
param
pre
quaternion
quaternions
quickstart
rebase
renderer
renderers
repurposes
rtype
scalable
scalability
serialize
serializes
serialized
serializable
str
timestep
Todo
travelled
unassociated
unformatted
unmanaged
untriggered
Vandenberghe
vectorized
waypoint
waypoints
Waymo
Welford
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ doc =
myst-parser>=0.18.1
sphinx>=5.3.0
sphinxcontrib-apidoc>=0.3.0
sphinxcontrib-spelling>=8.0.0
sphinx-click>=4.4.0
sphinx-rtd-theme>=1.1.1
envision =
Expand Down

0 comments on commit b8289c7

Please sign in to comment.