From f74a5f7d8bf8c2516cb7febfd8a1a5ffc1f86705 Mon Sep 17 00:00:00 2001 From: Joey Carpinelli Date: Tue, 31 Dec 2024 16:52:59 -0500 Subject: [PATCH] Fixes bug in deploydocs call --- docs/make.jl | 2 +- src/DocumenterQuarto.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index d4b8c3d..702df43 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,4 +3,4 @@ using Quarto Quarto.render(joinpath(@__DIR__, "src")) -Documenter.deploydocs(repo = "https://github.com/cadojo/DocumenterQuarto.jl.git") +Documenter.deploydocs(repo="github.com/cadojo/DocumenterQuarto.jl") diff --git a/src/DocumenterQuarto.jl b/src/DocumenterQuarto.jl index 5e2e453..74f335d 100644 --- a/src/DocumenterQuarto.jl +++ b/src/DocumenterQuarto.jl @@ -50,7 +50,7 @@ function generate(; title=nothing, type="book", api="api") capture = IOCapture.capture() do run(`$(git()) remote get-url origin`) end - strip(capture.output) + replace(strip(capture.output), ".git" => "", "https://" => "", "http://" => "", "www." => "") end author = let