source: rtems-docs/rtemsconfig/wscript @ f97be09

5
Last change on this file since f97be09 was f916fca, checked in by Amar Takhar <amar@…>, on 01/18/16 at 22:53:44

Add support for spellchecking with a custom dictionary.

To use:

  1. Install aspell
  2. waf spell <list of files>
    • waf spell mydoc.rst
    • waf spell *.rst

This uses a custom dictionary stored in common/spell/dict/. We should add all
RTEMS and programming terms to this to ensure we are consistent.

Amar.

  • Property mode set to 100644
File size: 301 bytes
RevLine 
[5daabd2]1from sys import path
2from os.path import abspath
3path.append(abspath('../common/'))
4
[f916fca]5from waf import cmd_options_path, cmd_configure_path, cmd_build_path, spell, cmd_spell
[46498bd]6
[5daabd2]7
[46498bd]8def options(ctx):
[3a71759]9                cmd_options_path(ctx)
[46498bd]10
[5daabd2]11def configure(ctx):
[3a71759]12        cmd_configure_path(ctx)
[46498bd]13
[5daabd2]14def build(ctx):
[3a71759]15        cmd_build_path(ctx)
[5daabd2]16
Note: See TracBrowser for help on using the repository browser.