mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix(CppParser): Documentation generation (some minor fixes, WiP) #4441
This commit is contained in:
parent
695f813eb6
commit
ad07839db9
@ -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>
|
||||
|
@ -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())
|
||||
{
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user