2022-08-22 19:00:00 -05: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 07:27:54 -05:00
|
|
|
cp $(S)/src/librustdoc/html/static/css/themes/light.css $(TMPDIR)/test.css
|
2019-09-22 15:35:25 -05:00
|
|
|
$(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
|
2019-11-18 11:53:45 -06:00
|
|
|
$(HTMLDOCCK) $(OUTPUT_DIR) foo.rs
|