Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new blog/ section intended to host an Errbit blog (Jekyll scaffold + initial posts), links it from the main site navigation, and tightens env var handling for docs generation.
Changes:
- Add a Jekyll blog scaffold under
blog/(config, Gemfile/lock, pages, posts). - Add a “Blog” link to the site navigation.
- Change docs fetch hook to use
ENV.fetch('ERRBIT_PATH')instead ofENV['ERRBIT_PATH'].
Reviewed changes
Copilot reviewed 12 out of 14 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| blog/index.markdown | Adds blog landing page front matter. |
| blog/Gemfile | Adds blog-specific Bundler dependencies for Jekyll/minima. |
| blog/Gemfile.lock | Adds blog lockfile for resolved gems. |
| blog/about.markdown | Adds an About page for the blog (currently with a root-level permalink). |
| blog/404.html | Adds a 404 page intended to be published at /404.html. |
| blog/.ruby-version | Pins Ruby version for the blog environment. |
| blog/.gitignore | Ignores typical Jekyll build/cache directories. |
| blog/_posts/2026-06-09-release-0.11.0.markdown | Adds a release announcement post (future-dated). |
| blog/_posts/2026-06-09-jruby.markdown | Adds an (currently empty) post file. |
| blog/_posts/2026-06-08-welcome-to-jekyll.markdown | Adds default Jekyll welcome post. |
| blog/_config.yml | Adds blog Jekyll configuration (title/baseurl/etc). |
| _plugins/fetch_docs.rb | Switches ERRBIT_PATH access to ENV.fetch. |
| _includes/nav.html | Adds “Blog” link to global navigation. |
| _config.yml | Removes CNAME from the Jekyll exclude list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
3
to
10
| exclude: | ||
| - README.md | ||
| - Gemfile | ||
| - Gemfile.lock | ||
| - bin | ||
| - CNAME | ||
| - lib | ||
| - tmp | ||
| - vendor |
Comment on lines
+7
to
+9
| pushd blog | ||
| bundle exec jekyll build --destination ../_site/blog | ||
| popd |
Comment on lines
5
to
7
| Jekyll::Hooks.register :site, :after_reset do |site| | ||
| doc_builder = DocBuilder.new(ENV['ERRBIT_PATH']) | ||
| doc_builder = DocBuilder.new(ENV.fetch('ERRBIT_PATH')) | ||
| doc_builder.run |
Comment on lines
2
to
+3
| <li><a href="/">Home</a></li> | ||
| <li><a href="/blog">Blog</a></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.