From 977fcfcb5a51baa861fd97961786f89edc62ee8b Mon Sep 17 00:00:00 2001 From: pat-alt Date: Tue, 27 Aug 2024 10:01:04 +0200 Subject: [PATCH] more work on Quarto plugin --- README.md | 4 +++- docs/make.jl | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9e4bb8b..61e5a4e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # EnergySamplers -Test if rendering works. +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaTrustworthyAI.github.io/EnergySamplers.jl/stable/) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaTrustworthyAI.github.io/EnergySamplers.jl/dev/) [![Build Status](https://github.com/JuliaTrustworthyAI/EnergySamplers.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JuliaTrustworthyAI/EnergySamplers.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Coverage](https://codecov.io/gh/JuliaTrustworthyAI/EnergySamplers.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaTrustworthyAI/EnergySamplers.jl) [![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle) diff --git a/docs/make.jl b/docs/make.jl index dc67cc2..4201df9 100755 --- a/docs/make.jl +++ b/docs/make.jl @@ -39,8 +39,6 @@ end # (b) Did someone say render? if "--quarto" ∈ ARGS - @info "Rendering README" - run(`quarto render $(joinpath(@__DIR__, "..", "README.qmd"))`) @info "Rendering docs" run(`quarto render $(joinpath(@__DIR__, "src"))`) end @@ -55,9 +53,16 @@ makedocs(; authors="Patrick Altmeyer and contributors", sitename="EnergySamplers.jl", format=Documenter.HTML(; + canonical="https://JuliaTrustworthyAI.github.io/EnergySamplers.jl", + edit_link="main", assets=String[], ), pages=[ "Home" => "index.md", ], ) + +deploydocs(; + repo="github.com/JuliaTrustworthyAI/EnergySamplers.jl", + devbranch="main", +)