From 6aa1c0df22745a08429802aa12e2d72ed004d192 Mon Sep 17 00:00:00 2001 From: shipengcheng1230 Date: Thu, 9 Apr 2020 18:09:48 -0400 Subject: [PATCH] not use mkdocs for now --- docs/Project.toml | 1 - docs/make.jl | 16 +++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 6c8b4cb..cf645b5 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,4 +1,3 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433" Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" diff --git a/docs/make.jl b/docs/make.jl index 26680d6..51254a9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -4,7 +4,7 @@ if Base.HOME_PROJECT[] !== nothing end using Documenter -using DocumenterMarkdown +# using DocumenterMarkdown using GmshTools # include("generate.jl") @@ -12,12 +12,18 @@ using GmshTools makedocs( doctest=false, modules = [GmshTools], - format = Markdown(), + sitename = "GmshTools", + # format = Markdown(), + format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"), + pages = [ + "Index" => "index.md", + "Element Types" => "element_types.md", + ], ) deploydocs( repo = "github.com/shipengcheng1230/GmshTools.jl.git", - deps = Deps.pip("pymdown-extensions", "pygments", "mkdocs", "python-markdown-math", "mkdocs-material"), - target = "site", - make = () -> run(`mkdocs build`), + # deps = Deps.pip("pymdown-extensions", "pygments", "mkdocs", "python-markdown-math", "mkdocs-material"), + target = "build", + # make = () -> run(`mkdocs build`), )