Documented Export::AsciiDoc.

This commit is contained in:
tastytea 2019-07-27 23:34:17 +02:00
parent 901f733599
commit 1508fc0f4d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -40,6 +40,7 @@ namespace Export
using tagmap = std::map<string,vector<Database::entry>>;
using replacemap = const std::map<const string, const string>;
//! Replace strings in text.
const string replace(string text, const replacemap &replacements) const;
//! Replaces characters in tags that asciidoctor doesn't like.
const string replace_in_tag(const string &text) const;
@ -47,8 +48,11 @@ namespace Export
const string replace_in_title(const string &text) const;
//! Replaces characters in URI that asciidoctor doesn't like.
const string replace_in_uri(const string &text) const;
//! Print things sorted by tag.
void print_tags(const tagmap &tags) const;
//! Get ISO-8601 day from Database::entry.
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;
};
}