Skip to content

Commit

Permalink
not use mkdocs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengcheng1230 committed Apr 9, 2020
1 parent 311ee6c commit 6aa1c0d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
16 changes: 11 additions & 5 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@ if Base.HOME_PROJECT[] !== nothing
end

using Documenter
using DocumenterMarkdown
# using DocumenterMarkdown
using GmshTools

# include("generate.jl")

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`),
)

2 comments on commit 6aa1c0d

@shipengcheng1230
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/12672

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.6 -m "<description of version>" 6aa1c0df22745a08429802aa12e2d72ed004d192
git push origin v0.3.6

Please sign in to comment.