Skip to content

Commit

Permalink
Fix documentation generation
Browse files Browse the repository at this point in the history
* Formatting on Documenter.yml was incorrect
* docs/Package.toml was missing
* make.jl format option was out of date
  • Loading branch information
kmsquire committed Jan 30, 2021
1 parent 2f4acde commit 18397c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Documenter
on:
push:
push:
branches: [master]
tags: [v*]
pull_request:
pull_request:

jobs:
Documenter:
Documenter:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
- uses: actions/checkout@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4 changes: 3 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ using OrderedCollections


makedocs(
format = :html,
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true"
),
sitename = "OrderedCollections.jl",
pages = [
"index.md",
Expand Down

0 comments on commit 18397c0

Please sign in to comment.