Skip to content

Commit e66d2a3

Browse files
committed
Add documentation deployment.
1 parent de633a1 commit e66d2a3

File tree

6 files changed

+42
-2
lines changed

6 files changed

+42
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111

1212
# Documentation
1313
docs/build
14+
docs/site

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@ notifications:
1313
matrix:
1414
allow_failures:
1515
- julia: nightly
16+
17+
jobs:
18+
include:
19+
- stage: "Documentation"
20+
julia: 1.3
21+
os: linux
22+
script:
23+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
24+
Pkg.instantiate()'
25+
- julia --project=docs/ docs/make.jl
26+
after_success: skip

docs/Manifest.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
[[Base64]]
44
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
55

6+
[[BinaryProvider]]
7+
deps = ["Libdl", "SHA"]
8+
git-tree-sha1 = "5b08ed6036d9d3f0ee6369410b830f8873d4024c"
9+
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
10+
version = "0.5.8"
11+
612
[[Dates]]
713
deps = ["Printf"]
814
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
@@ -23,6 +29,15 @@ git-tree-sha1 = "885467cebde4639a3d81953652cc53ff5a73cb87"
2329
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2430
version = "0.24.3"
2531

32+
[[DocumenterTools]]
33+
deps = ["Base64", "DocStringExtensions", "Documenter", "FileWatching", "LibGit2", "Sass"]
34+
git-tree-sha1 = "e3b2a338e7e1803713ae42e556643bf9ba004395"
35+
uuid = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
36+
version = "0.1.4"
37+
38+
[[FileWatching]]
39+
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
40+
2641
[[InteractiveUtils]]
2742
deps = ["Markdown"]
2843
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
@@ -74,6 +89,12 @@ uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
7489
[[SHA]]
7590
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
7691

92+
[[Sass]]
93+
deps = ["BinaryProvider", "Libdl", "Test"]
94+
git-tree-sha1 = "de11179555c6363c5a61c4c94376db3498983734"
95+
uuid = "322a6be2-4ae8-5d68-aaf1-3e960788d1d9"
96+
version = "0.1.0"
97+
7798
[[Serialization]]
7899
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
79100

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"

docs/make.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ pushfirst!(LOAD_PATH, joinpath(@__DIR__, ".."))
88
using Documenter, LSH
99

1010
makedocs(
11-
sitename = "LSH.jl documentation",
11+
sitename = "LSH.jl",
1212
format = Documenter.HTML(),
1313
modules = [LSH],
1414
pages = ["Home" => "index.md"]
1515
)
16+
17+
deploydocs(
18+
repo = "github.com/kernelmethod/LSH.jl.git"
19+
)

docs/src/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# LSH.jl documentation
1+
# LSH.jl
2+
3+
Documentation for the LSH.jl package.

0 commit comments

Comments
 (0)