mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Band-aid to get Broxygen's bif documentation back.
We'll need a different approach here eventually.
This commit is contained in:
parent
8752870967
commit
11fd12b18e
7 changed files with 72 additions and 65 deletions
|
@ -35,12 +35,14 @@ BroDoc::BroDoc(const std::string& rel, const std::string& abs)
|
|||
|
||||
downloadable_filename = source_filename;
|
||||
|
||||
#if 0
|
||||
size_t ext_pos = downloadable_filename.find(".bif.bro");
|
||||
if ( std::string::npos != ext_pos )
|
||||
downloadable_filename.erase(ext_pos + 4);
|
||||
#endif
|
||||
|
||||
reST_filename = doc_title;
|
||||
ext_pos = reST_filename.find(".bro");
|
||||
size_t ext_pos = reST_filename.find(".bro");
|
||||
|
||||
if ( std::string::npos == ext_pos )
|
||||
reST_filename += ".rst";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue