Merge pull request #6 from spadebuilders/jekyll-chains

Basic Jekyll site with just-the-docs theme
This commit is contained in:
Pedro Gomes 2018-12-20 20:42:12 +00:00 committed by GitHub
commit 6d8343a622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 408 additions and 186 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
_site
.sass-cache
.jekyll-metadata

24
404.html Normal file
View File

@ -0,0 +1,24 @@
---
layout: default
---
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>

31
Gemfile Normal file
View File

@ -0,0 +1,31 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.5"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.0"
gem "just-the-docs"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

72
Gemfile.lock Normal file
View File

@ -0,0 +1,72 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.1.4)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.9.25)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.5)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-feed (0.11.0)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (2.1.2)
listen (~> 3.0)
just-the-docs (0.2.1)
jekyll (~> 3.8.5)
rake (~> 12.3.1)
kramdown (1.17.0)
liquid (4.0.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
rake (12.3.2)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rouge (3.3.0)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.7.2)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 3.8.5)
jekyll-feed (~> 0.6)
just-the-docs
tzinfo-data
BUNDLED WITH
1.16.3

23
_config.yml Normal file
View File

@ -0,0 +1,23 @@
title: EVM Networks
description: >- # this means to ignore newlines until "baseurl:"
A site to share information about EVM powered networks.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
# Build settings
markdown: kramdown
theme: just-the-docs
plugins:
- jekyll-feed
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
# exclude:
# - Gemfile
# - Gemfile.lock
# - node_modules
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/

186
_data/chains.json Normal file
View File

@ -0,0 +1,186 @@
[
{
"name": "Ethereum Mainnet",
"short_name": "eth",
"chain": "ETH",
"network": "mainnet",
"chain_id": 1,
"network_id": 1
},
{
"name": "Expanse Network",
"short_name": "exp",
"chain": "EXP",
"network": "mainnet",
"chain_id": 2,
"network_id": 1
},
{
"name": "Ethereum Testnet Ropsten",
"short_name": "rop",
"chain": "ETH",
"network": "ropsten",
"chain_id": 3,
"network_id": 3
},
{
"name": "Ethereum Testnet Rinkeby",
"short_name": "rin",
"chain": "ETH",
"network": "rinkeby",
"chain_id": 4,
"network_id": 4
},
{
"name": "Ethereum Testnet Görli",
"short_name": "gor",
"chain": "ETH",
"network": "goerli",
"chain_id": 5,
"network_id": 5
},
{
"name": "Ubiq Network Mainnet",
"short_name": "ubq",
"chain": "UBQ",
"network": "mainnet",
"chain_id": 8,
"network_id": 1
},
{
"name": "Ubiq Network Testnet",
"short_name": "tubq",
"chain": "UBQ",
"network": "mainnet",
"chain_id": 9,
"network_id": 2
},
{
"name": "Ethereum Social",
"short_name": "etsc",
"chain": "ETSC",
"network": "mainnet",
"chain_id": 28,
"network_id": 1
},
{
"name": "Rootstock Mainnet",
"short_name": "rsk",
"chain": "RSK",
"network": "mainnet",
"chain_id": 30,
"network_id": 1
},
{
"name": "Rootstock Testnet",
"short_name": "trsk",
"chain": "RSK",
"network": "testnet",
"chain_id": 30,
"network_id": 2
},
{
"name": "GoChain",
"short_name": "go",
"chain": "GO",
"network": "mainnet",
"chain_id": 30,
"network_id": 1
},
{
"name": "Ethereum Classic Mainnet",
"short_name": "etc",
"chain": "ETC",
"network": "mainnet",
"chain_id": 61,
"network_id": 1
},
{
"name": "Ethereum Classic Testnet",
"short_name": "tetc",
"chain": "ETC",
"network": "testnet",
"chain_id": 62,
"network_id": 2
},
{
"name": "Ellaism",
"short_name": "ella",
"chain": "ELLA",
"network": "mainnet",
"chain_id": 64,
"network_id": 1
},
{
"name": "Mix",
"short_name": "mix",
"chain": "MIX",
"network": "mainnet",
"chain_id": 76,
"network_id": 1
},
{
"name": "POA Network Sokol",
"short_name": "poa",
"chain": "POA",
"network": "sokol",
"chain_id": 77,
"network_id": 1
},
{
"name": "POA Network Core",
"short_name": "skl",
"chain": "POA",
"network": "core",
"chain_id": 99,
"network_id": 2
},
{
"name": "xDAI Chain",
"short_name": "dai",
"chain": "DAI",
"network": "mainnet",
"chain_id": 100,
"network_id": 1
},
{
"name": "Callisto Mainnet",
"short_name": "CLO",
"chain": "CLO",
"network": "mainnet",
"chain_id": 820,
"network_id": 1
},
{
"name": "Callisto Testnet",
"short_name": "tclo",
"chain": "CLO",
"network": "testnet",
"chain_id": 821,
"network_id": 2
},
{
"name": "Atheios",
"short_name": "ath",
"chain": "ATH",
"network": "mainnet",
"chain_id": 1620,
"network_id": 1
},
{
"name": "EtherGem",
"short_name": "egem",
"chain": "EGEM",
"network": "mainnet",
"chain_id": 1987,
"network_id": 1
},
{
"name": "EOS Classic",
"short_name": "eosc",
"chain": "EOSC",
"network": "mainnet",
"chain_id": 2018,
"network_id": 1
}
]

View File

@ -0,0 +1,25 @@
---
layout: post
title: "Welcome to Jekyll!"
date: 2018-12-20 11:48:28 -0800
categories: jekyll update
---
Youll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
Jekyll also offers powerful support for code snippets:
{% highlight ruby %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekylls GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
[jekyll-docs]: https://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/

9
about.md Normal file
View File

@ -0,0 +1,9 @@
---
layout: default
title: About
permalink: /about/
---
Information about all of the EVM powered networks.
Get involved in the [Github repo](https://github.com/spadebuilders/chains).

View File

@ -1,186 +1,5 @@
[
{
"name": "Ethereum Mainnet",
"short_name": "eth",
"chain": "ETH",
"network": "mainnet",
"chain_id": 1,
"network_id": 1
},
{
"name": "Expanse Network",
"short_name": "exp",
"chain": "EXP",
"network": "mainnet",
"chain_id": 2,
"network_id": 1
},
{
"name": "Ethereum Testnet Ropsten",
"short_name": "rop",
"chain": "ETH",
"network": "ropsten",
"chain_id": 3,
"network_id": 3
},
{
"name": "Ethereum Testnet Rinkeby",
"short_name": "rin",
"chain": "ETH",
"network": "rinkeby",
"chain_id": 4,
"network_id": 4
},
{
"name": "Ethereum Testnet Görli",
"short_name": "gor",
"chain": "ETH",
"network": "goerli",
"chain_id": 5,
"network_id": 5
},
{
"name": "Ubiq Network Mainnet",
"short_name": "ubq",
"chain": "UBQ",
"network": "mainnet",
"chain_id": 8,
"network_id": 1
},
{
"name": "Ubiq Network Testnet",
"short_name": "tubq",
"chain": "UBQ",
"network": "mainnet",
"chain_id": 9,
"network_id": 2
},
{
"name": "Ethereum Social",
"short_name": "etsc",
"chain": "ETSC",
"network": "mainnet",
"chain_id": 28,
"network_id": 1
},
{
"name": "Rootstock Mainnet",
"short_name": "rsk",
"chain": "RSK",
"network": "mainnet",
"chain_id": 30,
"network_id": 1
},
{
"name": "Rootstock Testnet",
"short_name": "trsk",
"chain": "RSK",
"network": "testnet",
"chain_id": 30,
"network_id": 2
},
{
"name": "GoChain",
"short_name": "go",
"chain": "GO",
"network": "mainnet",
"chain_id": 30,
"network_id": 1
},
{
"name": "Ethereum Classic Mainnet",
"short_name": "etc",
"chain": "ETC",
"network": "mainnet",
"chain_id": 61,
"network_id": 1
},
{
"name": "Ethereum Classic Testnet",
"short_name": "tetc",
"chain": "ETC",
"network": "testnet",
"chain_id": 62,
"network_id": 2
},
{
"name": "Ellaism",
"short_name": "ella",
"chain": "ELLA",
"network": "mainnet",
"chain_id": 64,
"network_id": 1
},
{
"name": "Mix",
"short_name": "mix",
"chain": "MIX",
"network": "mainnet",
"chain_id": 76,
"network_id": 1
},
{
"name": "POA Network Sokol",
"short_name": "poa",
"chain": "POA",
"network": "sokol",
"chain_id": 77,
"network_id": 1
},
{
"name": "POA Network Core",
"short_name": "skl",
"chain": "POA",
"network": "core",
"chain_id": 99,
"network_id": 2
},
{
"name": "xDAI Chain",
"short_name": "dai",
"chain": "DAI",
"network": "mainnet",
"chain_id": 100,
"network_id": 1
},
{
"name": "Callisto Mainnet",
"short_name": "CLO",
"chain": "CLO",
"network": "mainnet",
"chain_id": 820,
"network_id": 1
},
{
"name": "Callisto Testnet",
"short_name": "tclo",
"chain": "CLO",
"network": "testnet",
"chain_id": 821,
"network_id": 2
},
{
"name": "Atheios",
"short_name": "ath",
"chain": "ATH",
"network": "mainnet",
"chain_id": 1620,
"network_id": 1
},
{
"name": "EtherGem",
"short_name": "egem",
"chain": "EGEM",
"network": "mainnet",
"chain_id": 1987,
"network_id": 1
},
{
"name": "EOS Classic",
"short_name": "eosc",
"chain": "EOSC",
"network": "mainnet",
"chain_id": 2018,
"network_id": 1
}
]
---
layout: none
permalink: chains.json
---
{% include_relative _data/chains.json %}

30
index.md Normal file
View File

@ -0,0 +1,30 @@
---
layout: home
---
# EVM Networks
A list of EVM networks.
This table is also available as a JSON feed at [chains.json](/chains.json).
<table>
<tr>
<th>Chain ID</th>
<th>Name</th>
<th>Short Name</th>
<th>Chain</th>
<th>Network</th>
<th>Network ID</th>
</tr>
{% for chain in site.data.chains %}
<tr>
<td>{{ chain.chain_id }}</td>
<td>{{ chain.name }}</td>
<td>{{ chain.short_name }}</td>
<td>{{ chain.chain }}</td>
<td>{{ chain.network }}</td>
<td>{{ chain.network_id }}</td>
</tr>
{% endfor %}
</table>