Skip to content

Commit

Permalink
Remove debug output from sphinx docs generation
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Apr 18, 2024
1 parent 472d537 commit e5a5b22
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions wrapping/python/docs/generate_sphinx_docs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,42 +594,7 @@ void GenerateMarkdownFilterParameterTable()
needTableHeader++;
}

Check failure on line 595 in wrapping/python/docs/generate_sphinx_docs.cpp

View workflow job for this annotation

GitHub Actions / clang_format_pr

code should be clang-formatted [-Wclang-format-violations]

#if SOMETHING
for(const auto& parameter : parameters)
{
auto const& paramValue = parameter.second;
if(paramValue->helpText().empty())
{
std::cout << filter->name() << "::" << paramValue->name() << " HELP Text is empty\n";
}
for(const auto& letter : paramValue->name())
{
if(::isupper(letter) != 0)
{
std::cout << filter->name() << "::" << paramValue->name() << " HAS CAPS. Should be lower snake case\n";
break;
}
}

if(CheckScalarPrimitive(pTableStream, paramValue))
{
continue;
}
if(CheckVectorPrimitive(pTableStream, paramValue))
{
continue;
}
if(CheckArraySelectionParameter(pTableStream, paramValue))
{
continue;
}
if(CheckGeometrySelectionParameter(pTableStream, paramValue))
{
continue;
}
CheckParameter(pTableStream, paramValue);
}
#endif

pTableStream << '\n';

Expand Down Expand Up @@ -765,18 +730,6 @@ void GeneratePythonRstFiles()
for(const auto& parameter : parameters)
{
auto const& paramValue = parameter.second;
if(paramValue->helpText().empty())
{
std::cout << filter->name() << "::" << paramValue->name() << " HELP Text is empty\n";
}
for(const auto& letter : paramValue->name())
{
if(::isupper(letter) != 0)
{
std::cout << filter->name() << "::" << paramValue->name() << " HAS CAPS. Should be lower snake case\n";
break;
}
}

rstStream << " |" << CreateFilledString(paramValue->humanName(), columnWidths[0], ' ') << "|" << CreateFilledString(paramValue->name(), columnWidths[1], ' ') << "|\n";
rstStream << " +" << std::string(columnWidths[0], '-') << "+" << std::string(columnWidths[1], '-') << "+\n";
Expand Down

0 comments on commit e5a5b22

Please sign in to comment.