sphinx-contrib / spelling /

Filename Size Date modified Message
1.3 KB
49 B
1.8 KB
32 B
83 B
1.1 KB
940 B

This package contains sphinxcontrb.spelling, a spelling checker for
Sphinx-based documentation.  It uses PyEnchant_ to produce a report
showing misspelled words.


1. Follow the instructions on the PyEnchant_ site to install enchant and then PyEnchant.
2. ``pip install sphinxcontrib-spelling``


1. Add ``'sphinxcontrib.spelling'`` to the ``extensions`` list in ``conf.py``.


    extensions = [ 'sphinxcontrib.spelling' ]

Configuration Options

  Boolean controlling whether suggestions for misspelled words are
  printed.  Defaults to False.
  String specifying the language, as understood by PyEnchant and
  enchant.  Defaults to ``en_US`` for US English.
  String specifying a file containing a list of words known to be
  spelled correctly but that do not appear in the language dictionary
  selected by ``spelling_lang``.  The file should contain one word per
  line.  Refer to the `PyEnchant tutoral
  <http://www.rfk.id.au/software/pyenchant/tutorial.html>`_ for


To process a document with the spell checker, use ``sphinx-build`` and
specify ``spelling`` as the builder name using the ``-b`` option.  The
output includes the headings from the document and any misspelled
words.  If suggestions are enabled, they are shown on the same line as
the misspelling.


  $ sphinx-build -b spelling source output

   - "Plugin"

   - "plugins"



     Supported Shells
     - "bitbucket"

.. _PyEnchant: http://www.rfk.id.au/software/pyenchant/
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.