Skip to content

Commit

Permalink
Merge pull request #1217 from mortenpi/patch-1
Browse files Browse the repository at this point in the history
Update to Documenter 0.20
  • Loading branch information
bjarthur authored Nov 10, 2018
2 parents b69d958 + dfe8e1b commit 1ba42cd
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ test/master-output.html
test/devel-output
test/master-output
test/diffed-output

docs/Manifest.toml
docs/build
17 changes: 16 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,19 @@ before_script:
- julia -e 'using Pkg; Pkg.add(PackageSpec(name="Compose", rev="master"))'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; foreach(x->Pkg.add(x), readlines(open(joinpath("docs", "REQUIRE")))); include(joinpath("docs", "make.jl"))'

jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- |
julia --color=yes --project=docs/ <<EOF
using Pkg
Pkg.add(PackageSpec(name="Compose", rev="master"))
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")
EOF
after_success: skip
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ alt="Gadfly Logo" width="210"></img> </div>

| **Documentation** | **Build Status** | **Help** |
|:---:|:---:|:---:|
| [![][docs-latest-img]][docs-latest-url] [![][docs-stable-img]][docs-stable-url] | [![][travis-img]][travis-url] [![][codecov-img]][codecov-url] | [![][slack-img]][slack-url] [![][gitter-img]][gitter-url] |
| [![][docs-dev-img]][docs-dev-url] [![][docs-stable-img]][docs-stable-url] | [![][travis-img]][travis-url] [![][codecov-img]][codecov-url] | [![][slack-img]][slack-url] [![][gitter-img]][gitter-url] |

**Gadfly** is a plotting and data visualization system written in
[Julia](http://julialang.org/).
Expand Down Expand Up @@ -47,7 +47,7 @@ alt="Gadfly Gallery" width="1024"></img> </div>
## Documentation

- [**STABLE**][docs-stable-url] &mdash; **most recently tagged version of the documentation.**
- [**LATEST**][docs-latest-url] &mdash; *in-development version of the documentation.*
- [**DEVEL**][docs-dev-url] &mdash; *in-development version of the documentation.*

## Contributing and Questions

Expand All @@ -59,8 +59,8 @@ valuable in helping us prioritize what to work on, so don't hesitate.
If you have a question then you can ask for help in the plotting team of the
[Julia Slack channel][slack-url] or the [Gitter chat room][gitter-url].

[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-latest-url]: http://gadflyjl.org/latest
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
[docs-dev-url]: http://gadflyjl.org/dev

[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: http://gadflyjl.org/stable
Expand Down
13 changes: 13 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[deps]
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Compose = "a81c6b42-2e10-5240-aca2-a61377ecd94b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b"
Showoff = "992d4aef-0814-514b-bc4d-f2e9a6c4116f"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
Documenter = "~0.20"
9 changes: 0 additions & 9 deletions docs/REQUIRE

This file was deleted.

5 changes: 0 additions & 5 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ using Documenter, Gadfly, Compose
makedocs(
modules = [Gadfly],
clean = false,
format = :html,
sitename = "Gadfly.jl",
pages = Any[
"Home" => "index.md",
Expand Down Expand Up @@ -41,8 +40,4 @@ makedocs(

deploydocs(
repo = "github.com/GiovineItalia/Gadfly.jl.git",
osname = "linux",
deps = nothing,
make = nothing,
target = "build",
)

0 comments on commit 1ba42cd

Please sign in to comment.