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: Fri, 18 Jul 2025 17:04:12 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: C6E2:EA1CD:D811:F93F:687A7C34
accept-ranges: bytes
age: 0
date: Fri, 18 Jul 2025 16:54:12 GMT
via: 1.1 varnish
x-served-by: cache-bom4726-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752857652.138109,VS0,VE220
vary: Accept-Encoding
x-fastly-request-id: ce2d9a126b230f97ea3b84869da204ba21a023be
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.