Skip to content

Commit

Permalink
Update Documenter version for doc building (#339)
Browse files Browse the repository at this point in the history
Co-authored-by: Sukera <Seelengrab@users.noreply.github.com>
  • Loading branch information
Seelengrab and Seelengrab authored Mar 22, 2024
1 parent 7a00040 commit 95131f8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 101 deletions.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Manifest.toml
93 changes: 0 additions & 93 deletions docs/Manifest.toml

This file was deleted.

3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"

[compat]
Documenter = "~0.26.1"
Documenter = "1.3"
23 changes: 17 additions & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
using Documenter, SQLite
import Pkg

cd(@__DIR__)
Pkg.activate(@__DIR__)
Pkg.develop(path="..")
Pkg.instantiate()

using Documenter, SQLite, DBInterface

DocMeta.setdocmeta!(SQLite, :DocTestSetup, :(using SQLite, DBInterface); recursive=true)

makedocs(;
modules = [SQLite],
format = Documenter.HTML(),
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == true,
),
pages = ["Home" => "index.md"],
repo = "https://github.com/JuliaDatabases/SQLite.jl/blob/{commit}{path}#L{line}",
repo = Remotes.GitHub("JuliaDatabases", "SQLite.jl"),
sitename = "SQLite.jl",
authors = "Jacob Quinn",
assets = String[],
)

deploydocs(; repo = "github.com/JuliaDatabases/SQLite.jl")
deploydocs(
repo = "https://www.github.com/JuliaDatabases/SQLite.jl.git",
)
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## High-level interface
```@docs
DBInterface.execute
DBInterface.execute(::SQLite.Stmt, ::DBInterface.StatementParams)
SQLite.load!
```

Expand Down

0 comments on commit 95131f8

Please sign in to comment.