fix(CppParser): Documentation generation (some minor fixes, WiP) #4441

This commit is contained in:
Alex Fabijanic 2024-02-05 19:04:21 +01:00
parent 695f813eb6
commit ad07839db9
3 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,7 @@
${PocoBuild}/*/include/Poco/*/*/*.h
${PocoBuild}/*/include/Poco/*/*.h
${PocoBuild}/*/*/include/Poco/*/*/*.h
${PocoBuild}/Data/src/sql-parser/*.h
</include>
<exclude>
*_*.h,
@ -31,12 +32,14 @@
<exec>g++</exec>
<options>
${Includes},
-I${PocoBase}/Data/src,
-I/usr/local/ssl/include,
-I/usr/local/mysql/include,
-I/usr/include/mysql,
-D_DEBUG,
-E,
-C,
-DPOCO_NO_WINDOWS_H,
-DPOCO_NO_WINDOWS_H,
-DPOCO_NO_GCC_API_ATTRIBUTE,
-xc++
</options>

View File

@ -2359,7 +2359,6 @@ void DocWriter::writeTOC(std::ostream& ostr, const TOC& toc)
{
ostr << "<div class=\"toc\">" << std::endl;
ostr << "<ul class=\"collapsibleList\"><li>" << tr("TOC") << std::endl;
int lastLevel = 0;
std::vector<int> levelStack;
levelStack.push_back(0);
for (TOC::const_iterator it = toc.begin(); it != toc.end(); ++it)
@ -2384,7 +2383,6 @@ void DocWriter::writeTOC(std::ostream& ostr, const TOC& toc)
ostr << "</li>" << std::endl;
}
ostr << "<li class=\"level" << level << "\"><a href=\"#" << it->id << "\">" << htmlize(it->title) << "</a>" << std::endl;
lastLevel = level;
}
while (!levelStack.empty())
{

View File

@ -85,7 +85,6 @@ mkdir -p ${target}/cmake
#
echo ${version} "(`date +%Y-%m-%d`)" >${target}/VERSION
cp ${POCO_BASE}/LICENSE ${target}
cp ${POCO_BASE}/NEWS ${target}
cp ${POCO_BASE}/README ${target}
cp ${POCO_BASE}/CHANGELOG ${target}
cp ${POCO_BASE}/CONTRIBUTORS ${target}