diff --git a/deps/checksums/UnicodeData.txt/md5 b/deps/checksums/UnicodeData.txt/md5 new file mode 100644 index 0000000000000..e68ac81dc486c --- /dev/null +++ b/deps/checksums/UnicodeData.txt/md5 @@ -0,0 +1 @@ +dde25b1cf9bbb4ba1140ac12e4128b0b diff --git a/deps/checksums/UnicodeData.txt/sha512 b/deps/checksums/UnicodeData.txt/sha512 new file mode 100644 index 0000000000000..5832a6b6e992b --- /dev/null +++ b/deps/checksums/UnicodeData.txt/sha512 @@ -0,0 +1 @@ +43eaf66d9cb3748012b2dfd77da1b41f667c5c7602a56bea8186b796b215bde82d555d79ab053378c2222521396354dcce5cf23a78fa3b1456062c47771c8433 diff --git a/doc/Makefile b/doc/Makefile index ea3c00710c481..e7a4e34dff323 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -18,12 +18,16 @@ help: @echo " doctest to run all doctests embedded in the documentation" @echo " check to run linkcheck and doctests" +deps: + $(JLDOWNLOAD) http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt + $(JLCHECKSUM) UnicodeData.txt + clean: - -rm -rf _build/* deps/* docbuild.log + -rm -rf _build/* deps/* docbuild.log UnicodeData.txt cleanall: clean -html: +html: deps @echo "Building HTML documentation." ifneq ($(OS),WINNT) $(JULIA_EXECUTABLE) make.jl -- deploy @@ -34,22 +38,24 @@ else endif @echo "Build finished. The HTML pages are in _build/html." -pdf: +pdf: deps @echo "Building PDF documentation." $(JULIA_EXECUTABLE) make.jl -- pdf @echo "Build finished." -linkcheck: +linkcheck: deps @echo "Checking external documentation links." $(JULIA_EXECUTABLE) make.jl -- linkcheck @echo "Checks finished." -doctest: +doctest: deps @echo "Running all embedded 'doctests'." $(JULIA_EXECUTABLE) make.jl -- doctest @echo "Checks finished." -check: +check: deps @echo "Running all embedded 'doctests' and checking external links." $(JULIA_EXECUTABLE) make.jl -- doctest linkcheck @echo "Checks finished." + +.PHONY: deps diff --git a/doc/src/manual/unicode-input.md b/doc/src/manual/unicode-input.md index 9f6031999134e..535e83df078dc 100644 --- a/doc/src/manual/unicode-input.md +++ b/doc/src/manual/unicode-input.md @@ -23,8 +23,6 @@ end function unicode_data() file = normpath(JULIA_HOME, "..", "..", "doc", "UnicodeData.txt") - url = "http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt" - isfile(file) || download(url, file) names = Dict{UInt32, String}() open(file) do unidata for line in readlines(unidata)