Skip to content

Commit

Permalink
Add docs sitemap to robots.txt
Browse files Browse the repository at this point in the history
Before this change, robots.txt was getting automatically generated by `jekyll-sitemap` for the main sitemap, so the main entry isn't actually new.

Related to bonsai-rx/docs#91
Also adds `webrick` to Gemfile, which is required to use `jekyll serve` with recent versions of Ruby as noted here: https://jekyllrb.com/docs/
  • Loading branch information
PathogenDavid committed Jul 26, 2024
1 parent 8a905fd commit 3ef0cfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source "https://rubygems.org"

gem "github-pages", group: :jekyll_plugins
gem 'faraday', '0.17.3'
gem "webrick", "~> 1.8"

group :jekyll_plugins do
gem "jekyll-include-cache"
Expand Down
5 changes: 5 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: none
---
Sitemap: {{ "sitemap.xml" | absolute_url }}
Sitemap: {{ "docs/sitemap.xml" | absolute_url }}

0 comments on commit 3ef0cfc

Please sign in to comment.