Skip to content

Commit 4557be6

Browse files
committed
consolidate in base dir
1 parent e15e33e commit 4557be6

27 files changed

+40604
-37416
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
- main
77
workflow_dispatch:
88

9-
env:
10-
cwd: ${{github.workspace}}/site
11-
129
jobs:
1310
build:
1411
name: Build Docusaurus
@@ -23,17 +20,15 @@ jobs:
2320
cache: npm
2421

2522
- name: Install dependencies
26-
working-directory: ${{ env.cwd }}
2723
run: npm install --frozen-lockfile
2824

2925
- name: Build website
30-
working-directory: ${{ env.cwd }}
3126
run: npm run build
3227

3328
- name: Upload Build Artifact
3429
uses: actions/upload-pages-artifact@v3
3530
with:
36-
path: ${{ env.cwd }}/build
31+
path: build
3732

3833
deploy:
3934
name: Deploy to GitHub Pages

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ data.json
77
schema.json
88
*.dic
99
.idea/
10+
.docusaurus
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ const config: Config = {
1010
favicon: 'img/favicon.ico',
1111

1212
// Set the production url of your site here
13-
url: 'https://your-docusaurus-site.example.com',
13+
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: '/',
16+
baseUrl: '/execution-apis/',
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: 'throw',
24+
onBrokenLinks: 'warn',
2525
onBrokenMarkdownLinks: 'warn',
2626

2727
// Even if you don't use internationalization, you can use this field to set
@@ -40,16 +40,13 @@ const config: Config = {
4040
docs: {
4141
routeBasePath: '/',
4242
openrpc: {
43-
openrpcDocument: '../refs-openrpc.json',
43+
openrpcDocument: './refs-openrpc.json',
4444
path: 'Reference',
4545
sidebarLabel: 'JSON-RPC',
4646
},
47-
4847
sidebarPath: './sidebars.ts',
49-
// Please change this to your repo.
50-
// Remove this to remove the "edit this page" links.
51-
editUrl:
52-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
48+
path: './docs',
49+
id: 'reference',
5350
},
5451
blog: false,
5552
theme: {
@@ -85,15 +82,6 @@ const config: Config = {
8582
footer: {
8683
style: 'dark',
8784
links: [
88-
{
89-
title: 'Docs',
90-
items: [
91-
{
92-
label: 'Tutorial',
93-
to: '/docs/intro',
94-
},
95-
],
96-
},
9785
{
9886
title: 'More',
9987
items: [

0 commit comments

Comments
 (0)