Compare commits

..

13 Commits

Author SHA1 Message Date
import this 77a6003324 adding one more redirect 2024-11-04 18:17:15 +00:00
import this ecf926d713 correct all redirects based on testing - ready to review 2024-11-04 18:08:58 +00:00
import this 5d2b8713c3 test the difference in config 2024-11-04 17:45:11 +00:00
mfahampshire 40d850e34a tweak 2024-11-04 17:50:49 +01:00
mfahampshire 49ae1b7566 tweak 2024-11-04 17:39:47 +01:00
mfahampshire dfebe3e5c8 move root redirect to bottom 2024-11-04 17:36:55 +01:00
mfahampshire 527bd45930 new tweaks 2024-11-04 17:32:33 +01:00
mfahampshire d1521ebd8a more tweaks config redirects 2024-11-04 17:29:32 +01:00
mfahampshire 6402c6a10e try remove prepend from redirects 2024-11-04 17:07:02 +01:00
mfahampshire 16add3c042 add new redirect fix 2024-11-04 16:39:45 +01:00
mfahampshire ad2553fb76 add new redirect fix 2024-11-04 16:20:08 +01:00
mfahampshire f046e1df2f add new redirect 2024-11-04 16:11:19 +01:00
mx d6599b2933 [DOCs]: New docs framework (#5017)
* started todo list for rework

* startd long todo list

* startd long todo list

* remove ts docs from ts sdk dir

* started new docs draft

* rearranged code example dir structure

* modified code component filepaths

* first pass rust sdk

* small shift typescript org

* updated todo list

* consolidating images folders in one place

* first pass @ operator docs

* gen updates

* sdk in its own dir

* first pass developers structure

* first pass network structure

* structure

* add licensing

* moved old docs -> old_docs dir for clarity when devving

* moving around new docs - think this is the final dir structure

* updated todo list

* new autodoc version (#4781)

* Update rework_todo.md

* quick first sketch of landing page

* rework of structure of developers

* added arch and concepts stubs

* add new bits to todo list

* new list

* tweak to overview

* mixnet node overview

* tweak overview

* first pass new arch

* first pass concepts

* first pass traffic

* more network docs

* moved some chain files to the dev portal stubs

* removed old reference to archive

* note to client

* concepts 2nd pass

* crypto first proper pass, sphinx

* stub for not p2p

* structure change

* traffic 2nd pass

* misc

* hid root index

* overhaul arch

* overhaul arch

* add links + tweaks

* update todo list

* updating nyx section

* added zknym docs

* added zknym docs

* note on where to find deployed info

* smart contracts done

* started moving integrations docs over from ts sdk

* pass @ integration page

* todo for the tldr overview

* added ffi stub files

* updated todo list

* move sdks to developers

* initial pass at new clients overview for developers

* rework intro

* add echo serv to tools

* sidebar autocollapse

* integration overview work + tools

* concepts overview for devporta

* stub

* more for networking pages

* added to concepts in dev portal

* updated arch

* crypto overview page

* typo fix

* add credential stub

* first pass concepts done

* start reorg of rust sdk docs

* reorg + added FFI table

* added no scroll to inline code

* finished ffi overview page

* first pass @ rest of rust sdk doc

* first pass ffi

* tweaks

* added testnet example + note to custom topology example overview

* stripped unnecessary stuff from TS

* tweaks to ffi

* updated faq

* first pass tcpproxy

* commit before moving image dir

* moved images/ to correct place

* started on client redo

* chain first pass

* moved cli wallet out of tools

* first pass new ws client

* new chain info, left todo links in

* links

* more links

* chain registry

* added echo server to tools

* rust sdk links

* ts sdk links

* final linkchecks

* redo acks diagram as mermaid

* add mermaid flow diagram

* added links for codecs + full flow diagram

* removed todo

* remove forced dark mode

* diagram + concepts overview

* small correction re tcpproxy ffi

* remove diagram title

* new sock5 diagram, minor client docs tweaks

* diagrams

* change order in list

* added note for standalone: can be accessed via sdk

* tweaks

* replaced old diagram with mermaid

* fixed link

* hardcoded import version for the moment

* update deps

* remove test component

* recreated tools dir

* remove tools dir moved to wrong palce

* prebuild and predev script for autodoc commands

* make script own command instead of prebuild

* made code blocks sh

* updated autogenerated docs

* temp

* auto commit generated command files

* add link to autodoc generated files

* updated autodoc for committing changing else exit

* auto commit generated command files

* updated readme

* make subcommand headers smaller

* removed mdbook related scripts

* update readme

* update readme

* removed backups of root meta.json

* cherry pick yana commits + some extra config in theme

* update readme

* update theme: width of page and padding

* some more themeing

* changed erroneous note

* docs redirects first pass

* tweaking

* new pages + rest of redirects for old docs/

* brought in archive + done rewrites for devportal

* cherry pick yana landingpage

* tweaked landing page component

* changed theme of mermaid diagram to match everything else

* updated todo list

* [DOCs]: Operators rework to next.js (#4930)

* initialise operators guides v2

* new introduction page

* add variables csv and page

* add baseurl to allow short path

* add sandbox page

* added building from source page

* add binary pages

* add preliminary steps

* clean preliminary steps dir

* syntax edit

* syntax edit

* add configuration page

* create new proxy configuration page

* create new proxy configuration page

* create bonding.mdx page

* correct images path

* syntax edit

* add new validator setup page

* add api setup page

* add nyx configuration page

* add nym node and maintenance pages

* finish maintenance and add nymvisor conf page

* add manual upgrade page

* add nymvisor upgrade page

* add performance testing page and dir

* add node api check page

* add explore nym scripts page

* add testing pages

* fix menu issue by moving snippets to coomponents

* add all troubleshooting pages

* add general faq page

* add nym node faq page

* add nyx faq page

* revamp legal forum to community counsel and add all pages

* rewire relative paths to new structure

* simplify setup and remove lock file

* syntax fix

* rm package.json

* re add package.json, rm package-lock.json

* removed old books from commit

* address review comments

---------

Co-authored-by: mfahampshire <maxhampshire@pm.me>
Co-authored-by: mx <33262279+mfahampshire@users.noreply.github.com>

* tweak client links

* also moved matrix images to correct place

* Max/fix links new docs framework (#4989)

* tweak client links
* standardise images in public/
* old images move to public/archive

* rename overview to more descriptive

* links (#4990)

* links
* removed todos
* updated todo list

* minor themeing

* operator redirects

* pick yana's edits: remove specified callout theming

* added todo comments for old ts sdk redirects

* [new/docs/operators]: Create archive section - PR ready to merge (#5004)

* [new-docs/operators] : Fix callout syntax (#5006)

* fix callout syntax from color to type

* correct callout from danger to warning

* update footer

* updated footer

* finalised rewrites

* tweaks to clients and reintroduced old examples page

* update todo

* Max/individual command autodocs (#5015)


* auto commit generated command files

* added to autodoc.sh: build all binaries before running

* autodoc move individual command outputs to components

* Max/individual command autodocs (#5018)


* updated autodoc script

* updated autodoc script for fix + reintroduced gitignore file for generated markdown

* auto commit generated command files

* auto commit generated command files

* added command-outputs to autodoc script

* fix merge conflicts

* repush components

* remove old docs dirs

* auto commit generated command files

* auto commit generated command files

* updated messages paradigm with the standalone proxies

* [NEW-DOCs/operators]: Command output, accordion, api scraping & all final tasks (#5026)

* add custom scripts, create prebuild to import data to pages

* update after latest prebuild

* auto commit generated command files

* add accordion component

* add changbelog page

* add node_api_check outputs

* finish all command outputs

* more accordions beautifications

* finish accordion

* PR ready to go

* address review comments

---------

Co-authored-by: mfahampshire <maxhampshire@pm.me>

* Adjust padding

* Fix responsive design

* cherry pick yana landingpage flex update

* reremove old docs

* added dependencies to readme

* pushing build attempt changes

* fix merge errors, path errors, dump uselss dinosaurs - BUILT THE F*N DOCS w success

* moved prebuild to its own script

* generate timenow

* auto commit generated command files

* remove comment

* auto commit generated command files

* auto commit generated command files

* auto commit generated command files

* build from new configs

* add mdx type as explicit dep

* remove rc from version in package

* change predev script

* update readme with scripts

* update general info

* add license

* auto commit generated command files

* add updated components

* removed old examples page for the moment

* remove old list will reintroduce hidden behind gitignore for future

* reintroduce todo list behind gitignore

* added standalone tcpproxy binary info

* nothing change for redeploy test

* make build standalone

* updated readme

* working on new cd

* remove export

* updated ci/cd for docs

* added ci script for dist

* hide text on laptop wide screen

* add pnpm to ci/cd

* add pnpm version to ci/cd

* add default dir to ci/cd

* change path to script

* update projct name ci

* lint ci branch ignore

* add basePath to next.config.js

* update doc rewrites

* revert basePath addition

* update basePath

* add mobile styles

* fix responsive style

* remove old ts sdk docs workflow

* temp remove autodoc from workspace

* update sidebar for clarity: crypto = cryptography

* ignore documentation in pr-validation workflow

---------

Co-authored-by: Yana <yanok87@users.noreply.github.com>
Co-authored-by: import this <97586125+serinko@users.noreply.github.com>
Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk>
2024-11-04 11:42:56 +00:00
+192 -94
View File
@@ -43,445 +43,543 @@ const config = {
async redirects() {
return [
// network docs
// {
// source: "/",
// destination: "/docs",
// basePath: false,
// permanent: true,
// },
{
source: "/",
destination: "/docs",
basePath: false,
source: "/operators",
destination: "docs/operators/introduction",
permanent: true,
basePath : false,
},
{
source: "/docs/operators",
destination: "docs/operators/introduction",
permanent: true,
basePath : false,
},
{
source: "/developers",
destination: "/docs/developers",
permanent: true,
basePath : false,
},
{
source: "/docs/architecture/nym-vs-others.html",
destination: "/network/architecture/nym-vs-others",
destination: "/docs/network/architecture/nym-vs-others",
permanent: true,
basePath : false,
},
{
source: "/docs/architecture/traffic-flow.html",
destination: "/network/traffic",
destination: "/docs/network/traffic", // testing difference
permanent: true,
basePath : false,
},
{
source: "/docs/architecture/addressing-system.html",
destination: "/network/traffic/addressing-system",
destination: "/docs/network/traffic/addressing-system",
permanent: true,
basePath : false,
},
{
source: "/docs/binaries/pre-built-binaries.html",
destination: "/developers/binaries#building-from-source",
destination: "/docs/developers/binaries#building-from-source",
permanent: true,
basePath : false,
},
{
source: "/docs/binaries/init-and-config.html",
destination: "/developers/binaries#building-from-source",
destination: "/docs/developers/binaries#building-from-source",
permanent: true,
basePath : false,
},
{
source: "/docs/binaries/building-nym.html",
destination: "/developers/binaries#building-from-source",
destination: "/docs/developers/binaries#building-from-source",
permanent: true,
basePath : false,
},
{
source: "/docs/nodes/overview.html ",
destination: "/network/architecture/mixnet/nodes",
destination: "/docs/network/architecture/mixnet/nodes",
permanent: true,
basePath : false,
},
{
source: "/docs/wallet/desktop-wallet.html",
destination:
"https://github.com/nymtech/nym/tree/master/nym-wallet#installation-prerequisites---linux--mac",
permanent: true,
basePath : false,
},
{
source: "/docs/wallet/cli-wallet.html",
destination: "/developers/chain/cli-wallet",
destination: "/docs/developers/chain/cli-wallet",
permanent: true,
basePath : false,
},
{
source: "/docs/explorers/mixnet-explorer.html",
destination:
"https://github.com/nymtech/nym/tree/master/explorer#nym-network-explorer",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/interacting-with-chain.html",
destination: "/developers/chain",
destination: "/docs/developers/chain",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/smart-contracts.html",
destination: "/network/architecture/nyx/smart-contracts",
destination: "/docs/network/architecture/nyx/smart-contracts",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/mixnet-contract.html",
destination:
"/network/architecture/nyx/smart-contracts/mixnet-contract",
"/docs/network/architecture/nyx/smart-contracts/mixnet-contract",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/vesting-contract.html",
destination:
"/network/architecture/nyx/smart-contracts/vesting-contract",
"/docs/network/architecture/nyx/smart-contracts/vesting-contract",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/rpc-node.html",
destination: "/developers/chain/rpc-node",
destination: "/docs/developers/chain/rpc-node",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/ledger-live.html",
destination: "/developers/chain/ledger-live",
destination: "/docs/developers/chain/ledger-live",
permanent: true,
basePath : false,
},
{
source: "/docs/coconut.html",
destination: "/network/cryptography/zk-nym",
destination: "/docs/network/cryptography/zk-nym",
permanent: true,
basePath : false,
},
{
source: "/docs/nyx/bandwidth-credentials.html",
destination: "/network/cryptography/zk-nym",
destination: "/docs/network/cryptography/zk-nym",
permanent: true,
basePath : false,
},
{
source: "/docs/tools/nym-cli.html",
destination: "/developers/tools/nym-cli",
destination: "/docs/developers/tools/nym-cli",
permanent: true,
basePath : false,
},
{
source: "/docs/coc.html",
destination: "/network/coc",
destination: "/docs/network/coc",
permanent: true,
basePath : false,
},
{
source: "/docs/licensing.html",
destination: "/network/licensing",
destination: "/docs/network/licensing",
permanent: true,
basePath : false,
},
// dev docs
{
source: "/developers/clients-overview.html",
destination: "/developers/clients",
destination: "/docs/developers/clients",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/rust.html",
destination: "/developers/rust",
destination: "/docs/developers/rust",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/message-types.html",
destination: "/developers/rust/mixnet/message-types",
destination: "/docs/developers/rust/mixnet/message-types",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/message-helpers.html",
destination: "/developers/rust/mixnet/message-helpers",
destination: "/docs/developers/rust/mixnet/message-helpers",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/troubleshooting.html",
destination: "/developers/rust/mixnet/troubleshooting",
destination: "/docs/developers/rust/mixnet/troubleshooting",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples.html",
destination: "/developers/rust/mixnet/examples",
destination: "/docs/developers/rust/mixnet/examples",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/simple.html",
destination: "/developers/rust/mixnet/examples/simple",
destination: "/docs/developers/rust/mixnet/examples/simple",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/keys.html",
destination: "/developers/sdk/rust/examples/keys.html",
destination: "/docs/developers/sdk/rust/examples/keys.html",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/storage.html",
destination:
"/developers/rust/mixnet/examples/builders/builder-with-storage",
"/docs/developers/rust/mixnet/examples/builders/builder-with-storage",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/surbs.html",
destination: "/developers/rust/mixnet/examples/surbs",
destination: "/docs/developers/rust/mixnet/examples/surbs",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/custom-network.html",
destination: "/developers/rust/mixnet/examples/custom-topology",
destination: "/docs/developers/rust/mixnet/examples/custom-topology",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/socks.html",
destination: "/developers/rust/mixnet/examples/socks",
destination: "/docs/developers/rust/mixnet/examples/socks",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/split-send.html",
destination: "/developers/rust/mixnet/examples/split-send",
destination: "/docs/developers/rust/mixnet/examples/split-send",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/credential.html",
destination: "/developers/rust/mixnet",
destination: "/docs/developers/rust/mixnet",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/rust/examples/cargo.html",
destination: "/developers/rust/importing",
destination: "/docs/developers/rust/importing",
permanent: true,
basePath : false,
},
{
source: "/developers/sdk/typescript.html",
destination: "/developers/typescript",
destination: "/docs/developers/typescript",
permanent: true,
basePath : false,
},
{
source: "/developers/binaries/pre-built-binaries.html",
destination: "/developers/binaries#pre-built-binaries",
destination: "/docs/developers/binaries#pre-built-binaries",
permanent: true,
basePath : false,
},
{
source: "/developers/binaries/building-nym.html",
destination: "/developers/binaries",
destination: "/docs/developers/binaries",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/websocket-client.html",
destination: "/developers/clients/websocket",
destination: "/docs/developers/clients/websocket",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/websocket/setup.html",
destination: "/developers/clients/websocket/setup",
destination: "/docs/developers/clients/websocket/setup",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/websocket/config.html",
destination: "/developers/clients/websocket/config",
destination: "/docs/developers/clients/websocket/config",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/websocket/usage.html",
destination: "/developers/clients/websocket/usage",
destination: "/docs/developers/clients/websocket/usage",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/websocket/examples.html",
destination: "/developers/clients/websocket/examples",
destination: "/docs/developers/clients/websocket/examples",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/socks5-client.html",
destination: "/developers/clients/socks5",
destination: "/docs/developers/clients/socks5",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/socks5/setup.html",
destination: "/developers/clients/socks5#client-setup",
destination: "/docs/developers/clients/socks5#client-setup",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/socks5/usage.html",
destination: "/developers/clients/socks5#using-your-socks5-client",
destination: "/docs/developers/clients/socks5#using-your-socks5-client",
permanent: true,
basePath : false,
},
{
source: "/developers/clients/webassembly-client.html",
destination: "/developers/clients/webassembly-client",
destination: "/docs/developers/clients/webassembly-client",
permanent: true,
basePath : false,
},
{
source: "/developers/tutorials/coming-soon.html",
destination: "/developers/rust#",
destination: "/docs/developers/rust#",
permanent: true,
basePath : false,
},
{
source: "/developers/integrations/integration-options.html",
destination: "/developers/integrations",
destination: "/docs/developers/integrations",
permanent: true,
basePath : false,
},
{
source: "/developers/faq/integrations-faq.html",
destination: "/developers/integrations",
destination: "/docs/developers/integrations",
permanent: true,
basePath : false,
},
{
source: "/developers/coc.html",
destination: "/developers/coc",
destination: "/docs/developers/coc",
permanent: true,
basePath : false,
},
{
source: "/developers/licensing.html",
destination: "/developers/licensing",
destination: "/docs/developers/licensing",
permanent: true,
basePath : false,
},
{
source: "/developers/nymvpn/intro.html",
destination: "/developers/archive/nymvpn",
destination: "/docs/developers/archive/nymvpn",
permanent: true,
basePath : false,
},
{
source: "/developers/nymvpn/cli.html",
destination: "/developers/nymvpn/cli",
destination: "/docs/developers/nymvpn/cli",
permanent: true,
basePath : false,
},
{
source: "/developers/archive/nym-connect.html",
destination: "/developers/archive/nym-connect",
destination: "/docs/developers/archive/nym-connect",
permanent: true,
basePath : false,
},
{
source: "/developers/examples/custom-services.html",
destination: "/developers/rust/mixnet/other-examples#services",
destination: "/docs/developers/rust/mixnet/other-examples#services",
permanent: true,
basePath : false,
},
{
source: "/developers/examples/browser-only.html",
destination: "/developers/rust/mixnet/other-examples#browser-only",
destination: "/docs/developers/rust/mixnet/other-examples#browser-only",
permanent: true,
basePath : false,
},
{
source: "/developers/examples/using-nrs.html",
destination: "/developers/rust/mixnet/other-examples",
destination: "/docs/developers/rust/mixnet/other-examples",
permanent: true,
basePath : false,
},
{
source: "/developers/examples/monorepo-examples.html",
destination: "/developers/rust/mixnet/other-examples",
destination: "/docs/developers/rust/mixnet/other-examples",
permanent: true,
basePath : false,
},
{
source: "/developers/integrations",
destination: "/developers/integrations/payment-integration.html",
destination: "/docs/developers/integrations/payment-integration.html",
permanent: true,
basePath : false,
},
// {
// source: "",
// destination: "",
// permanent: true,
// },
// operators:
// specific urls that have changed
{
source: "/operators/nodes/wallet-preparation.html",
destination: "/operators/nodes/preliminary-steps/wallet-preparation",
destination: "/docs/operators/nodes/preliminary-steps/wallet-preparation",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/vps-setup.html",
destination: "/operators/nodes/preliminary-steps/vps-setup",
destination: "/docs/operators/nodes/preliminary-steps/vps-setup",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/proxy-configuration.html",
destination:
"/operators/nodes/nym-node/configuration/proxy-configuration",
"/docs/operators/nodes/nym-node/configuration/proxy-configuration",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/bonding.html",
destination: "/operators/nodes/nym-node/bonding",
destination: "/docs/operators/nodes/nym-node/bonding",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/nym-api.html",
destination: "/operators/nodes/validator-setup/nym-api",
destination: "/docs/operators/nodes/validator-setup/nym-api",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/nyx-configuration.html",
destination: "/operators/nodes/validator-setup/nyx-configuration",
destination: "/docs/operators/nodes/validator-setup/nyx-configuration",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/manual-upgrade.html",
destination: "/operators/nodes/maintenance/manual-upgrade",
destination: "/docs/operators/nodes/maintenance/manual-upgrade",
permanent: true,
basePath : false,
},
{
source: "/operators/nodes/nymvisor-upgrade.html",
destination: "/operators/nodes/maintenance/nymvisor-upgrade",
destination: "/docs/operators/nodes/maintenance/nymvisor-upgrade",
permanent: true,
basePath : false,
},
{
source: "/operators/testing/performance.html",
destination: "/operators/nodes/performance-and-testing",
destination: "/docs/operators/nodes/performance-and-testing",
permanent: true,
basePath : false,
},
{
source: "/operators/testing/gateway-probe.html",
destination: "/operators/nodes/performance-and-testing/gateway-probe",
destination: "/docs/operators/nodes/performance-and-testing/gateway-probe",
permanent: true,
basePath : false,
},
{
source: "/operators/testing/node-api-check.html",
destination: "/operators/nodes/performance-and-testing/node-api-check",
destination: "/docs/operators/nodes/performance-and-testing/node-api-check",
permanent: true,
basePath : false,
},
{
source: "/operators/testing/prometheus-grafana.html",
destination:
"/operators/nodes/performance-and-testing/prometheus-grafana",
"/docs/operators/nodes/performance-and-testing/prometheus-grafana",
permanent: true,
basePath : false,
},
{
source: "/operators/testing/explorenym-scripts.html",
destination:
"/operators/nodes/performance-and-testing/prometheus-grafana/explorenym-scripts",
"/docs/operators/nodes/performance-and-testing/prometheus-grafana/explorenym-scripts",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/community-counsel.html",
destination: "/operators/community-counsel",
destination: "/docs/operators/community-counsel",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/exit-gateway.html",
destination: "/operators/community-counsel/exit-gateway",
destination: "/docs/operators/community-counsel/exit-gateway",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/isp-list.html",
destination: "/operators/community-counsel/isp-list",
destination: "/docs/operators/community-counsel/isp-list",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/jurisdictions.html",
destination: "/operators/community-counsel/jurisdictions",
destination: "/docs/operators/community-counsel/jurisdictions",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/swiss.html",
destination: "/operators/community-counsel/jurisdictions/swiss",
destination: "/docs/operators/community-counsel/jurisdictions/swiss",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/united-states.html",
destination: "/operators/community-counsel/jurisdictions/united-states",
destination: "/docs/operators/community-counsel/jurisdictions/united-states",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/landing-pages.html",
destination: "/operators/community-counsel/landing-pages",
destination: "/docs/operators/community-counsel/landing-pages",
permanent: true,
basePath : false,
},
{
source: "/operators/legal/add-content.html",
destination: "/operators/community-counsel/add-content",
destination: "/docs/operators/community-counsel/add-content",
permanent: true,
},
// since the filepaths are mostly the same, we otherwise just match on old URLs that end with .html
{
source: "/:path*.html",
destination: "/:path*",
permanent: false,
basePath : false,
},
// Change the basePath to /docs
{
source: "/",
destination: "/docs",
basePath: false,
permanent: true,
},
// TODO these need to go in the config of the existing deployed ts sdk docs to redirect from there
// these assume source basePath = sdk.nymtech.net
// {