Skip to content

Commit 19546ec

Browse files
committed
deployable docs
1 parent 94bd2be commit 19546ec

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ after_success:
3737
- julia -e 'cd(Pkg.dir("LightGraphsMatching")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
3838
# push coverage results to Codecov
3939
- julia -e 'cd(Pkg.dir("LightGraphsMatching")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
40+
# Build documentation
41+
- julia -e 'Pkg.add("Documenter")'
42+
- julia -e 'cd(Pkg.dir("LightGraphsMatching")); include(joinpath("docs", "make.jl"))'

docs/make.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ makedocs(
1010
"Getting started" => "index.md",
1111
]
1212
)
13+
14+
deploydocs(
15+
deps = nothing,
16+
make = nothing,
17+
repo = "github.com/JuliaGraphs/LightGraphsMatching.jl.git",
18+
target = "build",
19+
julia = "0.6",
20+
osname = "linux"
21+
)

docs/mkdocs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
site_name: LightGraphsMatching.jl
2+
repo_url: https://github.com/JuliaGraphs/LightGraphsMatching.jl
3+
site_description: Documentation for LightGraphsMatching, the JuliaGraphs package to solve matching problems
4+
site_author: JuliaGraphs
5+
6+
theme: material
7+
8+
extra_css:
9+
- assets/Documenter.css
10+
11+
extra_javascript:
12+
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML
13+
- assets/mathjaxhelper.js
14+
15+
markdown_extensions:
16+
- extra
17+
- tables
18+
- fenced_code
19+
- mdx_math
20+
21+
docs_dir: 'build'
22+
23+
pages:
24+
- Home: index.md

0 commit comments

Comments
 (0)