File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ assembled_dir := $(build_dir)/assembled
6565assemble :
6666 $(MAKE ) -C docker exported-rustdoc
6767 cd $(book_dir ) && \
68+ SITE_URL=/seL4-rust-tutorial/ \
6869 RUSTDOC_PATH=rustdoc \
6970 nix-shell --run ' $(MAKE) build'
7071 rm -rf $(assembled_dir )
Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: BSD-2-Clause
55#
66
7+ SITE_URL ?= /
8+
79RUSTDOC_URL ?= file://$(abspath ../code/build/rustdoc)
810
911ifneq ($(RUSTDOC_PATH ) ,)
@@ -28,6 +30,7 @@ mdbook_env := \
2830 THIS_MDBOOK_RUSTDOC_LOCATION_KIND=$(rustdoc_location_kind ) \
2931 THIS_MDBOOK_RUSTDOC_LOCATION_VALUE=$(rustdoc_location_value ) \
3032 THIS_MDBOOK_MANUAL_URL=$(manual_url ) \
33+ MDBOOK_OUTPUT__HTML__SITE_URL=$(SITE_URL ) \
3134 PATH=preprocessor/target/debug:$$PATH
3235
3336.PHONY : none
You can’t perform that action at this time.
0 commit comments