mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Fixing doc tests in the btest suite.
- reduce number of docs generated by `make doc`; will add as they're reviewed - Conforming to new Notice::Type enum for notices
This commit is contained in:
parent
7399b79dd2
commit
68784634ff
4 changed files with 8 additions and 23 deletions
|
@ -1059,7 +1059,8 @@ decl:
|
|||
BroDocObj* o = new BroDocObj(fake_id, reST_doc_comments, true);
|
||||
o->SetRole(true);
|
||||
|
||||
if ( streq(fake_id->Name(), "Notice" ) )
|
||||
if ( extract_module_name(fake_id->Name()) == "Notice" &&
|
||||
extract_var_name(fake_id->Name()) == "Type" )
|
||||
current_reST_doc->AddNotice(o);
|
||||
else
|
||||
current_reST_doc->AddRedef(o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue