From 41ee443b31b5c72d340f2249e74538df2afeec10 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Fri, 22 Nov 2024 08:41:30 -0500 Subject: [PATCH] BUG: Broken external links for the SimplnxCore filters within the python docs Signed-off-by: Michael Jackson --- wrapping/python/docs/generate_sphinx_docs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrapping/python/docs/generate_sphinx_docs.cpp b/wrapping/python/docs/generate_sphinx_docs.cpp index 1c9be734ce..c42dfb959b 100644 --- a/wrapping/python/docs/generate_sphinx_docs.cpp +++ b/wrapping/python/docs/generate_sphinx_docs.cpp @@ -640,6 +640,7 @@ void GeneratePythonRstFiles() for(const auto& plugin : pluginListPtr) { std::string plugName = plugin->getName(); + std::string fullPluginName = plugName; const std::string pluginRootDir = fmt::format("{}", s_PluginDirMap[plugName]); if(pluginRootDir.empty()) { @@ -711,7 +712,7 @@ void GeneratePythonRstFiles() rstStream << " " << rstDescription << "\n\n"; // Tack on the link to the web address for the full documentation - const std::string webAddress = fmt::format("{}/{}/{}/{}.html", k_WebServerAddress, k_WebServerFilterFolder, plugName, filterClassName); + const std::string webAddress = fmt::format("{}/{}/{}/{}.html", k_WebServerAddress, k_WebServerFilterFolder, fullPluginName, filterClassName); rstStream << " `Link to the full online documentation for " << filterClassName << " <" << webAddress << ">`_ \n\n"; const auto& parameters = filter->parameters();