CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Mon, 24 Mar 2025 14:25:48 GMT
access-control-allow-origin: *
etag: W/"67e16b6c-1aaa"
expires: Sat, 19 Jul 2025 07:27:53 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 20A4:11B02E:49EBA:60006:687B46A1
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 07:17:53 GMT
via: 1.1 varnish
x-served-by: cache-bom4737-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752909474.597953,VS0,VE205
vary: Accept-Encoding
x-fastly-request-id: 5c362130bf95445ed7ba22f98836ebad8467a1af
content-length: 2004
Development | GitHub Metadata
GitHub Metadata
Development
Guide to local development of this plugin
Installation
Requirements
- Ruby
- Bundler
Install system dependencies
Clone
Clone the repo, or your fork.
$ git clone git@github.com:jekyll/github-metadata.git
$ cd github-metadata
Install project dependencies
Configure Bundler.
$ bundle config set --local path vendor/bundle
Install gems.
$ bundle install
Or, for a faster install.
$ script/bootstrap
Usage
See the script directory.
Format
Check for code formatting issues - recommended before you commit.
$ script/fmt
Fix formatting issues.
$ script/fmt -a
Open interactive console
$ script/console
Test
Run all unit tests.
$ script/test
Run a target unit test file by specifying a path.
$ script/test spec/owner_spec.rb
See some recommended flags below.
Run tests in the order they are written (not a random order).
$ script/test --order defined
Run tests in the same random order as a previous run.
$ script/test --seed 12345
Run tests with verbose trace logs.
$ script/test --format documentation
Start dev server
Preview the plugin in Jekyll by running the repo’s sample Jekyll site.
$ script/test-site
Then open in the browser at:
- https://127.0.0.1:4000
Release
Run tests, formatting and create a release.
$ script/release
This site is open source. Improve this page.