Skip to content

Commit 3009eee

Browse files
committed
cleanup
1 parent 231378a commit 3009eee

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
git config user.name github-actions
2626
git config user.email github-actions@github.com
27-
julia --color=yes --project=docs docs/make.jl --deploy
27+
julia --color=yes --project=docs docs/make.jl deploy
2828
env:
2929
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name = "JuliaAstroDocs"
22
uuid = "5ba9df79-bc07-467f-bade-66a1d49082bd"
3+
version = "0.0.1-DEV"
34

45
[deps]
56
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

docs/make.jl

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ makedocs(
3232
format = Documenter.HTML(
3333
mathengine=mathengine,
3434
prettyurls = get(ENV, "CI", "false") == "true",
35-
canonical = "https://juliaastro.org/",
35+
canonical = "https://JuliaAstro.github.io/",
3636
assets = String[
3737
"assets/styles.css",
3838
"assets/favicon.ico",
@@ -127,8 +127,8 @@ MultiDocumenter.make(
127127
index_versions = ["stable"],
128128
engine = MultiDocumenter.FlexSearch
129129
),
130-
rootpath = "/previews/PR43/",
131-
canonical_domain = "https://JuliaAstro.org/",
130+
rootpath = "/previews/PR44/",
131+
canonical_domain = "https://JuliaAstro.github.io/",
132132
brand_image = MultiDocumenter.BrandImage(".", joinpath("assets", "logo.svg")),
133133
sitemap = true,
134134
)
@@ -144,12 +144,14 @@ Downloads.download(
144144
)
145145
@info "Final build done"
146146

147-
@info "Deploying docs"
148-
deploydocs(;
149-
repo = "github.com/JuliaAstro/JuliaAstro.github.io",
150-
push_preview = true,
151-
branch = "master",
152-
devbranch = "multidocumenter",
153-
versions = nothing,
154-
)
155-
@info "Deploy complete"
147+
if "deploy" in ARGS
148+
@info "Deploying docs"
149+
deploydocs(;
150+
repo = "github.com/JuliaAstro/JuliaAstro.github.io",
151+
push_preview = true,
152+
branch = "master",
153+
devbranch = "multidoc-auto-highlevels",
154+
versions = nothing,
155+
)
156+
@info "Deploy complete"
157+
end
File renamed without changes.

0 commit comments

Comments
 (0)