From 32c0ad6763b9af2e254c49a6fd35b60c2a9a58a4 Mon Sep 17 00:00:00 2001 From: Daniel Butler <dannyeb@gmail.com> Date: Sat, 2 Nov 2024 10:48:06 +0000 Subject: [PATCH] Update Jekyll configuration and dependencies for enhanced functionality and theme customization --- docs/Gemfile | 20 ++++---------- docs/_config.yml | 70 +++++++++++++++++++++++++++++++++++------------- 2 files changed, 56 insertions(+), 34 deletions(-) diff --git a/docs/Gemfile b/docs/Gemfile index c8cc90e..e5d3da5 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -1,20 +1,10 @@ -source "https://rubygems.org" +source 'https://rubygems.org' gem "github-pages", group: :jekyll_plugins +gem "just-the-docs" group :jekyll_plugins do - gem "jekyll-seo-tag" gem "jekyll-feed" -end - -# Windows and JRuby does not include zoneinfo files -platforms :mingw, :x64_mingw, :mswin, :jruby do - gem "tzinfo", ">= 1" - gem "tzinfo-data" -end - -# Performance-booster for watching directories on Windows -gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] - -# Lock http_parser.rb gem -gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] \ No newline at end of file + gem "jekyll-seo-tag" + gem "jekyll-remote-theme" +end \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml index a0b4a87..ade582d 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,27 +1,58 @@ title: Daniel Butler description: Automation Engineer at IBM Cloud | Making Cloud Development Easier -baseurl: "/docs" -url: "https://daniel-butler-irl.github.io" +url: "https://dbdev.ie" +baseurl: "" # Theme settings -remote_theme: pages-themes/minimal@v0.2.0 -plugins: - - jekyll-remote-theme - - jekyll-feed - - jekyll-seo-tag +remote_theme: just-the-docs/just-the-docs + +# Color scheme +color_scheme: dark + +# Enable or disable heading anchors +heading_anchors: true + +# Footer content +footer_content: "Copyright © 2024 Daniel Butler. Distributed by an MIT license." + +# Enable or disable back to top button +back_to_top: true +back_to_top_text: "Back to top" -# Author information -author: - name: Daniel Butler - email: daniel.butler.irl@gmail.com - github: daniel-butler-irl - linkedin: daniel-butler-1a525832 +# Google Analytics +ga_tracking: UA-XXXXXXXXX-X +ga_tracking_anonymize_ip: true -# Build settings -markdown: kramdown -kramdown: - input: GFM - syntax_highlighter: rouge +# Collections +collections: + projects: + output: true + permalink: /projects/:path/ + +# Search +search_enabled: true +search: + heading_level: 2 + previews: 3 + preview_words_before: 5 + preview_words_after: 10 + tokenizer_separator: /[\s/]+/ + rel_url: true + button: true + +# Aux links for the upper right navigation +aux_links: + "VS Code IBM Catalog Editor": + - "https://github.com/daniel-butler-irl/VS_Code_Catalog_Json_Editor" + "GitHub Profile": + - "https://github.com/daniel-butler-irl" + +# Makes Aux links open in a new tab +aux_links_new_tab: true + +plugins: + - jekyll-seo-tag + - jekyll-remote-theme # Exclude from processing exclude: @@ -31,4 +62,5 @@ exclude: - vendor/bundle/ - vendor/cache/ - vendor/gems/ - - vendor/ruby/ \ No newline at end of file + - vendor/ruby/ + \ No newline at end of file