@@ -7,30 +7,40 @@ ALL_SHARED = $(TMPDIR)/all-shared
7
7
all : invocation-only toolchain-only all-shared
8
8
9
9
invocation-only :
10
- $(RUSTDOC ) -Z unstable-options --emit=invocation-specific --output $(INVOCATION_ONLY ) --resource-suffix=-xxx --theme y.css x.rs
10
+ $(RUSTDOC ) -Z unstable-options --emit=invocation-specific --output $(INVOCATION_ONLY ) --resource-suffix=-xxx --theme y.css --extend-css z.css x.rs
11
11
[ -e $( INVOCATION_ONLY) /search-index-xxx.js ]
12
12
[ -e $( INVOCATION_ONLY) /settings.html ]
13
13
[ -e $( INVOCATION_ONLY) /x/all.html ]
14
14
[ -e $( INVOCATION_ONLY) /x/index.html ]
15
- # FIXME: this probably shouldn't have a suffix
16
- [ -e $( INVOCATION_ONLY) /y-xxx.css ]
15
+ [ -e $( INVOCATION_ONLY) /theme-xxx.css ] # generated from z.css
17
16
! [ -e $( INVOCATION_ONLY) /storage-xxx.js ]
18
17
! [ -e $( INVOCATION_ONLY) /SourceSerifPro-It.ttf.woff ]
19
18
19
+ # FIXME: this probably shouldn't have a suffix
20
+ [ -e $(INVOCATION_ONLY)/y-xxx.css ]
21
+ # FIXME: this is technically incorrect (see `write_shared`)
22
+ ! [ -e $(INVOCATION_ONLY)/main-xxx.js ]
23
+
20
24
toolchain-only :
21
- $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources --output $(TOOLCHAIN_ONLY ) --resource-suffix=-xxx x.rs
25
+ $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources --output $(TOOLCHAIN_ONLY ) --resource-suffix=-xxx --extend-css z.css x.rs
22
26
[ -e $( TOOLCHAIN_ONLY) /storage-xxx.js ]
23
- ! [ -e $( TOOLCHAIN_ONLY) /y-xxx.css ]
24
27
! [ -e $( TOOLCHAIN_ONLY) /SourceSerifPro-It.ttf.woff ]
25
28
! [ -e $( TOOLCHAIN_ONLY) /search-index-xxx.js ]
26
29
! [ -e $( TOOLCHAIN_ONLY) /x/index.html ]
30
+ ! [ -e $( TOOLCHAIN_ONLY) /theme.css ]
31
+
32
+ [ -e $(TOOLCHAIN_ONLY)/main-xxx.js ]
33
+ ! [ -e $(TOOLCHAIN_ONLY)/y-xxx.css ]
27
34
28
35
all-shared :
29
- $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources,unversioned-shared-resources --output $(ALL_SHARED ) --resource-suffix=-xxx x.rs
36
+ $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources,unversioned-shared-resources --output $(ALL_SHARED ) --resource-suffix=-xxx --extend-css z.css x.rs
30
37
[ -e $( ALL_SHARED) /storage-xxx.js ]
31
38
[ -e $( ALL_SHARED) /SourceSerifPro-It.ttf.woff ]
32
- ! [ -e $( ALL_SHARED) /y-xxx.css ]
33
39
! [ -e $( ALL_SHARED) /search-index-xxx.js ]
34
40
! [ -e $( ALL_SHARED) /settings.html ]
35
41
! [ -e $( ALL_SHARED) /x ]
36
42
! [ -e $( ALL_SHARED) /src ]
43
+ ! [ -e $( ALL_SHARED) /theme.css ]
44
+
45
+ [ -e $(ALL_SHARED)/main-xxx.js ]
46
+ ! [ -e $(ALL_SHARED)/y-xxx.css ]
0 commit comments