Changed AsciiDoc export. Each thing is now a list item.
continuous-integration/drone/push Build is passing Details

The structure makes more sense, looks better in text browsers.
This commit is contained in:
tastytea 2019-05-23 12:06:27 +02:00
parent c37d251394
commit 92f87fb85b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
}
out << "[[dt_" << datetime << "]]\n";
out << ".link:" << entry.uri;
out << "* link:" << entry.uri;
if (!entry.title.empty())
{
out << '[' << entry.title << ']';
@ -64,7 +64,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
{
out << "[]";
}
out << endl;
out << " +" << endl;
out << '_' << time.substr(0, 5) << '_';
if (!entry.archive_uri.empty())
@ -101,12 +101,12 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
out << ", ";
}
}
out << endl << endl;
if (!entry.description.empty())
{
out << entry.description << endl << endl;
out << " +" << endl << entry.description;
}
out << endl << endl;
}
if (!alltags.empty())