-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from ajwheeler/update_documenter
update Documenter.jl to v1
- Loading branch information
Showing
7 changed files
with
38 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
|
||
[compat] | ||
Documenter = "0.27" | ||
Documenter = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,24 @@ | ||
push!(LOAD_PATH, "../src/") | ||
#push!(LOAD_PATH, "../src/") | ||
|
||
using Documenter, Korg | ||
|
||
makedocs(; sitename="Korg", | ||
makedocs(; | ||
modules=[Korg], | ||
repo=Documenter.Remotes.GitHub("ajwheeler", "Korg.jl"), | ||
sitename="Korg", | ||
pages=["Quickstart" => "index.md" | ||
"Install" => "install.md" | ||
"Tutorials" => "tutorials.md" | ||
"High-level API" => "API.md" | ||
"FAQ" => "FAQ.md" | ||
"Changelog" => "changelog.md" | ||
"Developer Documentation" => "devdocs.md"], | ||
checkdocs=:all, # make sure all docstrings are in the documentation | ||
#linkcheck = true, # check if any external links are broken (too many ADS links time out.) | ||
#linkcheck_timeout = 30, # default (10s) is too short for slow academic sites | ||
linkcheck_ignore=[], | ||
strict=[:doctest, | ||
:linkcheck, | ||
:parse_error, | ||
:example_block, | ||
# This will error on duplicate functions docs, which we currently have by design | ||
#:autodocs_block, | ||
:cross_references, | ||
:docs_block, | ||
:eval_block, | ||
:example_block, | ||
:footnote, | ||
:meta_block, | ||
:missing_docs, | ||
:setup_block], | ||
authors="Adam Wheeler and Matthew Abruzzo", | ||
format=Documenter.HTML(; assets=["assets/favicon.ico"])) | ||
|
||
deploydocs(; repo="github.com/ajwheeler/Korg.jl.git", | ||
devbranch="main") | ||
linkcheck=true, # check if any external links are broken | ||
linkcheck_timeout=30, # default (10s) is too short for slow academic sites | ||
# dodgy academic links sometimes timeout | ||
linkcheck_ignore=["https://marcs.astro.uu.se/"], | ||
authors="Adam Wheeler, Matthew Abruzzo, Andrew Casey, and collaborators", | ||
format=Documenter.HTML(; assets=["assets/favicon.ico"], size_threshold=500000),) | ||
checkdocs = :all, # make sure all docstrings are in the documentation | ||
deploydocs(; repo="github.com/ajwheeler/Korg.jl.git", | ||
devbranch="main") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters