Skip to content
Merged
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
6 changes: 4 additions & 2 deletions dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ DDOCKEYVAL2=$(DIVC keyval $1, $(SPANC key key$1, $2:) $(DIVC val val$1, $(TAIL $
DDSUBLINK=$(LINK2 $(ROOT_DIR)$1.html#$2, $3)
_=

DMDSRC=$(HTTPS github.com/D-Programming-Language/dmd/blob/master/src/$0, $0)
DMDSRC=$(HTTPS github.com/dlang/dmd/blob/master/src/dmd/$0, $0)
DOT_PREFIXED=.$1$(DOT_PREFIXED $+)
DOT_PREFIXED_SKIP=$(DOT_PREFIXED $+)
DRUNTIMESRC=$(HTTPS github.com/dlang/druntime/blob/master/src/$0, $0)
Expand Down Expand Up @@ -282,7 +282,7 @@ $(DIVID tools, $(DIV,
)
)
$(DIVC tip smallprint,
<a href="https://github.com/dlang/$(PROJECT)/edit/master/$(SRCFILENAME)">Improve this page</a>
<a href="https://github.com/dlang/$(PROJECT)/edit/master/$(PROJECT_SOURCE_DIR)$(SRCFILENAME)">Improve this page</a>
$(DIV,
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
Expand Down Expand Up @@ -486,4 +486,6 @@ _=

YELLOW=$(SPANC yellow, $0)
YES=$(CHECKMARK)

PROJECT_SOURCE_DIR=
_=
2 changes: 2 additions & 0 deletions dpl-docs/views/layout.dt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ html(lang='en-US')
- if( modname )
- if( modname.startsWith("core.") )
- project = "druntime", path_prefix = "src/";
- else if( modname.startsWith("dmd.") || modname.startsWith("ddmd.") )
- project = "dmd", path_prefix = "src/";
- else
- project = "phobos", path_prefix = "";
- if (info.docGroups.length >= 1 && !noExactSourceCodeLinks)
Expand Down