From 82791c664449fc38d34dee4021e046d2a9837dac Mon Sep 17 00:00:00 2001 From: WinGeek Date: Wed, 4 Sep 2024 01:13:13 +0800 Subject: [PATCH] Setup Jekyll Theme --- docs/_config.yml | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 4e2015a6..e35682ca 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -21,6 +21,7 @@ title: OpenNHP Documentation description: Zero Trust Network-infrastructure Hiding Protocol baseurl: "" # the subpath of your site, e.g. /blog +theme: just-the-docs url: "https://opennhp.org" logo: "/images/logo1.png" @@ -37,9 +38,6 @@ defaults: values: layout: "default" -# Build settings -theme: just-the-docs - # Enable or disable the site search # Supports true (default) or false @@ -128,3 +126,41 @@ exclude: - CODE_OF_CONDUCT.md - docker-compose.yml - Dockerfile + +callouts_level: quiet # or loud +callouts: + highlight: + color: yellow + important: + title: Important + color: blue + new: + title: New + color: green + note: + title: Note + color: purple + warning: + title: Warning + color: red + +# Google Analytics Tracking (optional) +# Supports a CSV of tracking ID strings (eg. "UA-1234567-89,G-1AB234CDE5") +# Note: the main Just the Docs site does *not* use Google Analytics. +# ga_tracking: UA-2709176-10,G-5FG1HLH3XQ +# ga_tracking_anonymize_ip: true # Use GDPR compliant Google Analytics settings (true/nil by default) + +kramdown: + syntax_highlighter_opts: + block: + line_numbers: false + +compress_html: + clippings: all + comments: all + endings: all + startings: [] + blanklines: false + profile: false + # ignore: + # envs: all \ No newline at end of file