diff --git a/site_scons/site_tools/md2html.py b/site_scons/site_tools/md2html.py index 24cd029ca62..7f19318d1cc 100644 --- a/site_scons/site_tools/md2html.py +++ b/site_scons/site_tools/md2html.py @@ -160,6 +160,9 @@ def md2html_actionFunc( title = _getTitle(mdBuffer, isKeyCommands) lang = pathlib.Path(source[0].path).parent.name + if isDevGuide and lang == "developerGuide": + # Parent folder in this case is the developerGuide folder in project docs + lang = "en" if isUserGuide or isDevGuide: extraStylesheet = ''