Skip to content

Commit 5a609f7

Browse files
authored
Merge pull request #974 from rafaqz/asinghvi17-patch-7
2 parents 95437ed + c715dc8 commit 5a609f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/make.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ makedocs(
4444
devbranch = "main",
4545
devurl = "dev";
4646
),
47-
draft = false,
4847
source = "src",
4948
build = "build",
5049
warnonly=false,
@@ -53,8 +52,7 @@ makedocs(
5352
# Enable logging to console again
5453
Logging.disable_logging(Logging.BelowMinLevel)
5554

56-
deploydocs(; repo="github.com/rafaqz/Rasters.jl",
57-
target = "build", # this is where Vitepress stores its output
55+
DocumenterVitepress.deploydocs(; repo="github.com/rafaqz/Rasters.jl",
5856
branch = "gh-pages",
5957
devbranch = "main",
6058
push_preview = true

docs/src/.vitepress/config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export default defineConfig({
9999
],
100100
ignoreDeadLinks: false,
101101
vite: {
102+
define: {
103+
__DEPLOY_ABSPATH__: JSON.stringify('REPLACE_ME_DOCUMENTER_VITEPRESS_DEPLOY_ABSPATH'),
104+
},
102105
resolve: {
103106
alias: {
104107
'@': path.resolve(__dirname, '../components')

0 commit comments

Comments
 (0)