Skip to content

Commit 7d7c6b4

Browse files
committed
spec: Fix hard-coded image paths
This will probably have no effect in practice, assuming the target ("web") directory remains at its default location, as the images would still be available at their old ../images/ location (i.e. dereferencing the source, not the built website).
1 parent 473b249 commit 7d7c6b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/contracts.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $(HEADERNAV_TOC)
2020
$(LI handling of contract inheritance)
2121
)
2222

23-
$(HTMLTAG3V img, src="../images/d4.gif" style="max-width:100%" alt="Contracts make D bug resistant" border="0")
23+
$(HTMLTAG3V img, src="$(ROOT_DIR)images/d4.gif" style="max-width:100%" alt="Contracts make D bug resistant" border="0")
2424

2525
$(P The idea of a contract is simple - it's just an expression that must evaluate to true.
2626
If it does not, the contract is broken, and by definition, the program has a bug in it.

spec/iasm.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $(HEADERNAV_TOC)
66

77
$(HTMLTAG3 a,
88
href="http://digitalmars.com/gift/index.html" title="Gift Shop" target="_top",
9-
$(HTMLTAG3V img, src="../images/d5.gif" border="0" align="right" alt="Some Assembly Required" width="284" height="186")
9+
$(HTMLTAG3V img, src="$(ROOT_DIR)images/d5.gif" border="0" align="right" alt="Some Assembly Required" width="284" height="186")
1010
)
1111

1212
$(P D, being a systems programming language, provides an inline

0 commit comments

Comments
 (0)