Skip to content

Commit ed09b30

Browse files
authored
Merge pull request #2153 from wilzbach/foundation
Group D Language Foundation pages
2 parents 542a447 + 9ff029b commit ed09b30

File tree

11 files changed

+80
-10
lines changed

11 files changed

+80
-10
lines changed

contributors.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Macros:
2828
TITLE=Contributors ($(NR_D_CONTRIBUTORS))
2929
GH_REPO=$(LINK2 https://github.com/dlang/$1, $(D $1))
3030
D_CONTRIBUTOR=$(LI $1)
31+
SUBNAV=$(SUBNAV_FOUNDATION)
3132
EXTRA_HEADERS=$(T style,
3233
#all-d-contributors {
3334
-moz-column-gap: 20px;

dlang.org.ddoc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ COMPATIBILITY_BOX_EXPERIMENTAL = $(MESSAGE_BOX orange, $(B Experimental) - $0)
5050
_=
5151

5252
CONSOLE=$(TC pre, console notranslate, $0)
53-
COPYRIGHT_FOUNDATION=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT_DIR)foundation.html, D Language Foundation)
53+
COPYRIGHT_FOUNDATION=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT_DIR)foundation_overview.html, D Language Foundation)
5454
CPPCODE=$(TC pre, cppcode notranslate, $0)
5555
CPPLISTING=$(CPPCODE $0)
5656
CROSS=✘
@@ -66,7 +66,7 @@ DDOC=
6666
<!--
6767
Copyright (c) 1999-$(YEAR) by the D Language Foundation
6868
All Rights Reserved.
69-
https://dlang.org/foundation.html
69+
https://dlang.org/foundation_overview.html
7070
-->
7171
<head>
7272
<meta charset="utf-8">
@@ -267,7 +267,7 @@ $(SUBMENU_MANUAL
267267
$(SUBMENU_LINK $(ROOT_DIR)bugstats.html, Issues)
268268
$(SUBMENU_LINK https://wiki.dlang.org/Get_involved, Get involved)
269269
$(SUBMENU_LINK_DIVIDER $(ROOT_DIR)contributors.html, Contributors)
270-
$(SUBMENU_LINK $(ROOT_DIR)foundation.html, Foundation)
270+
$(SUBMENU_LINK $(ROOT_DIR)foundation_overview.html, Foundation)
271271
$(SUBMENU_LINK $(ROOT_DIR)donate.html, Donate)
272272
$(SUBMENU_LINK $(ROOT_DIR)sponsors.html, Sponsors)
273273
)
@@ -477,6 +477,18 @@ $(SUBNAV_TEMPLATE
477477
$(ROOT_DIR)d-array-article.html, D Slices
478478
))
479479
)
480+
SUBNAV_FOUNDATION=
481+
$(SUBNAV_TEMPLATE
482+
$(SUBNAV_HEAD Foundation, $(ROOT_DIR)foundation_overview.html, overview)
483+
$(UL $(SUBMENU2
484+
$(ROOT_DIR)foundation.html, About the Foundation,
485+
$(ROOT_DIR)donate.html, Donate,
486+
$(ROOT_DIR)dlangupb-scholarship.html, Scholarships,
487+
https://wiki.dlang.org/GSOC_2018_Ideas, GSoC 2018 Ideas,
488+
$(ROOT_DIR)sponsors.html, Sponsors,
489+
$(ROOT_DIR)contributors.html, Contributors,
490+
))
491+
)
480492

481493
SUBNAV_HEAD=
482494
$(DIVC head,

dlangupb-scholarship.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ you. Feel free to direct any related questions to [email protected].)
7575

7676
Macros:
7777
TITLE=The DLang UPB Languages and Systems Research Scholarship
78+
SUBNAV=$(SUBNAV_FOUNDATION)

donate.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Macros:
8181
FA_ICON=<i class="fa fa-$1" aria-hidden="true"></i>
8282
REMOVE_FIRST=$+
8383
DONATE_ITEM=<div class="donate-item"><h4>$(FA_ICON $2) $1</h4><div>$(REMOVE_FIRST $+)</div></div>
84+
SUBNAV=$(SUBNAV_FOUNDATION)
8485
EXTRA_HEADERS=$(T style,
8586
.donate-item {
8687
padding-left: 30px;

dpl-docs/views/layout.dt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ html(lang='en-US')
55
//
66
| Copyright (c) 1999-$#{year} by the D Language Foundation
77
| All Rights Reserved.
8-
| https://dlang.org/foundation.html
8+
| https://dlang.org/foundation_overview.html
99
- import std.process : environment;
1010
- import std.array : replace;
1111
- string version_id = environment["GIT_TARGET"];
@@ -212,7 +212,7 @@ html(lang='en-US')
212212
#quickindex.quickindex
213213

214214
#copyright.smallprint
215-
| Copyright &copy; 1999-#{year} by the <a href="#{root_dir}foundation.html">D Language Foundation</a> | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>.
215+
| Copyright &copy; 1999-#{year} by the <a href="#{root_dir}foundation_overview.html">D Language Foundation</a> | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>.
216216

217217
script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js')
218218
|

ebook.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DDOC=
55
<!--
66
Copyright (c) 1999-$(YEAR) by the D Language Foundation
77
All Rights Reserved.
8-
https://dlang.org/foundation.html
8+
https://dlang.org/foundation_overview.html
99
-->
1010

1111
<head>

foundation.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ $(LINK2 mailto:[email protected], [email protected]) and other corresponde
7575

7676
Macros:
7777
TITLE=The D Language Foundation
78+
SUBNAV=$(SUBNAV_FOUNDATION)
7879
EXTRA_HEADERS=$(T style,
7980
.dlang-address {
8081
padding-left: 30px;

foundation_overview.dd

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Ddoc
2+
3+
$(D_S D Language Foundation,
4+
5+
$(H4 The D Language Foundation is a
6+
$(HTTPS en.wikipedia.org/wiki/501(c)_organization, 501(c)(3) non-profit public charity)
7+
devoted to advancing open source technology related to the D programming language.
8+
)
9+
10+
11+
$(DIVC boxes,
12+
$(DIVC row,
13+
$(DIVC item,
14+
$(H4 $(LINK2 $(ROOT_DIR)foundation.html, About))
15+
$(P Learn more about the history and activities of the D Language Foundation.)
16+
)
17+
$(DIVC item,
18+
$(H4 $(LINK2 $(ROOT_DIR)donate.html, Donate))
19+
$(P Support the D Language Foundation and help to further
20+
the development of the D language.
21+
)
22+
)
23+
)
24+
$(DIVC row,
25+
$(DIVC item,
26+
$(H4 $(LINK2 $(ROOT_DIR)dlangupb-scholarship.html, Scholarships))
27+
$(P The D Language Foundation offers Languages and Systems Research Scholarships
28+
to EE and CS students at University "Politehnica" Bucharest (UPB).
29+
)
30+
)
31+
$(DIVC item,
32+
$(H4 $(LINK2 https://wiki.dlang.org/GSOC_2018_Ideas, GSoC 2018 Ideas))
33+
$(P The D Language Foundation is applying for the Google Summer of Code 2018.)
34+
)
35+
)
36+
$(DIVC row,
37+
$(DIVC item,
38+
$(H4 $(LINK2 $(ROOT_DIR)sponsors.html, Sponsors))
39+
$(P Browse the list of all sponsors donating monetary resources
40+
to the D Language Foundation.)
41+
)
42+
$(DIVC item,
43+
$(H4 $(LINK2 $(ROOT_DIR)contributors.html, Contributors))
44+
$(P Browse the list of all the awesome people who contributed
45+
to D's source code and helped to make D possible.)
46+
)
47+
)
48+
)
49+
)
50+
51+
Macros:
52+
TITLE=Articles
53+
SUBNAV=$(SUBNAV_FOUNDATION)

index.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ $(DIVC boxes,
403403
Browse the $(LINK2 https://wiki.dlang.org/, wiki) where among
404404
other things you can find the
405405
$(LINK2 https://wiki.dlang.org/Vision/2017H2, high-level vision)
406-
of the $(LINK2 $(ROOT_DIR)foundation.html, D Language Foundation).
406+
of the $(LINK2 $(ROOT_DIR)foundation_overview.html, D Language Foundation).
407407
)
408408
)
409409
$(TOUR book, Documentation,
@@ -675,7 +675,7 @@ $(DIVC call_to_donate,
675675
</p>
676676
<p class="center">
677677
<a href="$(ROOT_DIR)donate.html" class="btn call_to_donate_btn">Donate</a>
678-
<a href="$(ROOT_DIR)foundation.html" class="btn subdued">Learn More About The Foundation</a>
678+
<a href="$(ROOT_DIR)foundation_overview.html" class="btn subdued">Learn More About The Foundation</a>
679679
$(BR)
680680
$(BR)
681681
Lots of $(WHY_D_ICON heart) to our $(LINK2 $(ROOT_DIR)sponsors.html, sponsors) and

posix.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ PAGES_ROOT=$(SPEC_ROOT) 404 acknowledgements areas-of-d-usage \
357357
const-faq cppcontracts cpptod ctarguments ctod donate \
358358
D1toD2 d-array-article d-floating-point deprecate dlangupb-scholarship dll-linux dmd \
359359
dmd-freebsd dmd-linux dmd-osx dmd-windows documentation download dstyle \
360-
exception-safe faq forum-template foundation gpg_keys glossary \
360+
exception-safe faq forum-template foundation foundation_overview gpg_keys glossary \
361361
gsoc2011 gsoc2012 gsoc2012-template hijack howto-promote htod index install \
362362
intro-to-datetime lazy-evaluation menu migrate-to-shared mixin \
363363
orgs-using-d overview pretod rationale rdmd regular-expression resources safed \

sponsors.dd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ $(UL
4444
)
4545

4646
Macros:
47-
TITLE=D Language Foundation Sponsors
47+
TITLE=D Language Foundation Sponsors
48+
SUBNAV=$(SUBNAV_FOUNDATION)

0 commit comments

Comments
 (0)