Skip to content

Commit caf5990

Browse files
committed
more cleanup
1 parent 4557be6 commit caf5990

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ others don't.
115115

116116
[exec-apis]: https://github.com/ethereum/execution-apis
117117
[pm]: https://github.com/ethereum/pm
118-
[test-gen]: ../tests/README.md
118+
[test-gen]: ./tests/README.md

docusaurus.config.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ import type * as Preset from '@metamask/docusaurus-openrpc/dist/preset';
55
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
66

77
const config: Config = {
8-
title: 'My Site',
9-
tagline: 'Dinosaurs are cool',
8+
title: 'Ethereum Execution APIs',
9+
tagline: 'A JSON-RPC specification for Ethereum execution clients',
1010
favicon: 'img/favicon.ico',
1111

1212
// Set the production url of your site here
1313
url: 'https://acolytec3.github.io',
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
16-
baseUrl: '/execution-apis/',
16+
baseUrl: '/',
1717

1818
// GitHub pages deployment config.
1919
// If you aren't using GitHub pages, you don't need these.
2020
organizationName: 'acolytec3', // Usually your GitHub org/user name.
2121
projectName: 'execution-apis', // Usually your repo name.
2222
deploymentBranch: 'gh-pages',
2323

24-
onBrokenLinks: 'warn',
24+
onBrokenLinks: 'throw',
2525
onBrokenMarkdownLinks: 'warn',
2626

2727
// Even if you don't use internationalization, you can use this field to set
@@ -41,12 +41,11 @@ const config: Config = {
4141
routeBasePath: '/',
4242
openrpc: {
4343
openrpcDocument: './refs-openrpc.json',
44-
path: 'Reference',
44+
path: 'reference',
4545
sidebarLabel: 'JSON-RPC',
4646
},
4747
sidebarPath: './sidebars.ts',
4848
path: './docs',
49-
id: 'reference',
5049
},
5150
blog: false,
5251
theme: {
@@ -61,10 +60,10 @@ const config: Config = {
6160
image: 'img/docusaurus-social-card.jpg',
6261
navbar: {
6362
title: 'Execution APIs',
64-
logo: {
65-
alt: 'My Site Logo',
66-
src: 'img/logo.svg',
67-
},
63+
// logo: {
64+
// alt: 'My Site Logo',
65+
// src: 'img/logo.svg',
66+
// },
6867
items: [
6968
{
7069
type: 'docSidebar',

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "0.0.0",
44
"description": "Collection of JSON-RPC APIs provided by Ethereum 1.0 clients",
55
"main": "index.js",
6-
"type": "module",
76
"scripts": {
87
"build": "npm run build:spec",
98
"build:spec": "node scripts/build.js",
@@ -34,6 +33,9 @@
3433
},
3534
"homepage": "https://github.com/ethereum/execution-apis#readme",
3635
"devDependencies": {
36+
"@docusaurus/module-type-aliases": "3.7.0",
37+
"@docusaurus/tsconfig": "3.7.0",
38+
"@docusaurus/types": "3.7.0",
3739
"@graphql-inspector/core": "~3.3.0",
3840
"@open-rpc/generator": "1.18.6",
3941
"@open-rpc/schema-utils-js": "1.15.0",
@@ -43,18 +45,16 @@
4345
"graphql-request": "~4.1.0",
4446
"js-yaml": "~4.1.0",
4547
"json-schema-merge-allof": "~0.8.1",
46-
"@docusaurus/module-type-aliases": "3.7.0",
47-
"@docusaurus/tsconfig": "3.7.0",
48-
"@docusaurus/types": "3.7.0",
4948
"typescript": "~5.6.2"
5049
},
5150
"dependencies": {
5251
"@docusaurus/core": "3.7.0",
52+
"@docusaurus/plugin-content-docs": "^3.7.0",
5353
"@mdx-js/react": "^3.0.0",
5454
"@metamask/docusaurus-openrpc": "^0.4.1",
5555
"clsx": "^2.0.0",
5656
"prism-react-renderer": "^2.3.0",
5757
"react": "^18.0.0",
5858
"react-dom": "^18.0.0"
5959
}
60-
}
60+
}

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const sidebars: SidebarsConfig = {
2020
items: [
2121
{
2222
type: "autogenerated",
23-
dirName: ".",
23+
dirName: "reference",
2424
}
2525
],
2626
},],

0 commit comments

Comments
 (0)