2022-08-23 00:00:00 +00:00
|
|
|
include ../tools.mk
|
2019-05-24 14:04:45 -05:00
|
|
|
|
|
|
|
# Test that rustdoc will properly load in a theme file and display it in the theme selector.
|
|
|
|
|
|
|
|
OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes"
|
|
|
|
|
|
|
|
all:
|
2021-07-07 14:27:54 +02:00
|
|
|
cp $(S)/src/librustdoc/html/static/css/themes/light.css $(TMPDIR)/test.css
|
2019-09-22 22:35:25 +02:00
|
|
|
$(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
|
2019-11-18 18:53:45 +01:00
|
|
|
$(HTMLDOCCK) $(OUTPUT_DIR) foo.rs
|