Skip to content

Commit

Permalink
Merge pull request #1459 from swirlai/ds-3128
Browse files Browse the repository at this point in the history
remove disfunctional jekyll-sitemap plugin; add sitemap.xml and liqui…
  • Loading branch information
erikspears authored Oct 23, 2024
2 parents 9e00b76 + 2ffb54d commit 6a9b686
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
permalink: /404
nav_exclude: true
search_exclude: true
sitemap: false
sitemap: 'false'
---

<h1>Page not found</h1>
Expand Down
2 changes: 1 addition & 1 deletion docs/DOCKER_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Docker Build
nav_exclude: true
search_exclude: true
sitemap: false
sitemap: 'false'
---

# DOCKER BUILD for SWIRL
Expand Down
1 change: 0 additions & 1 deletion docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ source "https://rubygems.org"

gem "jekyll", "~> 4.3.4" # installed by `gem jekyll`
gem "jekyll-default-layout"
gem "jekyll-sitemap"
gem "jekyll-relative-links"
gem "jemoji"
gem "just-the-docs", "0.10.0"
3 changes: 0 additions & 3 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ GEM
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.13.0)
Expand Down Expand Up @@ -179,7 +177,6 @@ DEPENDENCIES
jekyll (~> 4.3.4)
jekyll-default-layout
jekyll-relative-links
jekyll-sitemap
jemoji
just-the-docs (= 0.10.0)

Expand Down
1 change: 0 additions & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ markdown: kramdown
theme: just-the-docs
plugins:
- jekyll-default-layout
- jekyll-sitemap
- jekyll-relative-links
- jemoji
disable_disk_cache: true
Expand Down
2 changes: 1 addition & 1 deletion docs/separator.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: "Community"
nav_order: 2
permalink: /separator/
search_exclude: true
sitemap: false
sitemap: 'false'
---
2 changes: 1 addition & 1 deletion docs/separator1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: "Enterprise"
nav_order: 6
permalink: /separator1/
search_exclude: true
sitemap: false
sitemap: 'false'
---
2 changes: 1 addition & 1 deletion docs/separator2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: "Reference"
nav_order: 12
permalink: /separator2/
search_exclude: true
sitemap: false
sitemap: 'false'
---
2 changes: 1 addition & 1 deletion docs/separator3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: "Developer"
nav_order: 17
permalink: /separator3/
search_exclude: true
sitemap: false
sitemap: 'false'
---
2 changes: 1 addition & 1 deletion docs/separator4.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: "About SWIRL"
nav_order: 22
permalink: /separator4/
search_exclude: true
sitemap: false
sitemap: 'false'
---
14 changes: 14 additions & 0 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: null
sitemap: 'false'
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in site.pages %}
{% unless page.sitemap == "false" or page.url contains "assets" %}
<url>
<loc>{{ site.url }}/{{ page.name }}</loc>
</url>
{% endunless %}
{% endfor %}
</urlset>

0 comments on commit 6a9b686

Please sign in to comment.