Changeset ed3794e in rtems-docs


Ignore:
Timestamp:
Jan 20, 2016, 4:00:32 AM (4 years ago)
Author:
Amar Takhar <amar@…>
Branches:
4.11, master
Children:
df77336
Parents:
9b495a2
git-author:
Amar Takhar <amar@…> (01/20/16 04:00:32)
git-committer:
Amar Takhar <verm@…> (05/03/16 00:51:25)
Message:

Add 'waf linkcheck' to check external references.

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • bsp_howto/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • c_user/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • common/waf.py

    r9b495a2 red3794e  
    3030
    3131
     32def cmd_linkcheck(ctx, conf_dir=".", source_dir="."):
     33        ctx(
     34                rule    = "${BIN_SPHINX_BUILD} -b linkcheck -c %s -j %d -d build/doctrees %s build/linkcheck" % (conf_dir, ctx.options.jobs, source_dir),
     35                cwd             = ctx.path.abspath(),
     36                source  = ctx.path.ant_glob('**/*.rst'),
     37                target  = "linkcheck/output.txt"
     38        )
     39
     40
    3241class spell(BuildContext):
    3342        __doc__ = "Check spelling.  Supply a list of files or a glob (*.rst)"
    3443        cmd = 'spell'
    3544        fun = 'cmd_spell'
     45
     46
     47class linkcheck(BuildContext):
     48        __doc__ = "Check all external URL references."
     49        cmd = 'linkcheck'
     50        fun = 'cmd_linkcheck'
    3651
    3752
     
    7994                prompt          = 0
    8095        )
    81 
    8296
    8397def doc_singlehtml(ctx, source_dir, conf_dir):
  • cpu_supplement/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • develenv/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • filesystem/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • networking/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • posix1003_1/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • posix_users/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • shell/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
  • user/wscript

    r9b495a2 red3794e  
    33path.append(abspath('../common/'))
    44
    5 from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options
     5from waf import cmd_configure as configure, cmd_build as build, spell, cmd_spell, cmd_options as options, linkcheck, cmd_linkcheck
    66
Note: See TracChangeset for help on using the changeset viewer.