Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 642e42b

Browse files
committed
fix docs
1 parent 04b90f7 commit 642e42b

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2160,7 +2160,7 @@ SKIP_FUNCTION_MACROS = YES
21602160
# the path). If a tag file is not located in the directory in which doxygen is
21612161
# run, you must also specify the path to the tagfile here.
21622162

2163-
TAGFILES = /home/sky/Qt/Docs/Qt-5.9.1/qtjsonserializer/qtjsonserializer.tags=https://skycoder42.github.io/QJsonSerializer/
2163+
TAGFILES =
21642164

21652165
# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
21662166
# tag file that is based on the input files it reads. See section "Linking to

doc/makedoc.sh

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,37 @@ qtBins=$3
1616
qtHeaders=$4
1717
qtDocs=$5
1818
doxyTemplate="$srcDir/Doxyfile"
19+
doxyRes=Doxyfile.generated
1920
readme="$destDir/README.md"
2021
doxme="$scriptDir/doxme.py"
2122

2223
python3 "$doxme" "$srcDir/../README.md"
2324

24-
cat "$doxyTemplate" > Doxyfile
25-
echo "PROJECT_NUMBER = \"$version\"" >> Doxyfile
26-
echo "INPUT += \"$readme\"" >> Doxyfile
27-
echo "USE_MDFILE_AS_MAINPAGE = \"$readme\"" >> Doxyfile
28-
echo "OUTPUT_DIRECTORY = \"$destDir\"" >> Doxyfile
29-
echo "QHP_NAMESPACE = \"de.skycoder42.qtrestclient.$verTag\"" >> Doxyfile
30-
echo "QHP_CUST_FILTER_NAME = \"RestClient $version\"" >> Doxyfile
31-
echo "QHP_CUST_FILTER_ATTRS = \"qtrestclient $version\"" >> Doxyfile
32-
echo "QHG_LOCATION = \"$qtBins/qhelpgenerator\"" >> Doxyfile
33-
echo "INCLUDE_PATH += \"$qtHeaders\"" >> Doxyfile
34-
echo "GENERATE_TAGFILE = \"$destDir/qtrestclient/qtrestclient.tags\"" >> Doxyfile
25+
cat "$doxyTemplate" > $doxyRes
26+
echo "PROJECT_NUMBER = \"$version\"" >> $doxyRes
27+
echo "INPUT += \"$readme\"" >> $doxyRes
28+
echo "USE_MDFILE_AS_MAINPAGE = \"$readme\"" >> $doxyRes
29+
echo "OUTPUT_DIRECTORY = \"$destDir\"" >> $doxyRes
30+
echo "QHP_NAMESPACE = \"de.skycoder42.qtrestclient.$verTag\"" >> $doxyRes
31+
echo "QHP_CUST_FILTER_NAME = \"RestClient $version\"" >> $doxyRes
32+
echo "QHP_CUST_FILTER_ATTRS = \"qtrestclient $version\"" >> $doxyRes
33+
echo "QHG_LOCATION = \"$qtBins/qhelpgenerator\"" >> $doxyRes
34+
echo "INCLUDE_PATH += \"$qtHeaders\"" >> $doxyRes
35+
echo "GENERATE_TAGFILE = \"$destDir/qtrestclient/qtrestclient.tags\"" >> $doxyRes
3536
if [ "$DOXY_STYLE" ]; then
36-
echo "HTML_STYLESHEET = \"$DOXY_STYLE\"" >> Doxyfile
37+
echo "HTML_STYLESHEET = \"$DOXY_STYLE\"" >> $doxyRes
3738
fi
3839
if [ "$DOXY_STYLE_EXTRA" ]; then
39-
echo "HTML_EXTRA_STYLESHEET = \"$DOXY_STYLE_EXTRA\"" >> Doxyfile
40+
echo "HTML_EXTRA_STYLESHEET = \"$DOXY_STYLE_EXTRA\"" >> $doxyRes
4041
fi
4142

4243
for tagFile in $(find "$qtDocs" -name *.tags); do
4344
if [ $(basename "$tagFile") == "qtjsonserializer.tags" ]; then
44-
echo "TAGFILES += \"$tagFile=https://skycoder42.github.io/QJsonSerializer\"" >> Doxyfile
45+
echo "TAGFILES += \"$tagFile=https://skycoder42.github.io/QJsonSerializer\"" >> $doxyRes
4546
elif [ $(basename "$tagFile") != "qtrestclient.tags" ]; then
46-
echo "TAGFILES += \"$tagFile=https://doc.qt.io/qt-5\"" >> Doxyfile
47+
echo "TAGFILES += \"$tagFile=https://doc.qt.io/qt-5\"" >> $doxyRes
4748
fi
4849
done
4950

5051
cd "$srcDir"
51-
doxygen "$destDir/Doxyfile"
52+
doxygen "$destDir/$doxyRes"

0 commit comments

Comments
 (0)