Skip to content

Commit 37c534d

Browse files
committed
Add docs
This adds docs to be generated using Documenter.jl
1 parent 9c91524 commit 37c534d

File tree

5 files changed

+128
-0
lines changed

5 files changed

+128
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ julia:
1818
notifications:
1919
email: false
2020

21+
jobs:
22+
include:
23+
- stage: "Documentation"
24+
julia: 1.0
25+
os: linux
26+
script:
27+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
28+
Pkg.instantiate()'
29+
- julia --project=docs/ docs/make.jl
30+
after_success: skip
31+
2132
# push coverage results to Codecov
2233
after_success:
2334
- julia -e 'cd(Pkg.dir("ObjectFile")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

docs/Manifest.toml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
[[Base64]]
4+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
5+
6+
[[Dates]]
7+
deps = ["Printf"]
8+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
9+
10+
[[Distributed]]
11+
deps = ["Random", "Serialization", "Sockets"]
12+
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
13+
14+
[[DocStringExtensions]]
15+
deps = ["LibGit2", "Markdown", "Pkg", "Test"]
16+
git-tree-sha1 = "88bb0edb352b16608036faadcc071adda068582a"
17+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
18+
version = "0.8.1"
19+
20+
[[Documenter]]
21+
deps = ["Base64", "Dates", "DocStringExtensions", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
22+
git-tree-sha1 = "885467cebde4639a3d81953652cc53ff5a73cb87"
23+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
24+
version = "0.24.3"
25+
26+
[[InteractiveUtils]]
27+
deps = ["Markdown"]
28+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
29+
30+
[[JSON]]
31+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
32+
git-tree-sha1 = "b34d7cef7b337321e97d22242c3c2b91f476748e"
33+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
34+
version = "0.21.0"
35+
36+
[[LibGit2]]
37+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
38+
39+
[[Libdl]]
40+
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
41+
42+
[[Logging]]
43+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
44+
45+
[[Markdown]]
46+
deps = ["Base64"]
47+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
48+
49+
[[Mmap]]
50+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
51+
52+
[[Parsers]]
53+
deps = ["Dates", "Test"]
54+
git-tree-sha1 = "0139ba59ce9bc680e2925aec5b7db79065d60556"
55+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
56+
version = "0.3.10"
57+
58+
[[Pkg]]
59+
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
60+
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
61+
62+
[[Printf]]
63+
deps = ["Unicode"]
64+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
65+
66+
[[REPL]]
67+
deps = ["InteractiveUtils", "Markdown", "Sockets"]
68+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
69+
70+
[[Random]]
71+
deps = ["Serialization"]
72+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
73+
74+
[[SHA]]
75+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
76+
77+
[[Serialization]]
78+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
79+
80+
[[Sockets]]
81+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
82+
83+
[[Test]]
84+
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
85+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
86+
87+
[[UUIDs]]
88+
deps = ["Random", "SHA"]
89+
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
90+
91+
[[Unicode]]
92+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

docs/make.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using Documenter, ObjectFile
2+
3+
makedocs(modules = [ObjectFile],
4+
sitename = "ObjectFile.jl",
5+
pages = [
6+
"Home" => "index.md"
7+
]
8+
)
9+
10+
deploydocs(
11+
repo = "github.com/staticfloat/ObjectFile.jl.git",
12+
target = "build"
13+
)

docs/src/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ObjectFile.jl Documentation
2+
3+
## Index
4+
```@index
5+
```
6+
7+
```@autodocs
8+
Modules = [ObjectFile]
9+
Order = [:function, :type]
10+
```

0 commit comments

Comments
 (0)