File tree Expand file tree Collapse file tree 8 files changed +22
-18
lines changed
Expand file tree Collapse file tree 8 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ Make sure you have these prerequisites working:
1111* The C++ compiler for your platform (invokable as ` gcc ` )
1212* Optional: ` latex ` for building the pdf documentation
1313* Optional: ` kindlegen ` for building the Kindle documentation
14- * If you're running OSX, make sure you have some version of ` libevent ` installed
1514
1615## Getting the code
1716
Original file line number Diff line number Diff line change 11{
22 "name" : " dpl-docs" ,
33 "dependencies" : {
4- "ddox" : " ~>0.15 .0"
4+ "ddox" : " ~>0.16 .0"
55 },
6- "versions" : [" VibeCustomMain" , " VibeNoSSL" ]
6+ "versions" : [" VibeNoSSL" ],
7+ "subConfigurations" : { "eventcore" : " libasync" }
78}
Original file line number Diff line number Diff line change 11{
22 "fileVersion" : 1 ,
33 "versions" : {
4- "ddox" : " 0.15.18" ,
5- "experimental_allocator" : " 2.70.0-b1" ,
4+ "botan" : " 1.12.9" ,
5+ "botan-math" : " 1.0.3" ,
6+ "ddox" : " 0.16.4" ,
7+ "diet-ng" : " 1.4.3" ,
8+ "eventcore" : " 0.8.17" ,
69 "hyphenate" : " 1.1.1" ,
710 "libasync" : " 0.8.3" ,
8- "libdparse" : " 0.7.0" ,
9- "libev" : " 5.0.0+4.04" ,
11+ "libdparse" : " 0.7.1" ,
1012 "libevent" : " 2.0.2+2.0.16" ,
1113 "memutils" : " 0.4.9" ,
12- "vibe-d" : " 0.7.31"
14+ "openssl" : " 1.1.5+1.0.1g" ,
15+ "taggedalgebraic" : " 0.10.7" ,
16+ "vibe-core" : " 1.2.0" ,
17+ "vibe-d" : " 0.8.1"
1318 }
1419}
Original file line number Diff line number Diff line change 11- import ddox.entities;
22
3- - Module getPackageModule(Package pack)
4- - import std.algorithm : find;
5- - if (auto pp = cast(Package)pack.parent)
6- - return pp.lookup!Module(pack.name);
7- - return null;
8-
93- void moduleNavTree(Package pack, Module pack_mod)
104 - string pack_class = "expand-container";
115 - foreach(i, p; pack.packages)
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ block title
55 block ddox.title
66
77block navigation
8+ include ddox.inc.utils
89 include ddox.inc.module-tree
910
1011block body
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ block ddox.title
77 - title = "API documentation";
88
99block ddox.members
10+ - import std.conv : to;
1011
1112 - void moduleInfoRec(Package pack)
1213 - foreach( p; pack.packages )
@@ -16,7 +17,7 @@ block ddox.members
1617 tr
1718 td
1819 a(href="#{info.linkTo(m)}")
19- code!= m.qualifiedName.replace(".", "<wbr/>.")
20+ code!= m.qualifiedName.to!string. replace(".", "<wbr/>.")
2021 td
2122 - if( m.docGroup )
2223 |!= info.formatDoc(m.docGroup, 0, sec => sec == "$Short")
@@ -27,7 +28,7 @@ block ddox.members
2728 - foreach( m; pack.modules )
2829 - if (m.qualifiedName.startsWith(prefix))
2930 a(href="#{info.linkTo(m)}")
30- code!= m.qualifiedName.replace(".", "<wbr/>.")
31+ code!= m.qualifiedName.to!string. replace(".", "<wbr/>.")
3132
3233 table
3334 col.caption
Original file line number Diff line number Diff line change 1+ - import std.conv : text;
12div#disqus_thread
23script(language="javascript").
34 var disqus_shortname = 'vibe-d'; // required: replace example with your forum shortname
45 var disqus_developer = 1;
5- var disqus_identifier = #{"\\\" phobos-" ~ info.node.qualifiedName ~ "\\\"" };
6+ var disqus_identifier = #{text(`" phobos-`, info.node.qualifiedName.text, `"`) };
67
78
89 /* * * DON'T EDIT BELOW THIS LINE * * */
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ html(lang='en-US')
77 | All Rights Reserved.
88 | https://dlang.org/foundation.html
99 - import std.process : environment;
10+ - import std.array : replace;
1011 - string version_id = environment["GIT_TARGET"];
1112 - bool noExactSourceCodeLinks = environment["NO_EXACT_SOURCE_CODE_LINKS"] == "1";
1213 - bool haveVersion = version_id.startsWith("v");
@@ -51,7 +52,7 @@ html(lang='en-US')
5152 span Documentation
5253 ul
5354 li
54- a(href="#{root_dir}spec/spec.html")Language Reference
55+ a(href="#{root_dir}spec/spec.html") Language Reference
5556 li
5657 a(href="#{root_dir}phobos/index.html") Library Reference
5758 li
@@ -159,6 +160,7 @@ html(lang='en-US')
159160 #content.hyphenate
160161 #tools
161162 div
163+ - import ddox.entities : Declaration;
162164 - auto modname = info.node.moduleName;
163165 - string project = "dlang.org";
164166 - string path_prefix, line_suffix, filename;
You can’t perform that action at this time.
0 commit comments