Updated clang-uml documentation diagrams config

This commit is contained in:
Bartek Kryza
2022-03-31 20:27:47 +02:00
parent dba17ab622
commit 263e89df2c
7 changed files with 17 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ clanguml_diagrams: debug
mkdir -p docs/diagrams mkdir -p docs/diagrams
debug/clang-uml debug/clang-uml
plantuml -tsvg docs/diagrams/*.puml plantuml -tsvg docs/diagrams/*.puml
python3 util/format_svg.py docs/diagrams/*.svg
.PHONY: submodules .PHONY: submodules
submodules: submodules:

View File

@@ -236,7 +236,7 @@ std::string ns(const cppast::cpp_type &t, const cppast::cpp_entity_index &idx)
static_cast<const cppast::cpp_template_instantiation_type &>(t) static_cast<const cppast::cpp_template_instantiation_type &>(t)
.primary_template(); .primary_template();
if (!primary_template.is_overloaded()) { if (!primary_template.is_overloaded()) {
LOG_WARN( LOG_DBG(
"Cannot establish namespace for ", cppast::to_string(t)); "Cannot establish namespace for ", cppast::to_string(t));
return ""; return "";
} }

View File

@@ -11,6 +11,9 @@ include:
namespaces: namespaces:
- clanguml::common::model - clanguml::common::model
- clanguml::class_diagram::model - clanguml::class_diagram::model
exclude:
relationships:
- dependency
using_namespace: using_namespace:
- clanguml - clanguml
plantuml: plantuml:

View File

@@ -6,6 +6,9 @@ glob:
include: include:
namespaces: namespaces:
- clanguml::common::model - clanguml::common::model
exclude:
relationships:
- dependency
using_namespace: using_namespace:
- clanguml::common::model - clanguml::common::model
plantuml: plantuml:

View File

@@ -16,6 +16,9 @@ include:
- clanguml::class_diagram::model - clanguml::class_diagram::model
- clanguml::sequence_diagram::model - clanguml::sequence_diagram::model
- clanguml::package_diagram::model - clanguml::package_diagram::model
exclude:
relationships:
- dependency
using_namespace: using_namespace:
- clanguml - clanguml
plantuml: plantuml:

View File

@@ -12,6 +12,9 @@ include:
- clanguml::package_diagram::model - clanguml::package_diagram::model
using_namespace: using_namespace:
- clanguml::package_diagram::model - clanguml::package_diagram::model
exclude:
relationships:
- dependency
plantuml: plantuml:
before: before:
- 'title clang-uml package diagram model' - 'title clang-uml package diagram model'

View File

@@ -10,6 +10,9 @@ include:
namespaces: namespaces:
- clanguml::common::model - clanguml::common::model
- clanguml::sequence_diagram::model - clanguml::sequence_diagram::model
exclude:
relationships:
- dependency
using_namespace: using_namespace:
- clanguml::sequence_diagram::model - clanguml::sequence_diagram::model
plantuml: plantuml: