diff options
author | Stephen Finucane <stephen@that.guru> | 2017-01-02 11:47:38 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-01-04 08:47:28 -0800 |
commit | 099cf485b579f1950034f306e18f005d98fa8a30 (patch) | |
tree | 24c20ead6b58f6174cf90eed6b9f3ed62d5e3437 /Documentation/conf.py | |
parent | e25d4af1e690d1091089aefb5b9fde31825252d4 (diff) | |
download | openvswitch-099cf485b579f1950034f306e18f005d98fa8a30.tar.gz |
make: Validate documents on build
Build documentation as part of every build. This ensures any syntax
errors are caught early.
In addition, a 'check-docs' target is added to validates all external
links.
The nitpick ('-n') flag is added to ensure all possible warnings are
raised.
Signed-off-by: Stephen Finucane <stephen@that.guru>
[blp@ovn.org folded in changes for --enable-silent-rules]
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r-- | Documentation/conf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index c0b68c15a..389ef706a 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -119,6 +119,8 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False +# If true, check the validity of #anchors in links. +linkcheck_anchors = False # -- Options for HTML output ---------------------------------------------- |