From 07e2906ba4d4054a4f806e103ad42b7802ef4ef9 Mon Sep 17 00:00:00 2001 From: Danil Grigorev Date: Wed, 22 Nov 2023 15:05:36 +0100 Subject: [PATCH] Always add index.yaml to the book directory --- docs/book/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/book/Makefile b/docs/book/Makefile index 45b625e35..23ad08637 100644 --- a/docs/book/Makefile +++ b/docs/book/Makefile @@ -13,6 +13,7 @@ # limitations under the License. # Directories. +ROOT_DIR := $(realpath ../..) TOOLS_DIR := $(realpath ../../hack/tools) TOOLS_BIN_DIR := $(TOOLS_DIR)/bin BIN_DIR := bin @@ -31,4 +32,5 @@ serve: $(MDBOOK) .PHONY: build build: $(MDBOOK) - $(MDBOOK) build \ No newline at end of file + $(MDBOOK) build + cp $(ROOT_DIR)/index.yaml book