EIPs/_config.yml
Alex Beregszaszi 12debb62fe
Upgrade to latest github-pages and enable Solidity syntax highlighting (#2679)
After https://github.com/github/pages-gem/pull/683 / https://github.com/github/pages-gem/pull/690 was merged this is possible now.

This allows EIPs to use solidity syntax highlighting. Currently there are 330 instances of it:

```
$ grep "\`solidity" * | wc -l
     330
```

And some EIPs used `typescript` or `javascript` as an alternative, because that was highlighted already:
```
$ grep "\`typescript" * | wc -l
      16
$ grep "\`javascript" * | wc -l
      25
```

Thanks @veox again in adding highlighting to rouge.
2020-07-18 00:17:39 +08:00

69 lines
1.8 KiB
YAML

# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Ethereum Improvement Proposals
description: >-
Ethereum Improvement Proposals (EIPs) describe standards for the Ethereum
platform, including core protocol specifications, client APIs, and contract
standards.
url: "https://eips.ethereum.org"
twitter_username: ethereum
github_username: ethereum
header_pages:
- all.html
- core.html
- networking.html
- interface.html
- erc.html
- meta.html
- informational.html
twitter:
card: summary
username: ethereum
# Build settings
highlighter: rouge
markdown: kramdown
theme: minima
kramdown:
parse_block_html: false
# This is the default, but be explicit as some EIPs depend on it
auto_ids: true
# This is to ensure more determistic behaviour
auto_id_stripping: true
syntax_highlighter: rouge
permalink: /:slug
defaults:
-
scope:
path: "EIPS"
values:
layout: "eip"
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- eip-template.md
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- README.md