|
18 | 18 | "versions": ["4.0.3"], |
19 | 19 | "topbarLinks": [ |
20 | 20 | { |
21 | | - "name": "Support", |
| 21 | + "name": "Github", |
| 22 | + "url": "https://github.com/Synthetixio/synpress/tree/dev" |
| 23 | + }, |
| 24 | + { |
| 25 | + "name": "Discord", |
22 | 26 | "url": "https://discord.gg/XhZKSRGtWc" |
| 27 | + }, |
| 28 | + { |
| 29 | + "name": "X", |
| 30 | + "url": "https://twitter.com/Synpress_" |
23 | 31 | } |
24 | 32 | ], |
| 33 | + "primaryTab": { |
| 34 | + "name": "Docs" |
| 35 | + }, |
25 | 36 | "tabs": [ |
26 | 37 | { |
27 | 38 | "name": "API", |
|
32 | 43 | "url": "https://github.com/Synthetixio/synpress/tree/dev/examples" |
33 | 44 | } |
34 | 45 | ], |
35 | | - "primaryTab": { |
36 | | - "name": "Documentation" |
37 | | - }, |
| 46 | + "anchors": [ |
| 47 | + { |
| 48 | + "name": "GitHub", |
| 49 | + "icon": "github", |
| 50 | + "url": "https://github.com/Synthetixio/synpress/tree/dev" |
| 51 | + }, |
| 52 | + { |
| 53 | + "name": "Discord", |
| 54 | + "icon": "discord", |
| 55 | + "url": "https://discord.gg/XhZKSRGtWc" |
| 56 | + }, |
| 57 | + |
| 58 | + { |
| 59 | + "name": "X", |
| 60 | + "icon": "x-twitter", |
| 61 | + "url": "https://twitter.com/Synpress_" |
| 62 | + } |
| 63 | + ], |
38 | 64 | "navigation": [ |
39 | 65 | { |
40 | 66 | "group": "Introduction", |
41 | 67 | "pages": [ |
42 | 68 | "docs/introduction", |
43 | | - "docs/getting-started", |
44 | | - "docs/setup-playwright", |
45 | | - "docs/setup-cypress", |
| 69 | + { |
| 70 | + "group": "Getting Started", |
| 71 | + "pages": ["docs/getting-started", "docs/setup-playwright", "docs/setup-cypress"] |
| 72 | + }, |
46 | 73 | "docs/migration-guide", |
47 | 74 | "docs/typescript", |
48 | 75 | "docs/platform-compatibility", |
|
61 | 88 | ] |
62 | 89 | }, |
63 | 90 | { |
64 | | - "group": "Functions", |
| 91 | + "group": "Index", |
65 | 92 | "pages": [ |
66 | | - "api-reference/functions/defineWalletSetup", |
67 | | - "api-reference/functions/testWithSynpress" |
| 93 | + { |
| 94 | + "group": "Functions", |
| 95 | + "pages": [ |
| 96 | + "api-reference/functions/index", |
| 97 | + "api-reference/functions/defineWalletSetup", |
| 98 | + "api-reference/functions/testWithSynpress" |
| 99 | + ] |
| 100 | + } |
68 | 101 | ] |
69 | 102 | }, |
70 | 103 | { |
71 | 104 | "group": "Cypress", |
72 | 105 | "pages": [ |
73 | 106 | "api-reference/cypress/index", |
74 | | - "api-reference/cypress/classes/index", |
75 | | - "api-reference/cypress/functions/index", |
76 | | - "api-reference/cypress/support/functions/index" |
| 107 | + { |
| 108 | + "group": "Classes", |
| 109 | + "pages": ["api-reference/cypress/classes/index", "api-reference/cypress/classes/MetaMask"] |
| 110 | + }, |
| 111 | + { |
| 112 | + "group": "Functions", |
| 113 | + "pages": [ |
| 114 | + "api-reference/cypress/functions/index", |
| 115 | + "api-reference/cypress/functions/configureSynpressForEthereumWalletMock", |
| 116 | + "api-reference/cypress/functions/configureSynpressForMetaMask", |
| 117 | + "api-reference/cypress/functions/initMetaMask" |
| 118 | + ] |
| 119 | + }, |
| 120 | + { |
| 121 | + "group": "Support", |
| 122 | + "pages": [ |
| 123 | + { |
| 124 | + "group": "Functions", |
| 125 | + "pages": [ |
| 126 | + "api-reference/cypress/support/functions/index", |
| 127 | + "api-reference/cypress/support/functions/mockEthereum", |
| 128 | + "api-reference/cypress/support/functions/synpressCommandsForEthereumWalletMock", |
| 129 | + "api-reference/cypress/support/functions/synpressCommandsForMetaMask" |
| 130 | + ] |
| 131 | + } |
| 132 | + ] |
| 133 | + } |
77 | 134 | ] |
78 | 135 | }, |
79 | 136 | { |
80 | 137 | "group": "Playwright", |
81 | 138 | "pages": [ |
82 | 139 | "api-reference/playwright/index", |
83 | | - "api-reference/playwright/classes/index", |
84 | | - "api-reference/playwright/variables/index", |
85 | | - "api-reference/playwright/functions/index" |
| 140 | + { |
| 141 | + "group": "Classes", |
| 142 | + "pages": [ |
| 143 | + "api-reference/playwright/classes/index", |
| 144 | + "api-reference/playwright/classes/EthereumWalletMock", |
| 145 | + "api-reference/playwright/classes/MetaMask" |
| 146 | + ] |
| 147 | + }, |
| 148 | + { |
| 149 | + "group": "Variables", |
| 150 | + "pages": [ |
| 151 | + "api-reference/playwright/variables/index", |
| 152 | + "api-reference/playwright/variables/DEFAULT_NETWORK_ID", |
| 153 | + "api-reference/playwright/variables/PRIVATE_KEY", |
| 154 | + "api-reference/playwright/variables/web3MockPath" |
| 155 | + ] |
| 156 | + }, |
| 157 | + { |
| 158 | + "group": "Functions", |
| 159 | + "pages": [ |
| 160 | + "api-reference/playwright/functions/index", |
| 161 | + "api-reference/playwright/functions/ethereumWalletMockFixtures", |
| 162 | + "api-reference/playwright/functions/getExtensionId", |
| 163 | + "api-reference/playwright/functions/metaMaskFixtures", |
| 164 | + "api-reference/playwright/functions/mockEthereum", |
| 165 | + "api-reference/playwright/functions/unlockForFixture" |
| 166 | + ] |
| 167 | + } |
86 | 168 | ] |
87 | 169 | } |
88 | 170 | ], |
|
0 commit comments