mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Tabifying BroDoc* sources to make consistent with general style.
This commit is contained in:
parent
dbf2b9996e
commit
9e13d15f29
4 changed files with 399 additions and 399 deletions
|
@ -89,8 +89,8 @@ void BroDoc::WriteDocFile() const
|
||||||
WriteStringList("`%s`, ", "`%s`\n", modules);
|
WriteStringList("`%s`, ", "`%s`\n", modules);
|
||||||
|
|
||||||
WriteToDoc(":Imports:\n");
|
WriteToDoc(":Imports:\n");
|
||||||
WriteStringList(" :bro:script: `%s`\n",
|
WriteStringList("\t:bro:script: `%s`\n",
|
||||||
" :bro:script: `%s`\n\n", imports);
|
"\t:bro:script: `%s`\n\n", imports);
|
||||||
|
|
||||||
WriteSectionHeading("Notices", '-');
|
WriteSectionHeading("Notices", '-');
|
||||||
if ( notices )
|
if ( notices )
|
||||||
|
|
|
@ -198,7 +198,7 @@ protected:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see WriteStringList(const char*, const char*,
|
* @see WriteStringList(const char*, const char*,
|
||||||
const std::list<std::string>&>)
|
* const std::list<std::string>&>)
|
||||||
*/
|
*/
|
||||||
void WriteStringList(const char* format,
|
void WriteStringList(const char* format,
|
||||||
const std::list<std::string>& l) const
|
const std::list<std::string>& l) const
|
||||||
|
@ -230,7 +230,7 @@ protected:
|
||||||
* Writes out a reST section heading
|
* Writes out a reST section heading
|
||||||
* @param heading The title of the heading to create
|
* @param heading The title of the heading to create
|
||||||
* @param underline The character to use to underline the section title
|
* @param underline The character to use to underline the section title
|
||||||
within the reST document
|
* within the reST document
|
||||||
*/
|
*/
|
||||||
void WriteSectionHeading(const char* heading, char underline) const;
|
void WriteSectionHeading(const char* heading, char underline) const;
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -13,8 +13,8 @@ public:
|
||||||
* BroDocObj constructor
|
* BroDocObj constructor
|
||||||
* @param id a pointer to an identifier that is to be documented
|
* @param id a pointer to an identifier that is to be documented
|
||||||
* @param reST a reference to a pointer of a list of strings that
|
* @param reST a reference to a pointer of a list of strings that
|
||||||
represent the reST documentation for the ID. The pointer
|
* represent the reST documentation for the ID. The pointer
|
||||||
will be set to 0 after this constructor finishes.
|
* will be set to 0 after this constructor finishes.
|
||||||
* @param is_fake whether the ID* is a dummy just for doc purposes
|
* @param is_fake whether the ID* is a dummy just for doc purposes
|
||||||
*/
|
*/
|
||||||
BroDocObj(const ID* id, std::list<std::string>*& reST,
|
BroDocObj(const ID* id, std::list<std::string>*& reST,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue