Skip to content

Commit 578b55f

Browse files
authored
Merge pull request dlang#3610 from RazvanN7/Issue_23922
Fix Issue 23922 - Fix dmd/compiler/samples broken links
2 parents 43b8950 + 03c15be commit 578b55f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

book/dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ $1
404404
RUNNABLE_EXAMPLE_STDIN=<code class="runnable-examples-stdin">$0</code>
405405
RUNNABLE_EXAMPLE_ARGS=<code class="runnable-examples-args">$0</code>
406406

407-
SAMPLESRC=$(SPANC sample_src, $(AHTTPS github.com/dlang/dmd/blob/master/samples/$0, /dmd/samples/d/$0))
407+
SAMPLESRC=$(SPANC sample_src, $(AHTTPS github.com/dlang/dmd/blob/master/compiler/samples/$0, /dmd/compiler/samples/$0))
408408
SCINI=$(TC pre, scini notranslate, $0)
409409
SCRIPTLOAD=<script type="text/javascript" src="$1"$+></script>
410410
SEARCHDEFAULT_PHOBOS=

dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ _=These go inside a RUNNABLE_EXAMPLE macro invocation before the first `---`
410410
RUNNABLE_EXAMPLE_STDIN=<code class="runnable-examples-stdin">$0</code>
411411
RUNNABLE_EXAMPLE_ARGS=<code class="runnable-examples-args">$0</code>
412412

413-
SAMPLESRC=$(SPANC sample_src, $(AHTTPS github.com/dlang/dmd/blob/master/samples/$0, /dmd/samples/d/$0))
413+
SAMPLESRC=$(SPANC sample_src, $(AHTTPS github.com/dlang/dmd/blob/master/compiler/samples/$0, /dmd/compiler/samples/$0))
414414
SCINI=$(TC pre, scini notranslate, $0)
415415
SCRIPTLOAD=<script type="text/javascript" src="$1"$+></script>
416416
SEARCHDEFAULT_PHOBOS=

std_consolidated.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ BUGZILLA = $(LINK2 https://issues.dlang.org/show_bug.cgi?id=$0, Bugzilla $0)
6060
PRE = <pre>$0</pre>
6161
PHOBOSSRC=$(LINK2 https://github.com/dlang/phobos/blob/master/$0, $0)
6262
DRUNTIMESRC=$(LINK2 https://github.com/dlang/druntime/blob/master/src/$0, $0)
63-
SAMPLESRC=$(LINK2 https://github.com/dlang/dmd/blob/master/samples/$0, /dmd/samples/d/$0)
63+
SAMPLESRC=$(LINK2 https://github.com/dlang/dmd/blob/master/compiler/samples/$0, /dmd/compiler/samples/$0)
6464
_=
6565

6666
BOOKTABLE = <center><table cellspacing="0" cellpadding="5" class="book"><caption>$1</caption>$2</table></center>

0 commit comments

Comments
 (0)