From 809f1c15cc3b377c5db4e0d789fb142b6e4a9078 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Sun, 14 Apr 2024 00:05:09 -0400 Subject: [PATCH] DOC: adjust how we generate the Sphinx .rst files Signed-off-by: Michael Jackson --- wrapping/python/docs/generate_sphinx_docs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrapping/python/docs/generate_sphinx_docs.cpp b/wrapping/python/docs/generate_sphinx_docs.cpp index a9a6481f88..76380c1ca4 100644 --- a/wrapping/python/docs/generate_sphinx_docs.cpp +++ b/wrapping/python/docs/generate_sphinx_docs.cpp @@ -730,13 +730,13 @@ void GeneratePythonRstFiles() IFilter::UniquePointer filter = filterListPtr->createFilter(filterHandle); // auto plugin = filterListPtr->getPlugin(filterHandle); - rstStream << filterClassName << "\n"; - rstStream << GenerateUnderline(filterClassName.size(), '-') << "\n\n"; + rstStream << filter->humanName() << "\n"; + rstStream << GenerateUnderline(filter->humanName().size(), '-') << "\n\n"; rstStream << ".. index:: pair: Filter Human Names; " << filter->humanName() << "\n"; rstStream << ".. index:: pair: Filter Class Names; " << filter->className() << "\n"; rstStream << "\n"; - rstStream << "- **UI Name**: " << filter->humanName() << "\n\n"; + //rstStream << "- **UI Name**: " << filter->humanName() << "\n\n"; rstStream << ".. _" << filterClassName << ":\n";