Skip to content

Commit

Permalink
Removes explicit versions in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cadojo committed Aug 9, 2024
1 parent f8ac1a0 commit 1c2ac73
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 63 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: TagBot

on:
issue_comment:
types:
Expand All @@ -8,7 +7,6 @@ on:
inputs:
lookback:
default: "3"

permissions:
actions: read
checks: read
Expand All @@ -22,39 +20,12 @@ permissions:
repository-projects: read
security-events: read
statuses: read

jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- name: Tag EphemerisSourcesBase.jl
uses: JuliaRegistries/TagBot@v1
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: lib/EphemerisSourcesBase
- name: Tag HorizonsAPI.jl
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: lib/HorizonsAPI
- name: Tag HorizonsEphemeris.jl
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: lib/HorizonsEphemeris
- name: Tag SPICEKernels.jl
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: lib/SPICEKernels
- name: Tag SPICEBodies.jl
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: lib/SPICEBodies
5 changes: 0 additions & 5 deletions lib/EphemerisSourcesBase/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,4 @@ deploydocs(
repo = "github.com/JuliaAstro/EphemerisSources.jl",
devbranch = "main",
tag_prefix = "EphemerisSourcesBase-",
versions = [
"stable" => "EphemerisSourcesBase-v^",
"EphemerisSourcesBase-v#.#",
"EphemerisSourcesBase-v#.#.#",
],
)
1 change: 0 additions & 1 deletion lib/HorizonsAPI/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ deploydocs(
branch = "horizons-api",
devbranch = "main",
tag_prefix = "HorizonsAPI-",
versions = ["stable" => "HorizonsAPI-v^", "HorizonsAPI-v#.#", "HorizonsAPI-v#.#.#"],
)
5 changes: 0 additions & 5 deletions lib/HorizonsEphemeris/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,4 @@ deploydocs(
repo = "github.com/JuliaAstro/EphemerisSources.jl",
devbranch = "main",
tag_prefix = "HorizonsEphemeris-",
versions = [
"stable" => "HorizonsEphemeris-v^",
"HorizonsEphemeris-v#.#",
"HorizonsEphemeris-v#.#.#",
],
)
26 changes: 5 additions & 21 deletions lib/SPICEBodies/docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
using Documenter
using SPICEBodies

makedocs(
sitename = "SPICEBodies",
format = Documenter.HTML(),
modules = [SPICEBodies],
pages = [
"Overview" => "index.md",
"Reference" => "reference/index.md"
]
)
makedocs(sitename = "SPICEBodies", format = Documenter.HTML(), modules = [SPICEBodies],
pages = ["Overview" => "index.md", "Reference" => "reference/index.md"])

deploydocs(
target = "build",
branch = "spice-bodies",
repo = "github.com/JuliaAstro/EphemerisSources.jl",
devbranch = "main",
tag_prefix = "SPICEBodies-",
versions = [
"stable" => "SPICEBodies-v^",
"SPICEBodies-v#.#",
"SPICEBodies-v#.#.#"
]
)
deploydocs(target = "build", branch = "spice-bodies",
repo = "github.com/JuliaAstro/EphemerisSources.jl", devbranch = "main",
tag_prefix = "SPICEBodies-")
1 change: 0 additions & 1 deletion lib/SPICEKernels/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ deploydocs(
repo = "github.com/JuliaAstro/EphemerisSources.jl",
devbranch = "main",
tag_prefix = "SPICEKernels-",
versions = ["stable" => "SPICEKernels-v^", "SPICEKernels-v#.#", "SPICEKernels-v#.#.#"],
)

0 comments on commit 1c2ac73

Please sign in to comment.