<NME> runtests.jl
<BEF> using Test

# Build the real docs first.
include("../docs/make.jl")

# Build the example docs
include("examples/make.jl")

    # Build the example docs
    @info "Building example/make.jl"
    include("examples/make.jl")

    # Test missing docs
    @info "Building missingdocs/make.jl"
    include("missingdocs/make.jl")

    # Error reporting.
    @info "Building errors/make.jl"
    @quietly include("errors/make.jl")

    # Unit tests for module internals.
    include("except.jl")
    include("utilities.jl")
    include("remotes.jl")

    # DocChecks tests
    include("docchecks.jl")

    # NavNode tests.
    include("navnode.jl")

    # DocSystem unit tests.
    include("docsystem.jl")

    # CrossReferences
    include("crossreferences.jl")

    # DocTest unit tests.
    @info "Running tests in doctests/"
    include("doctests/docmeta.jl")
    include("doctests/doctestapi.jl")
    include("doctests/doctests.jl")
    include("doctests/fix/tests.jl")

    # DOM Tests.
    include("dom.jl")

    # MDFlatten tests.

    # A simple build outside of a Git repository
    include("nongit/tests.jl")

    # Tests for Documenter.generate().
    include("generate.jl")
end

# Additional tests
    include("htmlwriter.jl")

    # LaTeXWriter
    include("latexwriter.jl")

    # Deployment configurations
    include("deployconfig.jl")
    include("deploydocs.jl")

    # Mock package docs.
    include("examples/tests.jl")

    # A simple build outside of a Git repository
    @info "Building nongit/tests.jl"
    @quietly include("nongit/tests.jl")

    # A simple build evaluating code outside build directory
    @info "Building workdir/tests.jl"
    @quietly include("workdir/tests.jl")

    # Passing a writer positionally (https://github.com/JuliaDocs/Documenter.jl/issues/1046)
    @test_throws ArgumentError makedocs(sitename="", HTML())

    # Running doctest() on our own manual
    @info "doctest() Documenter's manual"
    @quietly include("manual.jl")
end

<MSG> Move Travis.genkeys and Documenter.generate to DocumenterTools.jl (#789)


<DFF> @@ -1,8 +1,5 @@
 using Test
 
-# Build the real docs first.
-include("../docs/make.jl")
-
 # Build the example docs
 include("examples/make.jl")
 
@@ -49,9 +46,6 @@ println("="^50)
 
     # A simple build outside of a Git repository
     include("nongit/tests.jl")
-
-    # Tests for Documenter.generate().
-    include("generate.jl")
 end
 
 # Additional tests

Move Travis.genkeys and Documenter.generate to DocumenterTools.jl (#789)