From e491caeeb7d962edfb85aab66686f534a88b5240 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Mon, 21 Mar 2011 12:49:54 -0500 Subject: [PATCH] Add note to auto-generated reST about not editing it directly --- src/BroDoc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BroDoc.cc b/src/BroDoc.cc index 1e845a49fd..500db684f9 100644 --- a/src/BroDoc.cc +++ b/src/BroDoc.cc @@ -75,6 +75,8 @@ void BroDoc::AddPortAnalysis(const std::string& analyzer, void BroDoc::WriteDocFile() const { + WriteToDoc(".. Automatically generated. Do not edit.\n\n"); + WriteToDoc("%s\n", source_filename.c_str()); for ( size_t i = 0; i < source_filename.length(); ++i ) WriteToDoc("=");