Changed AsciiDoc export. Each thing is now a list item.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
The structure makes more sense, looks better in text browsers.
This commit is contained in:
parent
c37d251394
commit
92f87fb85b
|
@ -55,7 +55,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
}
|
}
|
||||||
|
|
||||||
out << "[[dt_" << datetime << "]]\n";
|
out << "[[dt_" << datetime << "]]\n";
|
||||||
out << ".link:" << entry.uri;
|
out << "* link:" << entry.uri;
|
||||||
if (!entry.title.empty())
|
if (!entry.title.empty())
|
||||||
{
|
{
|
||||||
out << '[' << entry.title << ']';
|
out << '[' << entry.title << ']';
|
||||||
|
@ -64,7 +64,7 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
{
|
{
|
||||||
out << "[]";
|
out << "[]";
|
||||||
}
|
}
|
||||||
out << endl;
|
out << " +" << endl;
|
||||||
|
|
||||||
out << '_' << time.substr(0, 5) << '_';
|
out << '_' << time.substr(0, 5) << '_';
|
||||||
if (!entry.archive_uri.empty())
|
if (!entry.archive_uri.empty())
|
||||||
|
@ -101,12 +101,12 @@ void export_adoc(const vector<Database::entry> &entries, ostream &out)
|
||||||
out << ", ";
|
out << ", ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out << endl << endl;
|
|
||||||
|
|
||||||
if (!entry.description.empty())
|
if (!entry.description.empty())
|
||||||
{
|
{
|
||||||
out << entry.description << endl << endl;
|
out << " +" << endl << entry.description;
|
||||||
}
|
}
|
||||||
|
out << endl << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!alltags.empty())
|
if (!alltags.empty())
|
||||||
|
|
Loading…
Reference in New Issue