Skip to content

Commit 024aa9a

Browse files
committed
src/doc/trpl -> src/doc/book
The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc.
1 parent 3e48b0e commit 024aa9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+4
-4
lines changed

mk/docs.mk

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ERR_IDX_GEN = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
6565

6666
D := $(S)src/doc
6767

68-
DOC_TARGETS := trpl nomicon style error-index
68+
DOC_TARGETS := book nomicon style error-index
6969
COMPILER_DOC_TARGETS :=
7070
DOC_L10N_TARGETS :=
7171

@@ -194,12 +194,12 @@ docs: $(DOC_TARGETS)
194194
doc: docs
195195
compiler-docs: $(COMPILER_DOC_TARGETS)
196196

197-
trpl: doc/book/index.html
197+
book: doc/book/index.html
198198

199-
doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
199+
doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/book/*.md) | doc/
200200
@$(call E, rustbook: $@)
201201
$(Q)rm -rf doc/book
202-
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book
202+
$(Q)$(RUSTBOOK) build $(S)src/doc/book doc/book
203203

204204
nomicon: doc/nomicon/index.html
205205

0 commit comments

Comments
 (0)