Skip to content

Commit 0b50d60

Browse files
committed
Fix #285
1 parent cac16fa commit 0b50d60

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

btc-docs/overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
slug: /overview
2+
slug: /
3+
id: btc-overview
34
sidebar_position: 1
45
---
56

btc-docs/references/sdk/classes/ExtPsbt.md

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

99
Defined in: [packages/scrypt-ts-btc/src/psbt/extPsbt.ts:91](https://github.com/sCrypt-Inc/scrypt-btc-mono/blob/7d2760b2d3565565fcb011792878d3764e0701be/packages/scrypt-ts-btc/src/psbt/extPsbt.ts#L91)
1010

11-
Extended [Psbt][https://docs.scrypt.io/btc-docs/references/bitcoinjs-lib/classes/Psbt](https://docs.scrypt.io/btc-docs/references/bitcoinjs-lib/classes/Psbt) class.
11+
Extended [Psbt][https://docs.scrypt.io/references/bitcoinjs-lib/classes/Psbt](https://docs.scrypt.io/references/bitcoinjs-lib/classes/Psbt) class.
1212
Used to construct transactions to unlock smart contracts.
1313

1414
## Extends

btc-docs/references/sdk/classes/UnisatSigner.md

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

99
Defined in: [packages/scrypt-ts-btc/src/signers/unisatSigner.ts:29](https://github.com/sCrypt-Inc/scrypt-btc-mono/blob/7d2760b2d3565565fcb011792878d3764e0701be/packages/scrypt-ts-btc/src/signers/unisatSigner.ts#L29)
1010

11-
a [signer][https://docs.scrypt.io/btc-docs/how-to-deploy-and-call-a-contract/#signer](https://docs.scrypt.io/btc-docs/how-to-deploy-and-call-a-contract/#signer) which implemented the protocol with the [Unisat wallet][https://unisat.io](https://unisat.io),
11+
a [signer][https://docs.scrypt.io/how-to-deploy-and-call-a-contract/#signer](https://docs.scrypt.io/how-to-deploy-and-call-a-contract/#signer) which implemented the protocol with the [Unisat wallet][https://unisat.io](https://unisat.io),
1212
and dapps can use to interact with the Unisat wallet
1313

1414
## Implements

docs/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
slug: /
2+
slug: /overview
33
sidebar_position: 1
44
---
55

File renamed without changes.

docusaurus.config.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const config = {
3333
/** @type {import('@docusaurus/preset-classic').Options} */
3434
({
3535
docs: {
36-
routeBasePath: '/',
37-
sidebarPath: require.resolve('./sidebars.js'),
36+
routeBasePath: '/bsv-docs',
37+
sidebarPath: require.resolve('./docs/sidebars.js'),
3838
// Please change this to your repo.
3939
// Remove this to remove the "edit this page" links.
4040
// editUrl:
@@ -58,15 +58,14 @@ const config = {
5858
},
5959
items: [
6060
{
61-
type: "doc",
62-
docId: "overview",
6361
position: "left",
64-
label: "BSV",
62+
to: "/overview",
63+
label: "BTC",
6564
},
6665
{
6766
position: "left",
68-
label: "BTC",
69-
to: "/btc-docs/overview",
67+
to: "/bsv-docs/overview",
68+
label: "BSV",
7069
},
7170
{
7271
/* Only visible under docs. See src/custom/custom.css */
@@ -115,8 +114,8 @@ const config = {
115114
'@docusaurus/plugin-content-docs',
116115
{
117116
id: 'btc-docs',
118-
path: 'btc-docs',
119-
routeBasePath: 'btc-docs',
117+
path: './btc-docs',
118+
routeBasePath: '/',
120119
sidebarPath: './btc-docs/sidebars.js',
121120
// showLastUpdateAuthor: true,
122121
// showLastUpdateTime: true,

0 commit comments

Comments
 (0)