From 29556b7b275637d1de7e544ae2fdcd240fdc273b Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 11 Feb 2023 19:14:33 +0100 Subject: [PATCH] add config --- .gitignore | 1 + .woodpecker.yml | 2 ++ mkdocs.yml | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ac70d56..44ba9cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /site/ /Makefile +/.cache diff --git a/.woodpecker.yml b/.woodpecker.yml index dab002d..d62afc1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,8 @@ pipeline: build: image: gitnet.fr/deblan/mkdocs + environments: + - SITE_URL=https://doc.murph-project.org/ commands: - mkdocs build deploy: diff --git a/mkdocs.yml b/mkdocs.yml index 0d1587d..5334eab 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,18 +1,20 @@ site_name: Documentation of Murph +site_url: !!python/object/apply:os.getenv ["SITE_URL"] extra_css: - /_static/css/extra.css plugins: - search + - social extra: generator: false theme: name: material - logo: /_static/img/logo.svg - favicon: /_static/img/logo.svg + logo: _static/img/logo.svg + favicon: _static/img/logo.svg features: - content.code.copy - navigation.tabs