3 # Perform sanity checks on documentation and build it.
9 sed -e '/^GIT_VERSION = /d' \
10 -e "/constant Gem::ConfigMap is deprecated/d" \
11 -e '/^ \* new asciidoc flags$/d' \
12 -e '/stripped namespace before processing/d' \
13 -e '/Attributed.*IDs for element/d' \
14 -e '/SyntaxWarning: invalid escape sequence/d' \
21 # Build docs with AsciiDoc
22 make doc
> >(tee stdout.log
) 2> >(tee stderr.raw
>&2)
24 filter_log stderr.raw
>stderr.log
26 test -s Documentation
/git.html
27 test -s Documentation
/git.xml
28 test -s Documentation
/git
.1
29 grep '<meta name="generator" content="AsciiDoc ' Documentation
/git.html
31 rm -f stdout.log stderr.log stderr.raw
32 check_unignored_build_artifacts
34 # Build docs with AsciiDoctor
36 make USE_ASCIIDOCTOR
=1 doc
> >(tee stdout.log
) 2> >(tee stderr.raw
>&2)
38 filter_log stderr.raw
>stderr.log
40 test -s Documentation
/git.html
41 grep '<meta name="generator" content="Asciidoctor ' Documentation
/git.html
43 rm -f stdout.log stderr.log stderr.raw
44 check_unignored_build_artifacts