Skip to content

Commit

Permalink
Add sphinxcontrib-spelling to Sphinx config and CI, spelling-wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
markheik committed Jun 21, 2022
1 parent 04ba035 commit 20fc9ce
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
sudo dpkg -i pandoc-2.18-1-amd64.deb
cd docs && make html EXAMPLE_SRC=remote
- name: "Test spelling docs"
run: |
cd docs && sphinx-build -b spelling -q source build/spelling
- name: Store artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,10 @@

nbsphinx_codecell_lexer = "none"
highlight_language = "none"

# Spelling
# sphinxcontrib.spelling configuration file
spelling_word_list_filename='spelling_wordlist.txt'
# Show suggestion in console output
spelling_show_suggestions=False
spelling_exclude_patterns=['examples/*']
99 changes: 99 additions & 0 deletions docs/source/spelling_wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
zhinst
pythonic
namespace
Jupyter
Bugfix
qccs
Changelog
json_schema
json
sw
Quickstart
Natively
preinitialized
preloaded
unmanaged
autocompletion

uhfqa
shfqa
uhfli
shfsg
hdawg
sgchannels
qachannels
awg
awgs
ZSync
zsync
shfqc
pqsc
daq
docstring
qa
qas
qcodes
deviceutils
ziPython
streamingnodes
nodetree
dev
ziDAQServer
excludevectors
excludestreaming
basechannelonly
subscribedonly
streamingonly
settingsonly
unsubscription
leavesonly
utils
SHFSweeper
commandtable
Enums
getDouble
getInt
getString
listNodesJSON
getString
setVector
args
kwargs
functools
iter
len
bool
autoattribute
nodelike
mds
precompensation
precompensationAdvisor
Labber
playWave
Xilinx

ns
holdoff
dBm
qubits
qubit
qutrits
ququads
num
LF
rf
lf
deskew
clk
pid
bitwise
GbE
localhost
uint
Vpp
Autoranging
autorange
Loopback
gaussian
upconversion
clockbase

0 comments on commit 20fc9ce

Please sign in to comment.