From 4bc8abdceb5eb44128ca6c704f7a8861ea820b89 Mon Sep 17 00:00:00 2001 From: davidrsch Date: Sat, 9 Aug 2025 23:18:09 +0200 Subject: [PATCH 1/2] Adapting style and structure to be similar to keras3 --- _pkgdown.yml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/_pkgdown.yml b/_pkgdown.yml index 8092031..4f47e4f 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,6 +1,25 @@ url: https://davidrsch.github.io/kerasnip/ template: + includes: + in_header: > + bootstrap: 5 + bslib: + primary: "#BF281B" + danger: "white" + navbar-light-color: "white" + navbar-light-brand-color: "white" + navbar-light-brand-hover-color: "white" + code_font: "monospace" + +guides: + - title: "Getting Started" + navbar: ~ + contents: + - getting-started + - functional-api + +# examples: reference: - title: "Core Functions" @@ -22,24 +41,19 @@ reference: - register_keras_optimizer - keras_objects -articles: - - title: "Getting Started" - navbar: ~ - contents: - - getting-started - - functional-api - development: mode: auto navbar: + bg: primary + type: light structure: - left: [intro, reference, articles, news] + left: [intro, guides, examples, reference, news] right: [search, github] components: intro: - text: "Get started" - href: articles/getting-started.html + text: "Getting started" + href: guides/getting-started.html github: icon: fa-github href: https://github.com/davidrsch/kerasnip From 177a9debcfd5b1b3b82dcf68fbb44f615ea78fdd Mon Sep 17 00:00:00 2001 From: davidrsch Date: Sun, 10 Aug 2025 00:53:55 +0200 Subject: [PATCH 2/2] Adding google site verification tag --- _pkgdown.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_pkgdown.yml b/_pkgdown.yml index 4f47e4f..d340cad 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -3,6 +3,7 @@ template: includes: in_header: > + bootstrap: 5 bslib: primary: "#BF281B"