From 099cf485b579f1950034f306e18f005d98fa8a30 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 2 Jan 2017 11:47:38 +0000 Subject: 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 [blp@ovn.org folded in changes for --enable-silent-rules] Signed-off-by: Ben Pfaff --- Documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Documentation/conf.py') 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 ---------------------------------------------- -- cgit v1.2.1