Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions dpl-docs/dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"fileVersion": 1,
"versions": {
"ddox": "0.15.18",
"botan": "1.12.9",
"botan-math": "1.0.3",
"ddox": "0.16.0",
"diet-ng": "1.1.0",
"eventcore": "0.8.20",
"experimental_allocator": "2.70.0-b1",
"hyphenate": "1.1.1",
"libasync": "0.8.3",
"libdparse": "0.7.0",
"libev": "5.0.0+4.04",
"libevent": "2.0.2+2.0.16",
"memutils": "0.4.9",
"vibe-d": "0.7.31"
"openssl": "1.1.5+1.0.1g",
"taggedalgebraic": "0.10.7",
"vibe-core": "1.2.0",
"vibe-d": "0.7.32"
}
}
6 changes: 0 additions & 6 deletions dpl-docs/views/ddox.inc.module-tree.dt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
- import ddox.entities;

- Module getPackageModule(Package pack)
- import std.algorithm : find;
- if (auto pp = cast(Package)pack.parent)
- return pp.lookup!Module(pack.name);
- return null;

- void moduleNavTree(Package pack, Module pack_mod)
- string pack_class = "expand-container";
- foreach(i, p; pack.packages)
Expand Down
1 change: 1 addition & 0 deletions dpl-docs/views/ddox.layout.dt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ block title
block ddox.title

block navigation
include ddox.inc.utils
include ddox.inc.module-tree

block body
Expand Down
5 changes: 3 additions & 2 deletions dpl-docs/views/ddox.overview.dt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ block ddox.title

block ddox.members

- import std.conv : to;
- void moduleInfoRec(Package pack)
- foreach( p; pack.packages )
- moduleInfoRec(p);
Expand All @@ -16,7 +17,7 @@ block ddox.members
tr
td
a(href="#{info.linkTo(m)}")
code!= m.qualifiedName.replace(".", "<wbr/>.")
code!= m.qualifiedName.to!string.replace(".", "<wbr/>.")
td
- if( m.docGroup )
|!= info.formatDoc(m.docGroup, 0, sec => sec == "$Short")
Expand All @@ -27,7 +28,7 @@ block ddox.members
- foreach( m; pack.modules )
- if (m.qualifiedName.startsWith(prefix))
a(href="#{info.linkTo(m)}")
code!= m.qualifiedName.replace(".", "<wbr/>.")
code!= m.qualifiedName.to!string.replace(".", "<wbr/>.")

table
col.caption
Expand Down
3 changes: 2 additions & 1 deletion dpl-docs/views/inc.disqus.dt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
div#disqus_thread
- import std.conv : to;
script(language="javascript").
var disqus_shortname = 'vibe-d'; // required: replace example with your forum shortname
var disqus_developer = 1;
var disqus_identifier = #{"\\\"phobos-" ~ info.node.qualifiedName ~ "\\\""};
var disqus_identifier = #{"\\\"phobos-" ~ info.node.qualifiedName.to!string ~ "\\\""};


/* * * DON'T EDIT BELOW THIS LINE * * */
Expand Down
3 changes: 2 additions & 1 deletion dpl-docs/views/layout.dt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
!!! 5
html(lang='en-US')
- import std.datetime : Clock;
- import std.array : replace;
- auto year = Clock.currTime.year;
//
| Copyright (c) 1999-$#{year} by the D Language Foundation
Expand Down Expand Up @@ -51,7 +52,7 @@ html(lang='en-US')
span Documentation
ul
li
a(href="#{root_dir}spec/spec.html")Language Reference
a(href="#{root_dir}spec/spec.html") Language Reference
li
a(href="#{root_dir}phobos/index.html") Library Reference
li
Expand Down