From 16b2cbbb57c49c7a89540ddb16d28184db165aea Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Thu, 10 Feb 2022 01:20:54 +0100 Subject: [PATCH] Add sitemap.xml and robots.txt --- docs/Gemfile | 1 + docs/Gemfile.lock | 1 + docs/_config.yml | 3 +++ docs/getting-started.html | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/Gemfile b/docs/Gemfile index cc1531a..5b102c2 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -3,6 +3,7 @@ gem "minima", "~> 2.5" gem "github-pages", group: :jekyll_plugins gem "jekyll-remote-theme" +gem "jekyll-sitemap", "~> 1.4.0" platforms :mingw, :x64_mingw, :mswin, :jruby do gem "tzinfo", "~> 1.2" diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 2529757..42edf7f 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -271,6 +271,7 @@ PLATFORMS DEPENDENCIES github-pages jekyll-remote-theme + jekyll-sitemap (~> 1.4.0) just-the-docs minima (~> 2.5) tzinfo (~> 1.2) diff --git a/docs/_config.yml b/docs/_config.yml index c6e1952..052f898 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -2,6 +2,7 @@ title: cmkr plugins: - jekyll-remote-theme + - jekyll-sitemap # Automatically deduce dark theme preference https://github.com/pmarsceill/just-the-docs/pull/464 remote_theme: build-cpp/just-the-docs@light-switch @@ -19,3 +20,5 @@ gh_edit_repository: "https://github.com/build-cpp/cmkr" gh_edit_branch: "main" gh_edit_view_mode: "edit" gh_edit_source: docs + +production_url : https://cmkr.build \ No newline at end of file diff --git a/docs/getting-started.html b/docs/getting-started.html index 2615470..b5b0607 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -1,6 +1,6 @@ --- layout: null -permalink: /getting-started +permalink: /getting-started/ ---