Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documenter version for doc building #339

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading