From 062665ba876fb04af77ede0afe8c0a58bed0516d Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Wed, 17 Sep 2025 15:48:18 +0300 Subject: [PATCH] Adds link to source code of current module --- dpl-docs/views/layout.dt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dpl-docs/views/layout.dt b/dpl-docs/views/layout.dt index ffcd5ca010..907affd628 100644 --- a/dpl-docs/views/layout.dt +++ b/dpl-docs/views/layout.dt @@ -201,6 +201,11 @@ html(lang='en-US') | Bugzilla issue. - if( modname ) + .tip.smallprint + a(href='https://github.com/dlang/#{project}/blob/master/#{path_prefix}#{filename}#{line_suffix}') + | Source + div + | Source code of this page .tip.smallprint a(href='https://github.com/dlang/#{project}/edit/master/#{path_prefix}#{filename}#{line_suffix}') | Improve this page