-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get the docs building and add a changelog
Also add Julia 1 to the CI
- Loading branch information
1 parent
6edc0a9
commit 07c306f
Showing
7 changed files
with
128 additions
and
78 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
docs/src/changelog.md |
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,2 +1,9 @@ | ||
[deps] | ||
Changelog = "5217a498-cd5d-4ec6-b8c2-9b85a09b6e3e" | ||
DistributedNext = "fab6aee4-877b-4bac-a744-3eca44acbb6f" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589" | ||
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" | ||
|
||
[sources] | ||
DistributedNext = {path = ".."} |
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,16 +1,42 @@ | ||
using Distributed | ||
using Documenter: DocMeta, makedocs, deploydocs | ||
import Revise | ||
import Changelog | ||
using DistributedNext | ||
import Documenter | ||
using Documenter: Remotes, DocMeta, makedocs, deploydocs | ||
|
||
DocMeta.setdocmeta!(Distributed, :DocTestSetup, :(using Distributed); recursive=true) | ||
DocMeta.setdocmeta!(DistributedNext, :DocTestSetup, :(using DistributedNext); recursive=true) | ||
|
||
makedocs(; | ||
modules = [Distributed], | ||
sitename = "Distributed", | ||
pages = Any[ | ||
"Distributed" => "index.md", | ||
], | ||
checkdocs = :exports, | ||
warnonly = [:cross_references], | ||
# Always trigger a revise to pick up the latest docstrings. This is useful when | ||
# working with servedocs(). If you are using servedocs(), run it like this: | ||
# | ||
# julia> servedocs(; include_dirs=["src"], skip_files=["docs/src/changelog.md"]) | ||
# | ||
# Otherwise it'll get into an infinite loop as the changelog is constantly | ||
# regenerated and triggering LiveServer. | ||
Revise.revise() | ||
|
||
# Build the changelog. Note that _changelog.md is the source and changelog.md is | ||
# the destination. It's named that way for the vain reason of a nicer URL. | ||
Changelog.generate( | ||
Changelog.Documenter(), | ||
joinpath(@__DIR__, "src/_changelog.md"), | ||
joinpath(@__DIR__, "src/changelog.md"), | ||
repo="JuliaParallel/DistributedNext.jl" | ||
) | ||
|
||
deploydocs(repo = "github.com/JuliaLang/Distributed.jl.git") | ||
makedocs(; | ||
repo = Remotes.GitHub("JuliaParallel", "DistributedNext.jl"), | ||
format = Documenter.HTML( | ||
prettyurls=get(ENV, "CI", "false") == "true", | ||
size_threshold_warn=500_000, | ||
size_threshold=600_000), | ||
modules = [DistributedNext], | ||
sitename = "DistributedNext", | ||
pages = [ | ||
"DistributedNext" => "index.md", | ||
"changelog.md" | ||
], | ||
warnonly = [:missing_docs, :cross_references], | ||
) | ||
|
||
deploydocs(repo = "github.com/JuliaParallel/DistributedNext.jl.git") |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
```@meta | ||
CurrentModule = DistributedNext | ||
``` | ||
|
||
# Changelog | ||
|
||
This documents notable changes in DistributedNext.jl. The format is based on | ||
[Keep a Changelog](https://keepachangelog.com). | ||
|
||
## Unreleased | ||
|
||
### Changed | ||
- Added a `project` argument to [`addprocs(::AbstractVector)`](@ref) to specify | ||
the project of a remote worker ([#2]). |
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