Updated code for Doxygen documentation

This commit is contained in:
Bartek Kryza
2023-06-23 19:39:25 +02:00
parent d8ef12d1c6
commit 321fb177a9
148 changed files with 579 additions and 204 deletions

View File

@@ -40,4 +40,11 @@ bool package::is_deprecated() const { return is_deprecated_; }
void package::set_deprecated(bool deprecated) { is_deprecated_ = deprecated; }
std::optional<std::string> package::doxygen_link() const
{
auto name = full_name(false);
util::replace_all(name, "_", "__");
util::replace_all(name, "::", "_1_1");
return fmt::format("namespace{}.html", name);
}
} // namespace clanguml::common::model