Band-aid to get Broxygen's bif documentation back.

We'll need a different approach here eventually.
This commit is contained in:
Robin Sommer 2013-05-16 16:57:49 -07:00
parent 8752870967
commit 11fd12b18e
7 changed files with 72 additions and 65 deletions

View file

@ -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";