mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 17:26:12 +01:00
(v2.1.1.9092) Fix website
This commit is contained in:
parent
3dd3b6292a
commit
c588902f4c
@ -1,6 +1,6 @@
|
||||
Package: AMR
|
||||
Version: 2.1.1.9090
|
||||
Date: 2024-10-04
|
||||
Version: 2.1.1.9092
|
||||
Date: 2024-10-06
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
data analysis and to work with microbial and antimicrobial properties by
|
||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
||||
# AMR 2.1.1.9090
|
||||
# AMR 2.1.1.9092
|
||||
|
||||
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://msberends.github.io/AMR/#latest-development-version).)*
|
||||
|
||||
|
@ -57,10 +57,7 @@ footer:
|
||||
|
||||
home:
|
||||
sidebar:
|
||||
structure: [gpthelp, toc, links, authors]
|
||||
components:
|
||||
gpthelp:
|
||||
text: '<a target="_blank" href="https://chatgpt.com/g/g-M4UNLwFi5-amr-for-r-assistant"><img src="https://github.com/msberends/AMR/raw/main/pkgdown/assets/AMRforRGPT.svg" style="width: 80%;"></a>'
|
||||
structure: [toc, links, authors]
|
||||
|
||||
navbar:
|
||||
title: "AMR (for R)"
|
||||
|
@ -119,6 +119,10 @@ body.amr-for-python * {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.amr-gpt-assistant * {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.template-reference-index .section-desc {
|
||||
font-style: italic;
|
||||
text-align: justify;
|
||||
|
@ -30,8 +30,10 @@
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
// add GPT assistant info
|
||||
$('aside').prepend('<div class="amr-gpt-assistant"><a target="_blank" href="https://chatgpt.com/g/g-M4UNLwFi5-amr-for-r-assistant"><img src="https://github.com/msberends/AMR/raw/main/pkgdown/assets/AMRforRGPT.svg"></a></div>');
|
||||
|
||||
// Replace 'Developers' with 'Maintainers' on the main page, and "Contributors" on the Authors page
|
||||
// replace 'Developers' with 'Maintainers' on the main page, and "Contributors" on the Authors page
|
||||
$(".developers h2").text("Maintainers");
|
||||
$(".citation h2:nth(0)").text("All contributors");
|
||||
$(".citation h2:nth(1)").text("How to Cite");
|
||||
@ -42,6 +44,9 @@ $(document).ready(function() {
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# \\dontrun{", ""));
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# }", ""));
|
||||
}
|
||||
|
||||
// rename 'Package index' to 'Manual' (weird design choice to pick 'Package index')
|
||||
|
||||
|
||||
// remove leading newline in code examples on changelog
|
||||
if ($("body .template-news").length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user