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
debug/clang-uml
plantuml -tsvg docs/diagrams/*.puml
python3 util/format_svg.py docs/diagrams/*.svg
.PHONY: 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)
.primary_template();
if (!primary_template.is_overloaded()) {
LOG_WARN(
LOG_DBG(
"Cannot establish namespace for ", cppast::to_string(t));
return "";
}

View File

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

View File

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

View File

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

View File

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

View File

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