Skip to content

Commit

Permalink
update to Documenter v1
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarqu committed Sep 18, 2023
1 parent 37c6cf7 commit 41f24dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
version: '1'
- name: Install unregistered pkg
run: julia --project=docs/ -e 'using Pkg; Pkg.add(url="https://github.com/JuliaDocs/DocumenterMermaid.jl");'
- name: Install documenter#master
run: julia --project=docs/ -e 'using Pkg; Pkg.add(url="https://github.com/JuliaDocs/Documenter.jl", rev="648ba95768c50ea6d2ab866cc55f085a4a2fc1e4");'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
- name: Build and deploy
Expand Down
7 changes: 5 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Crayons = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterMermaid = "a078cd44-4d9c-4618-b545-3ab9d77f9177"
DynamicSparseArrays = "8086fd22-9a0c-46a5-a6c8-6e24676501fe"
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
Expand All @@ -15,5 +16,7 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"

[compat]
BlockDecomposition = "1.6"
MathOptInterface = "1.0"
BlockDecomposition = "1.13"
Documenter = "1"
JuMP = "1"
MathOptInterface = "1"
8 changes: 5 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Documenter, Coluna, Literate, BlockDecomposition, Parameters, DocumenterMermaid
using Documenter, Coluna, Literate, BlockDecomposition, Parameters, DocumenterMermaid, DynamicSparseArrays

JULIA_DEBUG=Documenter

TUTORIAL_GAP = joinpath(@__DIR__, "src", "start", "start.jl")
TUTORIAL_CUTS = joinpath(@__DIR__, "src", "start", "cuts.jl")
Expand Down Expand Up @@ -28,7 +30,7 @@ Literate.markdown(TUTORIAL_ADVANCED, OUTPUT_ADVANCED, documenter=true)
Literate.markdown(TUTORIAL_STORAGE_API, OUTPUT_STORAGE_API, documenter=true)

makedocs(
modules = [Coluna, BlockDecomposition],
modules = [Coluna, BlockDecomposition, DynamicSparseArrays],
checkdocs = :exports,
sitename = "Coluna.jl",
authors = "Atoptima & contributors",
Expand All @@ -37,7 +39,7 @@ makedocs(
collapselevel = 2,
assets = ["assets/js/init.js"]
),
strict = false,
warnonly = true,
pages = Any[
"Introduction" => "index.md",
"Tutorials" => Any[
Expand Down

0 comments on commit 41f24dc

Please sign in to comment.