source: rtems-docs/rtemsconfig/wscript @ f916fca

4.115am
Last change on this file since f916fca 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
Line 
1from sys import path
2from os.path import abspath
3path.append(abspath('../common/'))
4
5from waf import cmd_options_path, cmd_configure_path, cmd_build_path, spell, cmd_spell
6
7
8def options(ctx):
9                cmd_options_path(ctx)
10
11def configure(ctx):
12        cmd_configure_path(ctx)
13
14def build(ctx):
15        cmd_build_path(ctx)
16
Note: See TracBrowser for help on using the repository browser.