diff --git a/build/documentation/.gitignore b/build/documentation/.gitignore new file mode 100644 index 0000000..ea87efb --- /dev/null +++ b/build/documentation/.gitignore @@ -0,0 +1,10 @@ + +# file created during build_docs +# = tidy5 -h > tidy5.cmd.txt +examples/tidy5.cmd.txt + +# The license file needs to copies to examples for \include +examples/LICENSE.md + + + diff --git a/build/documentation/build_docs.sh b/build/documentation/build_docs.sh index 9c96961..808615b 100755 --- a/build/documentation/build_docs.sh +++ b/build/documentation/build_docs.sh @@ -7,7 +7,7 @@ # documentation. Relative path is okay. You shouldn't have to change this # too often if your compiler always puts tidy in the same place. -TIDY_PATH="./tidy5" # Current directory. +TIDY_PATH="../cmake/tidy5" # Current directory. TIDY_VERSION=`cat ../../version.txt` @@ -108,7 +108,10 @@ if [ "$BUILD_API" -eq 1 ]; then echo "The following is doxygen's stderr output. It doesn't indicate errors with this script:\n" # echo the output of tidy5 --help so we can include - $TIDY_PATH -h > "./tidy5.cmd.txt" + $TIDY_PATH -h > "./examples/tidy5.cmd.txt" + + ## copy license file to examples for includsing + cp ../../LICENSE.md ./examples/ ## this lot # - echos and catches outputs the doxygen config diff --git a/build/documentation/tidy_docs.dox b/build/documentation/tidy_docs.dox index cd94cd0..69f107e 100644 --- a/build/documentation/tidy_docs.dox +++ b/build/documentation/tidy_docs.dox @@ -20,7 +20,7 @@ - \ref tidylib - \ref building_tidy - \ref history - +- \ref license @@ -162,4 +162,11 @@ being developed and prepped for a new, stable, and modern release.

HTACG is also working diligently with the SourceForge maintainers in an effort to harmonize HTML Tidy into a single, stable, solid release once again.

+ +\page license License + +
+\htmlinclude LICENSE.md
+
+ */ \ No newline at end of file