Skip to content

Commit

Permalink
Pre-load modules in docs/build.jl and sandwich warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 7, 2018
1 parent 4f4b872 commit 88675ff
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/build.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
using Documenter, Bifurcations
print_with_color(:blue, let
message = " Warnings below (if any) are fine. "
margin = (displaysize(STDOUT)[2] - length(message)) ÷ 2
("=" ^ margin) * message * ("=" ^ margin)
end)
println()
flush(STDOUT)
using Documenter
using DiffEqBase: AbstractODEProblem
using Setfield: Lens
import Plots
import Jacobi
import OrdinaryDiffEq
flush(STDOUT)
flush(STDERR)
print_with_color(:blue, "=" ^ displaysize(STDOUT)[2])
println()

using Bifurcations
using Bifurcations: plot, plot! # a workaround

makedocs(
strict = true,
Expand Down

0 comments on commit 88675ff

Please sign in to comment.