Skip to content

Commit 77e3080

Browse files
authored
impl(docfx): skip absl:: symbols (#11611)
1 parent ded74d8 commit 77e3080

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docfx/public_docs.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ bool IncludeInPublicDocuments(Config const& cfg, pugi::xml_node node) {
3131
if (kind(node) == "private-attrib" || kind(node) == "private-func") {
3232
return false;
3333
}
34-
// We do not generate documents for types in the C++ `std::` namespace:
34+
// We do not generate documents for types in the C++ `std::` namespace or the
35+
// `absl::` namespace.
3536
auto const id = std::string_view{node.attribute("id").as_string()};
36-
for (std::string_view prefix : {"namespacestd", "classstd", "structstd"}) {
37+
for (std::string_view prefix : {"namespacestd", "classstd", "structstd",
38+
"namespaceabsl", "classabsl", "structabsl"}) {
3739
if (id.substr(0, prefix.size()) == prefix) return false;
3840
}
3941
// Doxygen generates a page listing all deprecated symbols. It does not seem

0 commit comments

Comments
 (0)