Skip to content

Commit 95131f8

Browse files
authored
Update Documenter version for doc building (#339)
Co-authored-by: Sukera <[email protected]>
1 parent 7a00040 commit 95131f8

File tree

5 files changed

+21
-101
lines changed

5 files changed

+21
-101
lines changed

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Manifest.toml

docs/Manifest.toml

Lines changed: 0 additions & 93 deletions
This file was deleted.

docs/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[deps]
2+
DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
23
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
34
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
45

56
[compat]
6-
Documenter = "~0.26.1"
7+
Documenter = "1.3"

docs/make.jl

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
using Documenter, SQLite
1+
import Pkg
2+
3+
cd(@__DIR__)
4+
Pkg.activate(@__DIR__)
5+
Pkg.develop(path="..")
6+
Pkg.instantiate()
7+
8+
using Documenter, SQLite, DBInterface
9+
10+
DocMeta.setdocmeta!(SQLite, :DocTestSetup, :(using SQLite, DBInterface); recursive=true)
211

312
makedocs(;
4-
modules = [SQLite],
5-
format = Documenter.HTML(),
13+
format = Documenter.HTML(
14+
prettyurls = get(ENV, "CI", nothing) == true,
15+
),
616
pages = ["Home" => "index.md"],
7-
repo = "https://github.com/JuliaDatabases/SQLite.jl/blob/{commit}{path}#L{line}",
17+
repo = Remotes.GitHub("JuliaDatabases", "SQLite.jl"),
818
sitename = "SQLite.jl",
919
authors = "Jacob Quinn",
10-
assets = String[],
1120
)
1221

13-
deploydocs(; repo = "github.com/JuliaDatabases/SQLite.jl")
22+
deploydocs(
23+
repo = "https://www.github.com/JuliaDatabases/SQLite.jl.git",
24+
)

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## High-level interface
77
```@docs
8-
DBInterface.execute
8+
DBInterface.execute(::SQLite.Stmt, ::DBInterface.StatementParams)
99
SQLite.load!
1010
```
1111

0 commit comments

Comments
 (0)