Skip to content

Commit e89982e

Browse files
authored
Docs deployment fix (dev) (#1713)
1 parent 99bcf84 commit e89982e

File tree

9 files changed

+18
-29
lines changed

9 files changed

+18
-29
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@docsearch/css": "^3.3.3",
2121
"@docsearch/js": "^3.3.3",
2222
"@iconify-json/ri": "^1.0.0",
23-
"@sveltejs/adapter-auto": "^2.0.0",
23+
"@sveltejs/adapter-static": "^2.0.2",
2424
"@sveltejs/kit": "^1.5.0",
2525
"@svelteness/kit-docs": "^1.1.3",
2626
"@tailwindcss/typography": "^0.5.9",

docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain
3333

3434
### Supported Networks
3535

36-
web3-onboard supports all EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#options).
36+
web3-onboard supports all EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization).
3737

3838
- Ethereum
3939
- Polygon
@@ -140,7 +140,7 @@ if (wallets[0]) {
140140

141141
Add other wallet modules such as Wallet Connect or Ledger to increase the support and functionality of your web3-onboard implementation. All modules are listed below and can be accessed through the subpages of web3-onboard docs on the left.
142142

143-
We recommend you add the [Core Repo](../..modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet & more right away.
143+
We recommend you add the [Core Repo](../../modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet & more right away.
144144

145145
[**Core Repo**](../../modules/core.md#install)
146146

@@ -152,11 +152,11 @@ We recommend you add the [Core Repo](../..modules/core.md#install) and consider
152152
- [WalletConnect](../../wallets/walletconnect.md#install)
153153
- [Gnosis](../../wallets/gnosis.md#install)
154154
- [Magic](../../wallets/magic.md#login-options)
155-
- [Fortmatic](../../wallets/formatic.md#install)
155+
- [Fortmatic](../../wallets/fortmatic.md#install)
156156
- [MEW](../../wallets/mewwallet.md#install)
157157
- [Portis](../../wallets/portis.md#install)
158158
- [Web3Auth](../../wallets/web3auth.md#install)
159-
- [Frame](../../docs/wallets/frame.md#install)
159+
- [Frame](../../wallets/frame.md#install)
160160

161161
**Hardware Wallets**
162162

docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If an issue does not already exist, follow the template instructions to create a
1919

2020
Once an issue is created, a Web3 Onboard maintainer will review and respond typically within a few days to share next steps.
2121

22-
## [Pull Requests 🗂️](#pr)
22+
## [Pull Requests 🗂️]
2323

2424
To create a new feature or change in Web3 Onboard, fork the repo and make a pull request on the [develop branch](https://github.com/blocknative/web3-onboard/tree/develop) to have your changes merged in and released as part of the official packages.
2525

@@ -39,7 +39,7 @@ Example : Adding a new injected wallet to the `injected` package -
3939
Example 2 : Bug fix within the `core` package -
4040
[Core package.json](https://github.com/blocknative/web3-onboard/blob/8531a73d69365f7d584320f1c4b97a5d90f1c34e/packages/core/package.json#L3) changes: `"version": "2.9.1-alpha.1",` --> `"version": "2.9.1-alpha.2",`
4141

42-
## [How can I add a new wallet? 💳](#new-wallet)
42+
## [How can I add a new wallet? 💳]
4343

4444
To add a new wallet to the official Web3 Onboard packages and repo, create a [pull request](#pull-requests-🗂️). Web3 Onboard does not require a wallet to be a part of the main code, so a separate wallet module can be created without any changes to the Web3Onboard codebase. Your PR must include a detailed README for the package, keeping in mind that this README is the the first point of contact for dapp devs looking to implement your wallet.
4545

@@ -57,7 +57,7 @@ Otherwise, if the wallet you are adding requires dependencies and initialization
5757

5858
If you cannot write the code yourself to add a new wallet, create a new feature request issue to be considered by the maintainers and other contributors in the community.
5959

60-
## [Documentation Contributions 📄](#docs)
60+
## [Documentation Contributions 📄]
6161

6262
If you contribute to the code, you should definitely document appropriately.
6363

@@ -71,11 +71,11 @@ PRs for adding/updating a wallet should include a README (new or updated) for th
7171

7272
We highly encourage the community to help us improve the web3-onboard docs! If you have any questions don't hesitate to reach out.
7373

74-
## [Feedback 💬](#feedback)
74+
## [Feedback 💬]
7575

7676
Did you have trouble integrating? Could the docs be improved? Have a new Feature request?
7777
Jump in our [Discord](https://discord.com/invite/KZaBVME) and share your feedback.
7878

79-
## [Support 🤓](#support)
79+
## [Support 🤓]
8080

8181
For general questions about how to use Web3 Onboard please first check out our [docs](../../overview/introduction.md#features), then head to our [Discord](https://discord.com/invite/KZaBVME) for support from the Blocknative team.

docs/src/routes/docs/[...1]overview/[...3]onboard.js-migration-guide/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const onboard = Onboard({
4747
})
4848
```
4949

50-
You can find the full list of initialization options in our docs [here](/docs/modules/core#options).
50+
You can find the full list of initialization options in our docs [here](/docs/modules/core#initialization).
5151

5252
### API Upgrades
5353

docs/src/routes/docs/[...2]getting-started/[...1]installation/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const chains = [
7373
#### App Metadata (Optional)
7474

7575
You can add metadata about your dapp.
76-
A full definition of `appMetaData` options can be found [here](/docs/modules/core#options)
76+
A full definition of `appMetaData` options can be found [here](/docs/modules/core#initialization)
7777

7878
```ts
7979
const appMetadata = {

docs/src/routes/docs/[...3]modules/[...1]core/+page.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,7 @@ type Chain = {
145145
icon?: string // the icon to represent the chain
146146
publicRpcUrl?: string // an optional public RPC used when adding a new chain config to the wallet
147147
blockExplorerUrl?: string // also used when adding a new config to the wallet
148-
<<<<<<< HEAD:docs/src/routes/docs/[...3]modules/[...1]core/+page.md
149148
secondaryTokens?: SecondaryTokens[] // An optional array of tokens (max of 5) to be available to the dapp in the app state object per wallet within the wallet account and displayed in Account Center (if enabled)
150-
=======
151-
secondaryTokens?: SecondaryTokens[] // An optional array of tokens (max of 5) to be available to the dapp in the app state object per wallet within the wallet account and displayed in Account Center (if enabled)
152-
>>>>>>> develop:docs/src/routes/docs/[...3]modules/core.md
153149
}
154150

155151
interface SecondaryTokens {

docs/src/routes/docs/[...3]modules/[...3]react/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const [
228228

229229
This hook allows the dev to access all notifications if enabled, send custom notifications and update notify <enable/disable & update transactionHandler function>
230230
**note** requires an API key be added to the initialization, enabled by default if API key exists
231-
For full Notification documentation please see [Notify section within the `@web3-onboard/core` docs](../../modules/core.md#options)
231+
For full Notification documentation please see [Notify section within the `@web3-onboard/core` docs](../../modules/core.md#initialization)
232232

233233
```typescript
234234
type UseNotifications = (): [

docs/svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adapter from '@sveltejs/adapter-auto'
1+
import adapter from '@sveltejs/adapter-static'
22
import preprocess from 'svelte-preprocess'
33

44
/** @type {import('@sveltejs/kit').Config} */

docs/yarn.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3318,12 +3318,10 @@
33183318
"@stablelib/random" "^1.0.2"
33193319
"@stablelib/wipe" "^1.0.1"
33203320

3321-
"@sveltejs/adapter-auto@^2.0.0":
3322-
version "2.0.1"
3323-
resolved "https://registry.yarnpkg.com/@sveltejs/adapter-auto/-/adapter-auto-2.0.1.tgz#86b14efd833d7002e4ab2338d5c1efaddb8729d3"
3324-
integrity sha512-anxxYMcQy7HWSKxN4YNaVcgNzCHtNFwygq72EA1Xv7c+5gSECOJ1ez1PYoLciPiFa7A3XBvMDQXUFJ2eqLDtAA==
3325-
dependencies:
3326-
import-meta-resolve "^3.0.0"
3321+
"@sveltejs/adapter-static@^2.0.2":
3322+
version "2.0.2"
3323+
resolved "https://registry.yarnpkg.com/@sveltejs/adapter-static/-/adapter-static-2.0.2.tgz#49afd27787fb73d789017d002a91031088494139"
3324+
integrity sha512-9wYtf6s6ew7DHUHMrt55YpD1FgV7oWql2IGsW5BXquLxqcY9vjrqCFo0TzzDpo+ZPZkW/v77k0eOP6tsAb8HmQ==
33273325

33283326
"@sveltejs/kit@^1.5.0":
33293327
version "1.16.3"
@@ -8085,11 +8083,6 @@ import-fresh@^3.2.1:
80858083
parent-module "^1.0.0"
80868084
resolve-from "^4.0.0"
80878085

8088-
import-meta-resolve@^3.0.0:
8089-
version "3.0.0"
8090-
resolved "https://registry.yarnpkg.com/import-meta-resolve/-/import-meta-resolve-3.0.0.tgz#94a6aabc623874fbc2f3525ec1300db71c6cbc11"
8091-
integrity sha512-4IwhLhNNA8yy445rPjD/lWh++7hMDOml2eHtd58eG7h+qK3EryMuuRbsHGPikCoAgIkkDnckKfWSk2iDla/ejg==
8092-
80938086
imurmurhash@^0.1.4:
80948087
version "0.1.4"
80958088
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"

0 commit comments

Comments
 (0)