aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/metadoc.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta/metadoc.d')
-rw-r--r--src/doc_reform/meta/metadoc.d23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d
index 20dc7ec..c597963 100644
--- a/src/doc_reform/meta/metadoc.d
+++ b/src/doc_reform/meta/metadoc.d
@@ -116,25 +116,34 @@ template DocReformAbstraction() {
struct DocumentMatters {
auto generator_program() {
struct Prog_ {
- auto name() {
+ string project_name() {
+ return program_info.project;
+ }
+ string name() {
return program_info.name;
}
- auto ver() {
+ string ver() {
return program_info.ver;
}
- auto name_and_version() {
+ string name_and_version() {
return format(
"%s-%s",
- program_info.name,
- program_info.ver,
+ name,
+ ver,
);
}
- auto url_home() {
+ string url_home() {
return "http://sisudoc.org";
}
- auto url_git() {
+ string url_git() {
return "https://git.sisudoc.org/software/sisu";
}
+ auto compiler() {
+ return program_info.compiler;
+ }
+ auto stime() {
+ return Clock.currTime(UTC()).toSimpleString();
+ }
}
return Prog_();
}