Skip to content

Commit

Permalink
Merge branch 'master' of github.com:doxygen/doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Mar 28, 2024
2 parents fced0ea + 906bb5f commit cc81338
Show file tree
Hide file tree
Showing 49 changed files with 97 additions and 103 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
os: ubuntu-20.04,
build_type: "Release", cc: "gcc", cxx: "g++",
build_gen: "Unix Makefiles",
cmake_extra_opts: "-Dbuild_search=YES -Dbuild_app=YES -Dbuild_parse=YES -Dbuild_xmlparser=YES"
cmake_extra_opts: "-Dbuild_search=YES -Dbuild_app=YES -Dbuild_parse=YES"
}
- {
name: "Ubuntu Latest GCC Debug",
os: ubuntu-20.04,
build_type: "Debug", cc: "gcc", cxx: "g++",
build_gen: "Unix Makefiles",
cmake_extra_opts: "-Dbuild_search=YES -Dbuild_app=YES -Dbuild_parse=YES -Dbuild_xmlparser=YES"
cmake_extra_opts: "-Dbuild_search=YES -Dbuild_app=YES -Dbuild_parse=YES"
}
- {
name: "Ubuntu Latest Clang Release",
Expand Down
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ project(doxygen)
option(build_wizard "Build the GUI frontend for doxygen." OFF)
option(build_app "Example showing how to embed doxygen in an application." OFF)
option(build_parse "Parses source code and dumps the dependencies between the code elements." OFF)
option(build_xmlparser "Automatically update the XML parser modules when updating the schema files." OFF)
option(build_search "Build external search tools (doxysearch and doxyindexer)" OFF)
option(build_doc "Build user manual (HTML and PDF)" OFF)
option(build_doc_chm "Build user manual (CHM)" OFF)
Expand Down Expand Up @@ -230,6 +229,12 @@ if (build_doc)
endif ()

add_subdirectory(doc_internal)

find_package(generateDS)
set(update_doxmlparser_dependency "")
if (GENERATEDS_FOUND)
set(update_doxmlparser_dependency "update_doxmlparser_files")
endif()
add_subdirectory(addon)

enable_testing()
Expand Down
4 changes: 1 addition & 3 deletions addon/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
if (build_xmlparser)
add_subdirectory(doxmlparser)
endif ()
add_subdirectory(doxmlparser)

if (build_app)
add_subdirectory(doxyapp)
Expand Down
3 changes: 1 addition & 2 deletions addon/doxmlparser/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
find_package(generateDS)
if (GENERATEDS_FOUND)
add_custom_command(
COMMENT "Updating index.py from index.xsd..."
Expand All @@ -19,7 +18,7 @@ if (GENERATEDS_FOUND)
OUTPUT ${PROJECT_SOURCE_DIR}/addon/doxmlparser/doxmlparser/compound.py
)
add_custom_target(
update_doxmlparser_files ALL
${update_doxmlparser_dependency} ALL
DEPENDS ${PROJECT_SOURCE_DIR}/addon/doxmlparser/doxmlparser/index.py
DEPENDS ${PROJECT_SOURCE_DIR}/addon/doxmlparser/doxmlparser/compound.py
COMMENT "Updating doxmlparser module..."
Expand Down
2 changes: 1 addition & 1 deletion src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4791,7 +4791,7 @@ static void writeIndex(OutputList &ol)
{
ol.startHeaderSection();
ol.startTitleHead(QCString());
ol.parseText(projPrefix+theTranslator->trDocumentation());
ol.parseText(theTranslator->trDocumentation(projectName));
headerWritten = TRUE;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class Translator

// index titles (the project name is prepended for these)

virtual QCString trDocumentation() = 0;
virtual QCString trDocumentation(const QCString projName) = 0;
virtual QCString trModuleIndex() = 0;
virtual QCString trHierarchicalIndex() = 0;
virtual QCString trCompoundIndex() = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/translator_am.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return " - Փաստագրություն"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + " - Փաստագրություն"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_ar.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ class TranslatorArabic : public TranslatorAdapter_1_4_6


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "التوثيق"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "التوثيق"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_bg.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ class TranslatorBulgarian : public TranslatorAdapter_1_9_4
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Документация"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Документация"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
9 changes: 2 additions & 7 deletions src/translator_br.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,13 +486,8 @@ class TranslatorBrazilian : public Translator
{ return "Lista de todos os módulos:"; }

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{
// TODO In the future, I think I'll suggest the replacement of this
// method to something like trDocumentationOf(projPrefix). This will allow
// the latin construction "Documentação de ProjA"
return "Documentação";
}
QCString trDocumentation(const QCString projName) override
{ return "Documentação" + (!projName.isEmpty()? " de " + projName : ""); }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_ca.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ class TranslatorCatalan : public TranslatorAdapter_1_8_0


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return ": Documentació"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + ": Documentació"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_cn.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ class TranslatorChinese : public Translator
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "文档"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "文档"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_cz.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ class TranslatorCzech : public TranslatorAdapter_1_9_6
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentace"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentace"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_de.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ class TranslatorGerman : public TranslatorAdapter_1_8_15
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentation"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentation"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_dk.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
{ return "Her er en liste over alle moduler:"; }

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentation"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentation"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_en.h
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ class TranslatorEnglish : public Translator
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Documentation"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentation"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_eo.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentado"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentado"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
7 changes: 2 additions & 5 deletions src/translator_es.h
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,8 @@ class TranslatorSpanish : public TranslatorAdapter_1_9_6
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{
// TODO: Replace with something like trDocumentationOf(projName).
// This will allow the latin construction "Documentación de projName"
return "documentación"; }
QCString trDocumentation(const QCString projName) override
{ return "Documentación" + (!projName.isEmpty()? " de " + projName : ""); }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_fa.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "مستندات"; }
QCString trDocumentation(const QCString projName) override
{ return "مستندات" + (!projName.isEmpty()?" " + projName : ""); }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_fi.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ class TranslatorFinnish : public TranslatorAdapter_1_6_0
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentaatio"; } // "Documentation"
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentaatio"; } // "Documentation"

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_fr.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ class TranslatorFrench : public TranslatorAdapter_1_9_5
{ return "Liste de tous les modules :"; }

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Documentation"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentation"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_gr.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ class TranslatorGreek : public TranslatorAdapter_1_11_0


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Τεκμηρίωση"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Τεκμηρίωση"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_hi.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ class TranslatorHindi : public TranslatorAdapter_1_9_4
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "दस्तावेज़ीकरण"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "दस्तावेज़ीकरण"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_hr.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2
QCString trModulesDescription() override
{ return "Popis svih modula:"; }

QCString trDocumentation() override
{ return "Dokumentacija"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentacija"; }
QCString trModuleIndex() override
{ return "Kazalo modula"; }
QCString trHierarchicalIndex() override
Expand Down
4 changes: 2 additions & 2 deletions src/translator_hu.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ class TranslatorHungarian : public TranslatorAdapter_1_8_15


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentáció"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentáció"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentasi"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentasi"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_it.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ class TranslatorItalian : public TranslatorAdapter_1_8_15
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Documentazione"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentazione"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_jp.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ class TranslatorJapanese : public TranslatorAdapter_1_8_15
{ return "全モジュールの一覧です。"; }

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "詳解"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "詳解"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_kr.h
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ class TranslatorKorean : public TranslatorAdapter_1_8_15
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "문서화"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "문서화"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_lt.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentacija"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentacija"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_lv.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ class TranslatorLatvian : public TranslatorAdapter_1_8_4
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentācija"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentācija"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_mk.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ class TranslatorMacedonian : public TranslatorAdapter_1_6_0
// index titles (the project name is prepended for these)

/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Документација"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Документација"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down
4 changes: 2 additions & 2 deletions src/translator_nl.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ class TranslatorDutch : public Translator
QCString trModulesDescription() override
{ return "Hieronder volgt de lijst met alle modules:"; }

QCString trDocumentation() override
{ return "Documentatie"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentatie"; }
QCString trModuleIndex() override
{ return "Module Index"; }
QCString trHierarchicalIndex() override
Expand Down
4 changes: 2 additions & 2 deletions src/translator_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6


/*! This is used in HTML as the title of index.html. */
QCString trDocumentation() override
{ return "Dokumentasjon"; }
QCString trDocumentation(const QCString projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentasjon"; }

/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
Expand Down

0 comments on commit cc81338

Please sign in to comment.