Skip to content

Commit 7541f82

Browse files
committedJan 8, 2015
Fix dead links in the guide and reorganize
1 parent 483fca9 commit 7541f82

Some content is hidden

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

43 files changed

+112
-669
lines changed
 

‎mk/docs.mk

+2-3
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,8 @@ endif
275275
docs: $(DOC_TARGETS)
276276
compiler-docs: $(COMPILER_DOC_TARGETS)
277277

278-
trpl: tmp/trpl.ok
278+
trpl: doc/book/index.html
279279

280-
tmp/trpl.ok: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md)
280+
doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md)
281281
$(Q)rm -rf doc/book
282282
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book
283-
$(Q)touch $@

‎mk/tests.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ endef
156156

157157
$(foreach doc,$(DOCS), \
158158
$(eval $(call DOCTEST,md-$(doc),$(S)src/doc/$(doc).md)))
159-
$(foreach file,$(wildcard $(S)src/doc/trpl/src/*), \
160-
$(eval $(call DOCTEST,$(file:$(S)src/doc/trpl/src/%.md=trpl-%),$(file))))
159+
$(foreach file,$(wildcard $(S)src/doc/trpl/*.md), \
160+
$(eval $(call DOCTEST,$(file:$(S)src/doc/trpl/%.md=trpl-%),$(file))))
161161

162162
######################################################################
163163
# Main test targets

0 commit comments

Comments
 (0)