Skip to content

Commit 487bb06

Browse files
committed
add path-prefix
1 parent ca4ebe1 commit 487bb06

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/deploy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
- run: npm ci
2727
- run: npm run build
2828
- run: npm run build:docs
29-
- run: 'sed -i -e "s|Prefix: \"\"|Prefix: \"/execution-apis\"|g" build/docs/gatsby/gatsby-config.js'
30-
- run: 'sed -i -e "s|/api|api|g" build/docs/gatsby/src/pages/index.tsx'
3129
- name: Deploy to GitHub Pages
3230
if: success()
3331
uses: crazy-max/ghaction-github-pages@v4

docs/config/gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
pathPrefix: "",
2+
pathPrefix: "/execution-apis",
33
siteMetadata: {
44
title: 'Ethereum JSON-RPC Specification',
55
description: 'A specification of the standard interface for Ethereum clients.',

0 commit comments

Comments
 (0)