-
-
Notifications
You must be signed in to change notification settings - Fork 388
Upgrade ddox #1891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade ddox #1891
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| { | ||
| "name": "dpl-docs", | ||
| "dependencies": { | ||
| "ddox": "~>0.15.0" | ||
| "ddox": "~>0.16.7" | ||
| }, | ||
| "versions": ["VibeCustomMain", "VibeNoSSL"] | ||
| "versions": ["VibeNoSSL"], | ||
| "subConfigurations": { "eventcore": "libasync"} | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,19 @@ | ||
| { | ||
| "fileVersion": 1, | ||
| "versions": { | ||
| "ddox": "0.15.18", | ||
| "experimental_allocator": "2.70.0-b1", | ||
| "botan": "1.12.9", | ||
| "botan-math": "1.0.3", | ||
| "ddox": "0.16.7", | ||
| "diet-ng": "1.4.3", | ||
| "eventcore": "0.8.17", | ||
| "hyphenate": "1.1.1", | ||
| "libasync": "0.8.3", | ||
| "libdparse": "0.7.0", | ||
| "libev": "5.0.0+4.04", | ||
| "libdparse": "0.7.1", | ||
| "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.8.1" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ block title | |
| block ddox.title | ||
|
|
||
| block navigation | ||
| include ddox.inc.utils | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| include ddox.inc.module-tree | ||
|
|
||
| block body | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| - import std.conv : text; | ||
| div#disqus_thread | ||
| 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 = #{text(`"phobos-`, info.node.qualifiedName.text, `"`)}; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
|
|
||
| /* * * DON'T EDIT BELOW THIS LINE * * */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ html(lang='en-US') | |
| | All Rights Reserved. | ||
| | https://dlang.org/foundation.html | ||
| - import std.process : environment; | ||
| - import std.array : replace; | ||
| - string version_id = environment["GIT_TARGET"]; | ||
| - bool noExactSourceCodeLinks = environment["NO_EXACT_SOURCE_CODE_LINKS"] == "1"; | ||
| - bool haveVersion = version_id.startsWith("v"); | ||
|
|
@@ -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 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Newer Diet versions enforce a whitespace before the text. |
||
| li | ||
| a(href="#{root_dir}phobos/index.html") Library Reference | ||
| li | ||
|
|
@@ -159,6 +160,7 @@ html(lang='en-US') | |
| #content.hyphenate | ||
| #tools | ||
| div | ||
| - import ddox.entities : Declaration; | ||
| - auto modname = info.node.moduleName; | ||
| - string project = "dlang.org"; | ||
| - string path_prefix, line_suffix, filename; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it's defined in
ddox.inc.utils.dtwhich is now in this scope too.