1
1
// This test is to ensure that the anchors (`§`) have the expected color and position.
2
- goto: file://|DOC_PATH|/staged_api/struct.Foo.html
2
+ goto: " file://" + |DOC_PATH| + " /staged_api/struct.Foo.html"
3
3
4
4
// This is needed to ensure that the text color is computed.
5
5
show-text: true
@@ -36,7 +36,7 @@ assert-css: (
36
36
{"color": "rgb(56, 115, 173)", "text-decoration": "none solid rgb(56, 115, 173)"},
37
37
)
38
38
39
- goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
39
+ goto: " file://" + |DOC_PATH| + " /test_docs/struct.HeavilyDocumentedStruct.html"
40
40
41
41
assert-css: ("#top-doc-prose-title", {"color": "rgb(0, 0, 0)"})
42
42
@@ -57,7 +57,7 @@ assert-css: ("#title-for-struct-impl-item-doc", {"margin-left": "0px"})
57
57
// We do the same checks with the dark theme now.
58
58
//
59
59
local-storage: {"rustdoc-theme": "dark", "rustdoc-use-system-theme": "false"}
60
- goto: file://|DOC_PATH|/staged_api/struct.Foo.html
60
+ goto: " file://" + |DOC_PATH| + " /staged_api/struct.Foo.html"
61
61
62
62
assert-css: ("#toggle-all-docs", {"color": "rgb(221, 221, 221)"})
63
63
assert-css: (".fqn a:nth-of-type(1)", {"color": "rgb(221, 221, 221)"})
@@ -86,7 +86,7 @@ assert-css: (
86
86
{"color": "rgb(210, 153, 29)", "text-decoration": "none solid rgb(210, 153, 29)"},
87
87
)
88
88
89
- goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
89
+ goto: " file://" + |DOC_PATH| + " /test_docs/struct.HeavilyDocumentedStruct.html"
90
90
91
91
assert-css: ("#top-doc-prose-title", {"color": "rgb(221, 221, 221)"})
92
92
@@ -107,7 +107,7 @@ assert-css: ("#title-for-struct-impl-item-doc", {"margin-left": "0px"})
107
107
// We do the same checks with the ayu theme now.
108
108
//
109
109
local-storage: {"rustdoc-theme": "ayu", "rustdoc-use-system-theme": "false"}
110
- goto: file://|DOC_PATH|/staged_api/struct.Foo.html
110
+ goto: " file://" + |DOC_PATH| + " /staged_api/struct.Foo.html"
111
111
112
112
assert-css: ("#toggle-all-docs", {"color": "rgb(197, 197, 197)"})
113
113
assert-css: (".fqn a:nth-of-type(1)", {"color": "rgb(255, 255, 255)"})
@@ -136,7 +136,7 @@ assert-css: (
136
136
{"color": "rgb(57, 175, 215)", "text-decoration": "none solid rgb(57, 175, 215)"},
137
137
)
138
138
139
- goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
139
+ goto: " file://" + |DOC_PATH| + " /test_docs/struct.HeavilyDocumentedStruct.html"
140
140
141
141
assert-css: ("#top-doc-prose-title", {"color": "rgb(255, 255, 255)"})
142
142
0 commit comments