Documented Export::AsciiDoc.
This commit is contained in:
parent
901f733599
commit
1508fc0f4d
|
@ -40,6 +40,7 @@ namespace Export
|
||||||
using tagmap = std::map<string,vector<Database::entry>>;
|
using tagmap = std::map<string,vector<Database::entry>>;
|
||||||
using replacemap = const std::map<const string, const string>;
|
using replacemap = const std::map<const string, const string>;
|
||||||
|
|
||||||
|
//! Replace strings in text.
|
||||||
const string replace(string text, const replacemap &replacements) const;
|
const string replace(string text, const replacemap &replacements) const;
|
||||||
//! Replaces characters in tags that asciidoctor doesn't like.
|
//! Replaces characters in tags that asciidoctor doesn't like.
|
||||||
const string replace_in_tag(const string &text) const;
|
const string replace_in_tag(const string &text) const;
|
||||||
|
@ -47,8 +48,11 @@ namespace Export
|
||||||
const string replace_in_title(const string &text) const;
|
const string replace_in_title(const string &text) const;
|
||||||
//! Replaces characters in URI that asciidoctor doesn't like.
|
//! Replaces characters in URI that asciidoctor doesn't like.
|
||||||
const string replace_in_uri(const string &text) const;
|
const string replace_in_uri(const string &text) const;
|
||||||
|
//! Print things sorted by tag.
|
||||||
void print_tags(const tagmap &tags) const;
|
void print_tags(const tagmap &tags) const;
|
||||||
|
//! Get ISO-8601 day from Database::entry.
|
||||||
const string get_day(const Database::entry &entry) const;
|
const string get_day(const Database::entry &entry) const;
|
||||||
|
//! Get ISO-8601 time from Database::entry.
|
||||||
const string get_time(const Database::entry &entry) const;
|
const string get_time(const Database::entry &entry) const;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue