Skip to content

Commit b0ef8a4

Browse files
authored
Merge pull request #2 from acolytec3/openrpc-v2
update openrpc to v2
2 parents 2325067 + 335846c commit b0ef8a4

File tree

18 files changed

+13477
-34384
lines changed

18 files changed

+13477
-34384
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
name: Build Docusaurus
11+
name: Build Docs
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
lint-and-check:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Use Node.js 15.x
11-
uses: actions/setup-node@v1
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js 22
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: ^15.x
13+
node-version: 22
1414
- run: npm ci
1515
- run: npm run build
1616
- run: npm run lint

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ data.json
77
schema.json
88
*.dic
99
.idea/
10-
.docusaurus

.nojekyll

Whitespace-only changes.

css/custom.css

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/config/gatsby-config.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
module.exports = {
3+
pathPrefix: "",
4+
siteMetadata: {
5+
title: 'Ethereum JSON-RPC Specification',
6+
description: 'A specification of the standard interface for Ethereum clients.',
7+
siteUrl: 'https://open-rpc.org',
8+
logoUrl: 'https://raw.githubusercontent.com/open-rpc/design/master/icons/open-rpc-logo-noText/open-rpc-logo-noText%20(PNG)/256x256.png',
9+
primaryColor: '#3f51b5', //material-ui primary color
10+
secondaryColor: '#f50057', //material-ui secondary color
11+
author: '',
12+
menuLinks: [ {
13+
name: 'Contributors Guide',
14+
link: '/making-changes',
15+
ignoreNextPrev: true
16+
},
17+
{
18+
name: 'API Documentation',
19+
link: '/api-documentation'
20+
}
21+
],
22+
footerLinks: [
23+
{
24+
name: 'OpenRPC',
25+
link: 'https://open-rpc.org'
26+
}
27+
]
28+
},
29+
plugins: [
30+
{
31+
resolve: 'gatsby-plugin-mdx',
32+
options: {
33+
extensions: ['.mdx', '.md'],
34+
gatsbyRemarkPlugins: [
35+
{
36+
resolve: 'gatsby-remark-autolink-headers',
37+
options: {
38+
icon: false,
39+
},
40+
},
41+
],
42+
},
43+
},
44+
"gatsby-openrpc-theme",
45+
{
46+
resolve: 'gatsby-plugin-manifest',
47+
options: {
48+
name: 'pristine-site',
49+
short_name: 'pristine-site',
50+
start_url: '/',
51+
background_color: 'transparent',
52+
theme_color: '#3f51b5',
53+
display: 'minimal-ui',
54+
icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site.
55+
},
56+
},
57+
"gatsby-plugin-image",
58+
"gatsby-plugin-sharp",
59+
"gatsby-transformer-sharp",
60+
{
61+
resolve: "gatsby-source-filesystem",
62+
options: {
63+
name: "images",
64+
path: __dirname + '/src/images',
65+
},
66+
},
67+
{
68+
resolve: "gatsby-source-filesystem",
69+
options: {
70+
name: "docs",
71+
path: __dirname + '/src/docs',
72+
},
73+
},
74+
],
75+
}

docs/reference/making-changes.md renamed to docs/making-changes.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Contributors Guide
3+
description: A guide for proposing changes to the Ethereum JSON-RPC API
4+
path: /docs/making-changes
5+
---
6+
17
# Contributors Guide
28

39
This guide will explain for new and experienced contributors alike how to
@@ -115,4 +121,4 @@ others don't.
115121

116122
[exec-apis]: https://github.com/ethereum/execution-apis
117123
[pm]: https://github.com/ethereum/pm
118-
[test-gen]: https://github.com/ethereum/execution-apis/blob/main/tests/README.md
124+
[test-gen]: ../tests/README.md

docs/reference/intro.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docusaurus.config.ts

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)