From 27ab175448d15ce3bc1d17106e153df81314168b Mon Sep 17 00:00:00 2001 From: ryuukk <44361234+ryuukk@users.noreply.github.com> Date: Wed, 7 Dec 2022 22:46:40 +0100 Subject: [PATCH 1/2] Create maintenance.dd --- maintenance.dd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 maintenance.dd diff --git a/maintenance.dd b/maintenance.dd new file mode 100644 index 0000000000..33482d1064 --- /dev/null +++ b/maintenance.dd @@ -0,0 +1,17 @@ +Ddoc + +$(DIV class="center-children", +$(D_S $(TITLE), + +$(HTMLTAG3 img, src="$(STATIC images/dman-scared.jpg)") + +$(P +Please check back later. +))) + +Macros: + TITLE=The website is under maintenance! + EXTRA_HEADERS=$(T style, + .center-children, h1 { text-align: center; } + img { max-width: 100%; } + ) From ec9cec82b77d68757ea8ebdde01222b805b6de5a Mon Sep 17 00:00:00 2001 From: ryuukk <44361234+ryuukk@users.noreply.github.com> Date: Wed, 7 Dec 2022 22:57:29 +0100 Subject: [PATCH 2/2] Update posix.mak --- posix.mak | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/posix.mak b/posix.mak index 1eede5ba19..4454200643 100644 --- a/posix.mak +++ b/posix.mak @@ -343,7 +343,7 @@ ARTICLE_FILES=$(addprefix articles/, index builtin code_coverage const-faq \ # Website root filenames. They have extension .dd in the source # and .html in the generated HTML. Save for the expansion of # $(SPEC_ROOT), the list is sorted alphabetically. -PAGES_ROOT=$(SPEC_ROOT) 404 acknowledgements areas-of-d-usage $(ARTICLE_FILES) \ +PAGES_ROOT=$(SPEC_ROOT) maintenance 404 acknowledgements areas-of-d-usage $(ARTICLE_FILES) \ ascii-table bugstats $(CHANGELOG_FILES) community comparison concepts \ deprecate dmd dmd-freebsd dmd-linux dmd-osx dmd-windows \ documentation download dstyle forum-template gpg_keys glossary \ @@ -471,6 +471,9 @@ $W/spec/%.html : spec/%.dd $(SPEC_DDOC) $(DMD) $(DDOC_BIN) $W/404.html : 404.dd $(DDOC) $(DMD) $(DMD) -conf= $(DDOCFLAGS) -Df$@ $(DDOC) errorpage.ddoc $< +$W/maintenance.html : maintenance.dd $(DDOC) $(DMD) + $(DMD) -conf= $(DDOCFLAGS) -Df$@ $(DDOC) $< + $(DOC_OUTPUT_DIR)/foundation/contributors.html: foundation/contributors.dd \ $G/contributors_list.ddoc foundation/foundation.ddoc $(DDOC) $(DMD) $(DMD) -conf= $(DDOCFLAGS) -Df$@ $(DDOC) $(word 2, $^) $(word 3, $^) $<