From c975b2d99bf2e833379d998cb1002e7780ff7adc Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 23 Dec 2021 15:16:31 +0200 Subject: [PATCH] Fixed docstrings for modules --- source/dlog/core.d | 3 +-- source/dlog/defaults.d | 3 +-- source/dlog/package.d | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/source/dlog/core.d b/source/dlog/core.d index 86b3e67..04865d9 100644 --- a/source/dlog/core.d +++ b/source/dlog/core.d @@ -1,10 +1,9 @@ -module dlog.core; - /** * Core module containing types pertaining to the base Logger * class and base MessageTransform class (along with a default * transform, DefaultTransform) */ +module dlog.core; import std.conv : to; import dlog.defaults; diff --git a/source/dlog/defaults.d b/source/dlog/defaults.d index ef42ac3..c096113 100644 --- a/source/dlog/defaults.d +++ b/source/dlog/defaults.d @@ -1,8 +1,7 @@ -module dlog.defaults; - /** * Includes defaults such as the DefaultLogger */ +module dlog.defaults; import dlog.core : Logger; diff --git a/source/dlog/package.d b/source/dlog/package.d index 242d27b..f91db70 100644 --- a/source/dlog/package.d +++ b/source/dlog/package.d @@ -1,3 +1,8 @@ +/** +* Package definition module +* +* Import this to use dlog +*/ module dlog; public import dlog.core;