diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ec926644b2..8bf84ea12f 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,4 @@ blank_issues_enabled: false contact_links: - name: Scaleway assistance url: https://console.scaleway.com/support/tickets/ - about: Contact Scaleway Assistance for help with product-related issues. \ No newline at end of file + about: Contact Scaleway Assistance for help with product-related issues. diff --git a/.github/ISSUE_TEMPLATE/doc_bug.yaml b/.github/ISSUE_TEMPLATE/doc_bug.yaml index 26211712b8..5a0d64dc6f 100644 --- a/.github/ISSUE_TEMPLATE/doc_bug.yaml +++ b/.github/ISSUE_TEMPLATE/doc_bug.yaml @@ -1,7 +1,7 @@ name: Documentation bug description: Raise an issue related to content. -title: "🐞 Documentation Bug: " -labels: "Documentation Bug" +title: '🐞 Documentation Bug: ' +labels: 'Documentation Bug' body: - type: markdown attributes: @@ -11,7 +11,7 @@ body: - type: input attributes: label: What content on scaleway.com/en/docs is affected? - placeholder: "https://www.scaleway.com/en/docs/" + placeholder: 'https://www.scaleway.com/en/docs/' validations: required: true - type: textarea @@ -26,12 +26,12 @@ body: - type: textarea attributes: label: Additional context - placeholder: "Add any other context or screenshots about the feature request here." + placeholder: 'Add any other context or screenshots about the feature request here.' validations: required: false - type: textarea attributes: label: Related PR(s) - placeholder: "Let us know if this is related to an open pull request" + placeholder: 'Let us know if this is related to an open pull request' validations: - required: false \ No newline at end of file + required: false diff --git a/.github/ISSUE_TEMPLATE/doc_request.yaml b/.github/ISSUE_TEMPLATE/doc_request.yaml index 95dddf2a24..420e0e1699 100644 --- a/.github/ISSUE_TEMPLATE/doc_request.yaml +++ b/.github/ISSUE_TEMPLATE/doc_request.yaml @@ -1,7 +1,7 @@ name: Documentation request description: Suggest a topic or new documentation you think we should add. -title: "👩‍💻 Documentation Request: " -labels: "Documentation Request" +title: '👩‍💻 Documentation Request: ' +labels: 'Documentation Request' body: - type: markdown attributes: @@ -27,19 +27,19 @@ body: attributes: label: Want to write this documentation yourself? options: - - "Yes" - - "No" + - 'Yes' + - 'No' validations: required: true - type: textarea attributes: label: Related PR(s) - placeholder: "Let us know if this is related to an open pull request." + placeholder: 'Let us know if this is related to an open pull request.' validations: required: false - type: textarea attributes: label: Email address - placeholder: "Leave us your email address in case we need to contact you." + placeholder: 'Leave us your email address in case we need to contact you.' validations: required: false diff --git a/.github/labeler.yml b/.github/labeler.yml index 156aee5e71..e64cd13cce 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,9 +1,7 @@ 'type: developer': - .github/** - - .husky/** - bin/** - - .prettierrc - - commitlint.config.js + - .oxfmtrc.json - package.json 'type: changelog': diff --git a/.github/workflows/do-not-merge.yml b/.github/workflows/do-not-merge.yml index 71e2c1e010..4c252a86f1 100644 --- a/.github/workflows/do-not-merge.yml +++ b/.github/workflows/do-not-merge.yml @@ -14,4 +14,4 @@ jobs: run: | echo "Pull request is labeled as 'do not merge'" echo "This workflow fails so that the pull request cannot be merged" - exit 1 \ No newline at end of file + exit 1 diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index 04555bbf60..f112452a8c 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -1,5 +1,4 @@ - -name: "Draft" +name: 'Draft' on: pull_request_target: types: [converted_to_draft] @@ -15,4 +14,4 @@ jobs: uses: actions-ecosystem/action-add-labels@v1 with: labels: | - status: draft \ No newline at end of file + status: draft diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9ef125c10f..3f73c53297 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,5 @@ -name: "Pull Request Labeler" -on: - pull_request_target +name: 'Pull Request Labeler' +on: pull_request_target jobs: triage: diff --git a/.github/workflows/remove-draft.yml b/.github/workflows/remove-draft.yml index b9b53f3aec..a1df919fe5 100644 --- a/.github/workflows/remove-draft.yml +++ b/.github/workflows/remove-draft.yml @@ -11,4 +11,4 @@ jobs: - uses: actions-ecosystem/action-remove-labels@v1 with: labels: | - status: draft \ No newline at end of file + status: draft diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 0000000000..5c857a5f46 --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,17 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "singleQuote": true, + "trailingComma": "all", + "semi": false, + "arrowParens": "avoid", + "tabWidth": 2, + "printWidth": 80, + "sortPackageJson": false, + "ignorePatterns": [ + "node_modules/", + "package.json", + "pnpm-lock.yaml", + "*.mdx", + "styles/" + ] +} diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 7e6a14ce90..0000000000 --- a/.prettierignore +++ /dev/null @@ -1,4 +0,0 @@ -node_modules/ -package.json -pnpm-lock.yaml -*.mdx diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index fcf2125411..0000000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "all", - "semi": false, - "arrowParens": "avoid", - "tabWidth": 2 -} diff --git a/docs/CODE_OF_CONDUCT.md b/docs/CODE_OF_CONDUCT.md index cf3c46aa66..e5b2776219 100644 --- a/docs/CODE_OF_CONDUCT.md +++ b/docs/CODE_OF_CONDUCT.md @@ -56,7 +56,6 @@ We are committed to maintaining a community where users are free to express them Restrictions are temporary where feasible, and do not serve the purpose of purging or restricting any specific dual-use content, or copies of that content, from the platform in perpetuity. While we aim to make these rare cases of restriction a collaborative process with project owners, if you do feel your content was unduly restricted, we have an [appeals process](#appeal-and-reinstatement) in place. To facilitate a path to abuse resolution with project maintainers themselves, prior to escalation to GitHub abuse reports, we recommend, but do not require, that repository owners take the following steps when posting potentially harmful security research content: - - Clearly identify and describe any potentially harmful content in a disclaimer in the project's README.md file or source code comments. - Provide a preferred contact method for any 3rd party abuse inquiries through a SECURITY.md file in the repository (e.g. "Please create an issue on this repository for any questions or concerns"). Such a contact method allows 3rd parties to reach out to project maintainers directly and potentially resolve concerns without the need to file abuse reports. diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 66d53bd8cd..1cb4fbb8b4 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -29,59 +29,58 @@ No, this repository only hosts the documentation site **content**, and does not ### Contribution procedure for internal Scaleway users > [!IMPORTANT] -> - All rules below concern this repository. -> - Any PRs which do not comply with the rules below will be rejected. +> +> - All rules below concern this repository. +> - Any PRs which do not comply with the rules below will be rejected. 1. Run the command below in a terminal to clone the repository and access it: - ```bash - git clone git@github.com:scaleway/docs-content.git && cd docs-content - ``` + ```bash + git clone git@github.com:scaleway/docs-content.git && cd docs-content + ``` 1. Make sure you have identified the [type of content](https://github.com/scaleway/docs-content#what-is-the-scaleway-documentation-platform) that you want to write or edit (e.g. tutorial, API/CLI documentation, additional content or troubleshooting). 1. Run the command below to create a local Git branch: - ```bash - git checkout -b name-of-my-branch - ``` + ```bash + git checkout -b name-of-my-branch + ``` - All branch names must comply with the following naming convention: `[source]-[action]-[product]`. + All branch names must comply with the following naming convention: `[source]-[action]-[product]`. + - `source`: Either `int` (for internal Scaleway contributors) or `ext` (for external contributors). - - `source`: Either `int` (for internal Scaleway contributors) or `ext` (for external contributors). + - `action`: The action you will perform in the documentation, described in 3 letters or less: `add` for adding content, `rm` for removing content, or `fix` to fix typos. - - `action`: The action you will perform in the documentation, described in 3 letters or less: `add` for adding content, `rm` for removing content, or `fix` to fix typos. + - `product`: the name of the product that corresponds to the documentation page you will edit. - - `product`: the name of the product that corresponds to the documentation page you will edit. - - :information_source: **Example:** - in the branch `int-add-instances`, an internal contributor will add information to a documentation page of the Instances product category. + :information_source: **Example:** + in the branch `int-add-instances`, an internal contributor will add information to a documentation page of the Instances product category. 1. Make your edits to the documentation. Refer to the [writing guidelines](https://www.scaleway.com/en/docs/guidelines/) to ensure your changes comply with our style guide. 1. Run the command below to stage your changes before committing them: - ```bash - git add path/to/files - ``` + ```bash + git add path/to/files + ``` 1. Run the command below to create a new commit containing the changes previously staged. Refer to the [commit naming conventions](#commit-conventions) below to properly name your commit. - ```bash - git commit -m "docs(product): description with some words" - ```` + ```bash + git commit -m "docs(product): description with some words" + ``` 1. Run the command below to push your changes to the remote repository: - ``` - git push --set-upstream origin - ``` - -1. Go to [the pull requests page](https://github.com/scaleway/docs-content/pulls) to open a pull request. + ``` + git push --set-upstream origin + ``` - All pull requests names must comply with the following naming convention: - `docs(product_name): description with some words`. +1. Go to [the pull requests page](https://github.com/scaleway/docs-content/pulls) to open a pull request. + All pull requests names must comply with the following naming convention: + `docs(product_name): description with some words`. > [!IMPORTANT] > All PRs are reviewed and approved by the Scaleway Product Documentation team before being merged by them. @@ -91,68 +90,68 @@ No, this repository only hosts the documentation site **content**, and does not ### Contribution procedure for external users > [!IMPORTANT] -> - All rules below concern this repository. -> - Any PRs which do not comply with the rules below will be rejected. +> +> - All rules below concern this repository. +> - Any PRs which do not comply with the rules below will be rejected. 1. Access the [docs-content repository](https://github.com/scaleway/docs-content/), and click **Fork** in the top right corner. A form appears. 2. Keep the default values in the form, and click **Create Fork**. -1. Make sure you have identified the [type of content](https://github.com/scaleway/docs-content#what-is-the-scaleway-documentation-platform) that you want to write or edit (e.g. tutorial, API/CLI documentation, additional content or troubleshooting). +3. Make sure you have identified the [type of content](https://github.com/scaleway/docs-content#what-is-the-scaleway-documentation-platform) that you want to write or edit (e.g. tutorial, API/CLI documentation, additional content or troubleshooting). -1. Run the command below to create a local Git branch: +4. Run the command below to create a local Git branch: - ```bash - git checkout -b name-of-my-branch - ``` + ```bash + git checkout -b name-of-my-branch + ``` - All branch names must comply with the following naming convention: `[source]-[action]-[product]`. + All branch names must comply with the following naming convention: `[source]-[action]-[product]`. + - `source`: Either `int` (for internal Scaleway contributors) or `ext` (for external contributors). - - `source`: Either `int` (for internal Scaleway contributors) or `ext` (for external contributors). + - `action`: The action you will perform in the documentation, described in 3 letters or less: `add` for adding content, `rm` for removing content, or `fix` to fix typos. - - `action`: The action you will perform in the documentation, described in 3 letters or less: `add` for adding content, `rm` for removing content, or `fix` to fix typos. + - `product`: the name of the product that corresponds to the documentation page you will edit. - - `product`: the name of the product that corresponds to the documentation page you will edit. + :information_source: **Example:** + in the branch `ext-add-instances`, an external contributor will add information to a documentation page of the Instances product category. - :information_source: **Example:** - in the branch `ext-add-instances`, an external contributor will add information to a documentation page of the Instances product category. +5. Make your edits to the documentation. Refer to the [writing guidelines](https://www.scaleway.com/en/docs/guidelines/) to ensure your changes comply with our guidelines. -1. Make your edits to the documentation. Refer to the [writing guidelines](https://www.scaleway.com/en/docs/guidelines/) to ensure your changes comply with our guidelines. +6. Run the command below to stage your changes before committing them: -1. Run the command below to stage your changes before committing them: + ```bash + git add path/to/files + ``` - ```bash - git add path/to/files - ``` +7. Run the command below to create a new commit containing the changes previously staged. Refer to the [commit naming conventions](#commit-conventions) below to properly name your commit. -1. Run the command below to create a new commit containing the changes previously staged. Refer to the [commit naming conventions](#commit-conventions) below to properly name your commit. + ```bash + git commit -m "docs(product): description with some words" + ``` - ```bash - git commit -m "docs(product): description with some words" - ```` +8. Run the command below to push your changes to the remote repository: -1. Run the command below to push your changes to the remote repository: + ``` + git push --set-upstream origin + ``` - ``` - git push --set-upstream origin - ``` - -1. Go to [the pull requests page](https://github.com/scaleway/docs-content/pulls) to open a pull request. +9. Go to [the pull requests page](https://github.com/scaleway/docs-content/pulls) to open a pull request. -1. Click **Create pull request**, then select +10. Click **Create pull request**, then select - - base repository: `scaleway/docs-content` +- base repository: `scaleway/docs-content` - - base: `main` +- base: `main` - - head repository: `/docs-content` +- head repository: `/docs-content` - - compare: `` +- compare: `` 1. Click **Create pull request**. - All pull requests names must comply with the following naming convention: - `docs(product_name): description with some words`. + All pull requests names must comply with the following naming convention: + `docs(product_name): description with some words`. > [!IMPORTANT] > All PRs are reviewed and approved by the Scaleway Product Documentation team before being merged by them. diff --git a/docs/templates/menu.ts b/docs/templates/menu.ts index ded3288d78..440b702429 100644 --- a/docs/templates/menu.ts +++ b/docs/templates/menu.ts @@ -27,9 +27,9 @@ export const productnameMenu = { slug: 'manage-x', }, { - label: "Delete a ", - slug: "delete-a-" - } + label: 'Delete a ', + slug: 'delete-a-', + }, ], label: 'How to', slug: 'how-to', diff --git a/menu/changelogs.json b/menu/changelogs.json index bb41a339ab..efdedfc1ff 100644 --- a/menu/changelogs.json +++ b/menu/changelogs.json @@ -354,4 +354,4 @@ "label": "Partners", "icon": "PartnersCategoryIcon" } -] \ No newline at end of file +] diff --git a/menu/filters.json b/menu/filters.json index 900ba27eec..5ea230da41 100644 --- a/menu/filters.json +++ b/menu/filters.json @@ -317,4 +317,4 @@ "label": "Partners", "icon": "PartnersCategoryIcon" } -] \ No newline at end of file +] diff --git a/menu/mainLinks.json b/menu/mainLinks.json index f68a989974..5ad64e4f60 100644 --- a/menu/mainLinks.json +++ b/menu/mainLinks.json @@ -46,4 +46,4 @@ "slug": "https://github.com/scaleway/docs-content" } ] -} \ No newline at end of file +} diff --git a/menu/navigation.ts b/menu/navigation.ts index 943cc5f63c..cedefc3841 100644 --- a/menu/navigation.ts +++ b/menu/navigation.ts @@ -1,88 +1,83 @@ // please use precise camel case versions of each product slug // for its associated menu naming, to avoid breaking tooling import { accountMenu } from '../pages/account/menu' -import { appleSiliconMenu } from "../pages/apple-silicon/menu" -import { auditTrailMenu } from "../pages/audit-trail/menu" +import { appleSiliconMenu } from '../pages/apple-silicon/menu' +import { auditTrailMenu } from '../pages/audit-trail/menu' import { billingMenu } from '../pages/billing/menu' -import { blockStorageMenu } from "../pages/block-storage/menu" -import { classicHostingMenu } from "../pages/classic-hosting/menu" -import { clustersForKafkaMenu } from "../pages/clusters-for-kafka/menu" -import { cockpitMenu } from "../pages/cockpit/menu" -import { containerRegistryMenu } from "../pages/container-registry/menu" -import { cpanelHostingMenu } from "../pages/cpanel-hosting/menu" -import { dataLabMenu } from "../pages/data-lab/menu" -import { dataWarehouseMenu } from "../pages/data-warehouse/menu" -import { dediboxMenu } from "../pages/dedibox/menu" -import { dediboxAccountMenu } from "../pages/dedibox-account/menu" -import { dediboxDnsMenu } from "../pages/dedibox-dns/menu" -import { dediboxDomainsMenu } from "../pages/dedibox-domains/menu" -import { dediboxHardwareMenu } from "../pages/dedibox-hardware/menu" -import { dediboxIpFailoverMenu } from "../pages/dedibox-ip-failover/menu" -import { dediboxIpv6Menu } from "../pages/dedibox-ipv6/menu" -import { dediboxKvmOverIpMenu } from "../pages/dedibox-kvm-over-ip/menu" -import { dediboxNetworkMenu } from "../pages/dedibox-network/menu" -import { dediboxRpnMenu } from "../pages/dedibox-rpn/menu" -import { dediboxScalewayMenu } from "../pages/dedibox-scaleway/menu" -import { dediboxVpsMenu } from "../pages/dedibox-vps/menu" -import { domainsAndDnsMenu } from "../pages/domains-and-dns/menu" -import { edgeServicesMenu } from "../pages/edge-services/menu" -import { elasticMetalMenu } from "../pages/elastic-metal/menu" +import { blockStorageMenu } from '../pages/block-storage/menu' +import { classicHostingMenu } from '../pages/classic-hosting/menu' +import { clustersForKafkaMenu } from '../pages/clusters-for-kafka/menu' +import { cockpitMenu } from '../pages/cockpit/menu' +import { containerRegistryMenu } from '../pages/container-registry/menu' +import { cpanelHostingMenu } from '../pages/cpanel-hosting/menu' +import { dataLabMenu } from '../pages/data-lab/menu' +import { dataWarehouseMenu } from '../pages/data-warehouse/menu' +import { dediboxMenu } from '../pages/dedibox/menu' +import { dediboxAccountMenu } from '../pages/dedibox-account/menu' +import { dediboxDnsMenu } from '../pages/dedibox-dns/menu' +import { dediboxDomainsMenu } from '../pages/dedibox-domains/menu' +import { dediboxHardwareMenu } from '../pages/dedibox-hardware/menu' +import { dediboxIpFailoverMenu } from '../pages/dedibox-ip-failover/menu' +import { dediboxIpv6Menu } from '../pages/dedibox-ipv6/menu' +import { dediboxKvmOverIpMenu } from '../pages/dedibox-kvm-over-ip/menu' +import { dediboxNetworkMenu } from '../pages/dedibox-network/menu' +import { dediboxRpnMenu } from '../pages/dedibox-rpn/menu' +import { dediboxScalewayMenu } from '../pages/dedibox-scaleway/menu' +import { dediboxVpsMenu } from '../pages/dedibox-vps/menu' +import { domainsAndDnsMenu } from '../pages/domains-and-dns/menu' +import { edgeServicesMenu } from '../pages/edge-services/menu' +import { elasticMetalMenu } from '../pages/elastic-metal/menu' import { environmentalFootprintMenu } from '../pages/environmental-footprint/menu' -import { fileStorageMenu } from "../pages/file-storage/menu" -import { generativeApisMenu } from "../pages/generative-apis/menu" -import { gpuMenu } from "../pages/gpu/menu" +import { fileStorageMenu } from '../pages/file-storage/menu' +import { generativeApisMenu } from '../pages/generative-apis/menu' +import { gpuMenu } from '../pages/gpu/menu' import { iamMenu } from '../pages/iam/menu' import { instancesMenu } from '../pages/instances/menu' -import { interlinkMenu } from "../pages/interlink/menu" -import { iotHubMenu } from "../pages/iot-hub/menu" -import { ipamMenu } from "../pages/ipam/menu" +import { interlinkMenu } from '../pages/interlink/menu' +import { iotHubMenu } from '../pages/iot-hub/menu' +import { ipamMenu } from '../pages/ipam/menu' import { keyManagerMenu } from '../pages/key-manager/menu' -import { kubernetesMenu } from "../pages/kubernetes/menu" -import { loadBalancerMenu } from "../pages/load-balancer/menu" -import { localStorageMenu } from "../pages/local-storage/menu" -import { managedDatabasesForPostgresqlAndMysqlMenu } from "../pages/managed-databases-for-postgresql-and-mysql/menu" -import { managedDatabasesForRedisMenu } from "../pages/managed-databases-for-redis/menu" -import { managedInferenceMenu } from "../pages/managed-inference/menu" -import { managedMongodbDatabasesMenu } from "../pages/managed-mongodb-databases/menu" -import { natsMenu } from "../pages/nats/menu" -import { objectStorageMenu } from "../pages/object-storage/menu" -import { openSearchMenu } from "../pages/opensearch/menu" +import { kubernetesMenu } from '../pages/kubernetes/menu' +import { loadBalancerMenu } from '../pages/load-balancer/menu' +import { localStorageMenu } from '../pages/local-storage/menu' +import { managedDatabasesForPostgresqlAndMysqlMenu } from '../pages/managed-databases-for-postgresql-and-mysql/menu' +import { managedDatabasesForRedisMenu } from '../pages/managed-databases-for-redis/menu' +import { managedInferenceMenu } from '../pages/managed-inference/menu' +import { managedMongodbDatabasesMenu } from '../pages/managed-mongodb-databases/menu' +import { natsMenu } from '../pages/nats/menu' +import { objectStorageMenu } from '../pages/object-storage/menu' +import { openSearchMenu } from '../pages/opensearch/menu' import { organizationsAndProjectsMenu } from '../pages/organizations-and-projects/menu' -import { partnerSpaceMenu } from "../pages/partner-space/menu" -import { publicGatewaysMenu } from "../pages/public-gateways/menu" -import { queuesMenu } from "../pages/queues/menu" -import { scalewayCliMenu } from "../pages/scaleway-cli/menu" -import { scalewaySdkMenu } from "../pages/scaleway-sdk/menu" -import { secretManagerMenu } from "../pages/secret-manager/menu" -import { serverlessContainersMenu } from "../pages/serverless-containers/menu" -import { serverlessFunctionsMenu } from "../pages/serverless-functions/menu" -import { serverlessJobsMenu } from "../pages/serverless-jobs/menu" -import { serverlessSqlDatabasesMenu } from "../pages/serverless-sql-databases/menu" -import { siteToSiteVpnMenu } from "../pages/site-to-site-vpn/menu" -import { terraformMenu } from "../pages/terraform/menu" -import { topicsAndEventsMenu } from "../pages/topics-and-events/menu" -import { transactionalEmailMenu } from "../pages/transactional-email/menu" -import { vpcMenu } from "../pages/vpc/menu" -import { webhostingMenu } from "../pages/webhosting/menu" -import { quantumComputingMenu } from "../pages/quantum-computing/menu" +import { partnerSpaceMenu } from '../pages/partner-space/menu' +import { publicGatewaysMenu } from '../pages/public-gateways/menu' +import { queuesMenu } from '../pages/queues/menu' +import { scalewayCliMenu } from '../pages/scaleway-cli/menu' +import { scalewaySdkMenu } from '../pages/scaleway-sdk/menu' +import { secretManagerMenu } from '../pages/secret-manager/menu' +import { serverlessContainersMenu } from '../pages/serverless-containers/menu' +import { serverlessFunctionsMenu } from '../pages/serverless-functions/menu' +import { serverlessJobsMenu } from '../pages/serverless-jobs/menu' +import { serverlessSqlDatabasesMenu } from '../pages/serverless-sql-databases/menu' +import { siteToSiteVpnMenu } from '../pages/site-to-site-vpn/menu' +import { terraformMenu } from '../pages/terraform/menu' +import { topicsAndEventsMenu } from '../pages/topics-and-events/menu' +import { transactionalEmailMenu } from '../pages/transactional-email/menu' +import { vpcMenu } from '../pages/vpc/menu' +import { webhostingMenu } from '../pages/webhosting/menu' +import { quantumComputingMenu } from '../pages/quantum-computing/menu' export default [ { items: [ { icon: 'OrganizationDashboardCategoryIcon', - items: [ - accountMenu, - ], + items: [accountMenu], label: 'Account', category: 'console', }, { icon: 'CostAndImpactManagementCategoryIcon', - items: [ - billingMenu, - environmentalFootprintMenu - ], + items: [billingMenu, environmentalFootprintMenu], label: 'Cost & Impact Management', category: 'console', }, @@ -104,38 +99,25 @@ export default [ items: [ { icon: 'AiCategoryIcon', - items: [ - generativeApisMenu, - managedInferenceMenu, - ], + items: [generativeApisMenu, managedInferenceMenu], label: 'AI', category: 'ai-data', }, { icon: 'BaremetalCategoryIcon', - items: [ - appleSiliconMenu, - dediboxScalewayMenu, - elasticMetalMenu, - ], + items: [appleSiliconMenu, dediboxScalewayMenu, elasticMetalMenu], label: 'Bare Metal', category: 'bare-metal', }, { icon: 'ComputeCategoryIcon', - items: [ - instancesMenu, - gpuMenu, - ], + items: [instancesMenu, gpuMenu], label: 'Compute', category: 'compute', }, { icon: 'ContainersCategoryIcon', - items: [ - containerRegistryMenu, - kubernetesMenu, - ], + items: [containerRegistryMenu, kubernetesMenu], label: 'Containers', category: 'containers', }, @@ -153,51 +135,31 @@ export default [ }, { icon: 'DataAndAnalyticsCategoryIcon', - items: [ - dataWarehouseMenu, - dataLabMenu, - clustersForKafkaMenu, - natsMenu, - ], + items: [dataWarehouseMenu, dataLabMenu, clustersForKafkaMenu, natsMenu], label: 'Data & Analytics', category: 'data-and-analytics', }, { icon: 'DevToolsCategoryIcon', - items: [ - scalewayCliMenu, - scalewaySdkMenu, - terraformMenu, - ], + items: [scalewayCliMenu, scalewaySdkMenu, terraformMenu], label: 'Developer Tools', category: 'developer-tools', }, { icon: 'DomainsAndWebHostingCategoryIcon', - items: [ - domainsAndDnsMenu, - transactionalEmailMenu, - webhostingMenu, - ], + items: [domainsAndDnsMenu, transactionalEmailMenu, webhostingMenu], label: 'Domains & Web Hosting', category: 'domains-and-web-hosting', }, { icon: 'IntegrationServicesCategoryIcon', - items: [ - iotHubMenu, - topicsAndEventsMenu, - queuesMenu, - ], + items: [iotHubMenu, topicsAndEventsMenu, queuesMenu], label: 'Integration Services', category: 'integration-services', }, { icon: 'MonitoringCategoryIcon', - items: [ - auditTrailMenu, - cockpitMenu, - ], + items: [auditTrailMenu, cockpitMenu], label: 'Monitoring', category: 'monitoring', }, @@ -227,9 +189,7 @@ export default [ }, { icon: 'LabsCategoryIcon', - items: [ - quantumComputingMenu, - ], + items: [quantumComputingMenu], label: 'Quantum', category: 'quantum', }, @@ -251,11 +211,7 @@ export default [ items: [ { icon: 'OrganizationDashboardCategoryIcon', - items: [ - classicHostingMenu, - cpanelHostingMenu, - dediboxAccountMenu, - ], + items: [classicHostingMenu, cpanelHostingMenu, dediboxAccountMenu], label: 'Dedibox Console', category: 'dedibox-console', }, @@ -265,7 +221,7 @@ export default [ dediboxHardwareMenu, dediboxMenu, dediboxVpsMenu, - dediboxKvmOverIpMenu + dediboxKvmOverIpMenu, ], label: 'Dedibox Servers', category: 'dedibox', @@ -290,9 +246,7 @@ export default [ items: [ { icon: 'PartnersCategoryIcon', - items: [ - partnerSpaceMenu, - ], + items: [partnerSpaceMenu], label: 'Partners', category: 'partners', }, diff --git a/package.json b/package.json index 55f133eba6..44e3e62e53 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ ] }, "devDependencies": { - "prettier": "^3.8.1" + "oxfmt": "^0.35.0" }, "scripts": { - "format": "pnpm prettier --config .prettierrc --write \"**/*.json\"" + "format": "oxfmt --write ." } } diff --git a/pages/account/menu.ts b/pages/account/menu.ts index 3b1365b0e3..a5054fc278 100644 --- a/pages/account/menu.ts +++ b/pages/account/menu.ts @@ -31,8 +31,8 @@ export const accountMenu = { slug: 'log-in-to-the-console', }, { - label: "Change account ownership", - slug: "change-ownership-organization" + label: 'Change account ownership', + slug: 'change-ownership-organization', }, { label: 'Change the language', diff --git a/pages/apple-silicon/menu.ts b/pages/apple-silicon/menu.ts index 957224ed42..c04d7151a0 100644 --- a/pages/apple-silicon/menu.ts +++ b/pages/apple-silicon/menu.ts @@ -76,7 +76,7 @@ export const appleSiliconMenu = { }, { label: 'Adjust the available bandwidth', - slug: 'adjust-available-bandwidth' + slug: 'adjust-available-bandwidth', }, { label: 'Manage your commitment plan', diff --git a/pages/audit-trail/menu.ts b/pages/audit-trail/menu.ts index 66163868cc..2c28cb7bc4 100644 --- a/pages/audit-trail/menu.ts +++ b/pages/audit-trail/menu.ts @@ -52,7 +52,7 @@ export const auditTrailMenu = { }, { label: 'IAM authentication events in Audit Trail', - slug: 'iam-authentication-events' + slug: 'iam-authentication-events', }, { label: 'Supported endpoints for Audit Trail', diff --git a/pages/billing/menu.ts b/pages/billing/menu.ts index be644fec17..3c950175e1 100644 --- a/pages/billing/menu.ts +++ b/pages/billing/menu.ts @@ -81,7 +81,7 @@ export const billingMenu = { { label: 'Understanding savings plans', slug: 'understanding-savings-plans', - } + }, ], label: 'Additional Content', slug: 'additional-content', diff --git a/pages/block-storage/menu.ts b/pages/block-storage/menu.ts index 4b378779b4..76e1f36723 100644 --- a/pages/block-storage/menu.ts +++ b/pages/block-storage/menu.ts @@ -56,7 +56,7 @@ export const blockStorageMenu = { }, { label: 'Unmount a volume', - slug: 'unmount-a-volume' + slug: 'unmount-a-volume', }, { label: 'Delete a snapshot', @@ -99,8 +99,7 @@ export const blockStorageMenu = { slug: 'storage-shared-responsibility-model', }, { - label: - 'Differences between Block Storage volumes', + label: 'Differences between Block Storage volumes', slug: 'differences-between-5kiops-volumes', }, { diff --git a/pages/classic-hosting/menu.ts b/pages/classic-hosting/menu.ts index b501c99353..b15a1bc397 100644 --- a/pages/classic-hosting/menu.ts +++ b/pages/classic-hosting/menu.ts @@ -55,8 +55,7 @@ export const classicHostingMenu = { slug: 'create-alias', }, { - label: - 'Encrypt your emails with PGP using the Scaleway webmail', + label: 'Encrypt your emails with PGP using the Scaleway webmail', slug: 'encrypt-emails-with-pgp-using-webmail', }, { diff --git a/pages/clusters-for-kafka/menu.ts b/pages/clusters-for-kafka/menu.ts index 4f34c80264..a0a6750aa4 100644 --- a/pages/clusters-for-kafka/menu.ts +++ b/pages/clusters-for-kafka/menu.ts @@ -33,7 +33,7 @@ export const clustersForKafkaMenu = { { label: 'Delete a cluster', slug: 'delete-cluster', - } + }, ], label: 'How to', slug: 'how-to', @@ -43,7 +43,7 @@ export const clustersForKafkaMenu = { { label: 'Clusters for Apache Kafka® API Reference', slug: 'https://www.scaleway.com/en/developers/api/clusters-for-kafka/', - } + }, ], label: 'API/CLI', slug: 'api-cli', diff --git a/pages/cockpit/menu.ts b/pages/cockpit/menu.ts index 1e9f2443c1..ac29f34c8a 100644 --- a/pages/cockpit/menu.ts +++ b/pages/cockpit/menu.ts @@ -73,7 +73,7 @@ export const cockpitMenu = { { label: 'Use IAM authentication for Cockpit with Terraform/OpenTofu', slug: 'iam-auth-cockpit-terraform', - } + }, ], label: 'How to', slug: 'how-to', @@ -95,8 +95,7 @@ export const cockpitMenu = { { items: [ { - label: - 'Understanding and managing Cockpit ingestion to reduce costs', + label: 'Understanding and managing Cockpit ingestion to reduce costs', slug: 'understanding-cockpit-usage', }, { @@ -108,13 +107,11 @@ export const cockpitMenu = { slug: 'cockpit-pricing', }, { - label: - 'Cockpit supported API endpoints for data source management', + label: 'Cockpit supported API endpoints for data source management', slug: 'cockpit-supported-endpoints', }, { - label: - 'Cockpit product integration', + label: 'Cockpit product integration', slug: 'cockpit-product-integration', }, ], diff --git a/pages/data-warehouse/menu.ts b/pages/data-warehouse/menu.ts index 2fd0e5b51e..a500a95754 100644 --- a/pages/data-warehouse/menu.ts +++ b/pages/data-warehouse/menu.ts @@ -44,7 +44,7 @@ export const dataWarehouseMenu = { }, { label: 'Connect a deployment with PowerBI in a Private Network', - slug: 'connect-powerbi-vpc' + slug: 'connect-powerbi-vpc', }, { label: 'Use Private Networks', @@ -77,7 +77,8 @@ export const dataWarehouseMenu = { { items: [ { - label: 'Using a Public Gateway to connect to a deployment in a Private Network', + label: + 'Using a Public Gateway to connect to a deployment in a Private Network', slug: 'use-data-warehouse-public-gateway', }, ], diff --git a/pages/dedibox-account/menu.ts b/pages/dedibox-account/menu.ts index 11231d346d..1019964850 100644 --- a/pages/dedibox-account/menu.ts +++ b/pages/dedibox-account/menu.ts @@ -77,8 +77,7 @@ export const dediboxAccountMenu = { slug: 'manage-data-settings', }, { - label: - 'Recover the password in case of a lost email account', + label: 'Recover the password in case of a lost email account', slug: 'recover-password-lost-email', }, ], diff --git a/pages/dedibox-hardware/menu.ts b/pages/dedibox-hardware/menu.ts index ce36626322..57104f5959 100644 --- a/pages/dedibox-hardware/menu.ts +++ b/pages/dedibox-hardware/menu.ts @@ -29,13 +29,11 @@ export const dediboxHardwareMenu = { slug: 'configure-hp-smart-array', }, { - label: - 'Configure the DELL PERC H200 RAID controller from the KVM', + label: 'Configure the DELL PERC H200 RAID controller from the KVM', slug: 'configure-raid-kvm-h200', }, { - label: - 'Configure the DELL PERC H310 RAID controller from the KVM', + label: 'Configure the DELL PERC H310 RAID controller from the KVM', slug: 'configure-raid-kvm-h310', }, { diff --git a/pages/dedibox-kvm-over-ip/menu.ts b/pages/dedibox-kvm-over-ip/menu.ts index 067ed269d8..da351c75df 100644 --- a/pages/dedibox-kvm-over-ip/menu.ts +++ b/pages/dedibox-kvm-over-ip/menu.ts @@ -15,8 +15,7 @@ export const dediboxKvmOverIpMenu = { { items: [ { - label: - 'Understanding the Baseboard Management Controller (BMC)', + label: 'Understanding the Baseboard Management Controller (BMC)', slug: 'understanding-bmc', }, { @@ -62,7 +61,7 @@ export const dediboxKvmOverIpMenu = { { label: 'Troubleshooting', slug: 'troubleshooting', - } + }, ], label: 'KVM-over-IP', slug: 'dedibox-kvm-over-ip', diff --git a/pages/dedibox-scaleway/menu.ts b/pages/dedibox-scaleway/menu.ts index 41965e2dcc..a61b6a2d1c 100644 --- a/pages/dedibox-scaleway/menu.ts +++ b/pages/dedibox-scaleway/menu.ts @@ -52,7 +52,7 @@ export const dediboxScalewayMenu = { }, { label: 'Configure IPv6', - slug: 'configure-ipv6-dedibox' + slug: 'configure-ipv6-dedibox', }, { label: 'Modify Dedibox options', diff --git a/pages/edge-services/menu.ts b/pages/edge-services/menu.ts index d741e97251..cd8acb4740 100644 --- a/pages/edge-services/menu.ts +++ b/pages/edge-services/menu.ts @@ -75,7 +75,7 @@ export const edgeServicesMenu = { { label: 'Understanding pricing', slug: 'understanding-pricing', - } + }, ], label: 'Additional content', slug: 'reference-content', diff --git a/pages/elastic-metal/menu.ts b/pages/elastic-metal/menu.ts index ccb7d22f84..201b0064d7 100644 --- a/pages/elastic-metal/menu.ts +++ b/pages/elastic-metal/menu.ts @@ -133,8 +133,7 @@ export const elasticMetalMenu = { slug: 'https://www.scaleway.com/en/developers/api/elastic-metal/', }, { - label: - 'Creating and managing Elastic Metal servers with the CLI', + label: 'Creating and managing Elastic Metal servers with the CLI', slug: 'elastic-metal-with-cli', }, { diff --git a/pages/environmental-footprint/menu.ts b/pages/environmental-footprint/menu.ts index 12c89f4960..a3fb803938 100644 --- a/pages/environmental-footprint/menu.ts +++ b/pages/environmental-footprint/menu.ts @@ -14,7 +14,7 @@ export const environmentalFootprintMenu = { }, { items: [ - { + { label: 'Use the Environmental Footprint dashboard', slug: 'environmental-footprint-dashboard', }, @@ -41,8 +41,7 @@ export const environmentalFootprintMenu = { slug: 'environmental-footprint-integration', }, { - label: - 'Understanding your environmental footprint estimation', + label: 'Understanding your environmental footprint estimation', slug: 'environmental-footprint-calculator-estimation', }, { @@ -59,16 +58,16 @@ export const environmentalFootprintMenu = { }, { label: 'Object Storage footprint calculation', - slug: 'object-storage-env-footprint' + slug: 'object-storage-env-footprint', }, { label: 'Load Balancer footprint calculation', - slug: 'load-balancer-env-footprint' + slug: 'load-balancer-env-footprint', }, { label: 'Kubernetes footprint calculation', - slug: 'kubernetes-env-footprint' - } + slug: 'kubernetes-env-footprint', + }, ], label: 'Additional Content', slug: 'additional-content', diff --git a/pages/file-storage/menu.ts b/pages/file-storage/menu.ts index 0f4ae716e6..17e1857c83 100644 --- a/pages/file-storage/menu.ts +++ b/pages/file-storage/menu.ts @@ -53,23 +53,23 @@ export const fileStorageMenu = { { items: [ { - label:'Using File Storage with the Scaleway CLI', - slug:'use-file-storage-cli' + label: 'Using File Storage with the Scaleway CLI', + slug: 'use-file-storage-cli', }, ], - label:'API/CLI', - slug:'api-cli' + label: 'API/CLI', + slug: 'api-cli', }, { items: [ { - label:'File Storage limitations', - slug:'limitations' + label: 'File Storage limitations', + slug: 'limitations', }, ], - label:'Additional content', - slug:'reference-content' - } + label: 'Additional content', + slug: 'reference-content', + }, ], label: 'File Storage', slug: 'file-storage', diff --git a/pages/generative-apis/menu.ts b/pages/generative-apis/menu.ts index 4dc37eaebf..b11a192d15 100644 --- a/pages/generative-apis/menu.ts +++ b/pages/generative-apis/menu.ts @@ -23,8 +23,8 @@ export const generativeApisMenu = { slug: 'query-language-models', }, { - label: "Query reasoning models", - slug: "query-reasoning-models" + label: 'Query reasoning models', + slug: 'query-reasoning-models', }, { label: 'Query vision models', @@ -40,11 +40,11 @@ export const generativeApisMenu = { }, { label: 'Query audio models', - slug: 'query-audio-models' + slug: 'query-audio-models', }, - { + { label: 'Query reranking models', - slug: 'query-reranking-models' + slug: 'query-reranking-models', }, { label: 'Use structured outputs', @@ -124,31 +124,31 @@ export const generativeApisMenu = { }, { label: 'Integrating Generative APIs with n8n', - slug: 'integrate-with-n8n' + slug: 'integrate-with-n8n', }, { label: 'Integrating Generative APIs with Openclaw', - slug: 'integrate-with-openclaw' + slug: 'integrate-with-openclaw', }, { label: 'Integrating Generative APIs with Cursor', - slug: 'integrate-with-cursor' + slug: 'integrate-with-cursor', }, { label: 'Integrating Generative APIs with OpenCode', - slug: 'integrate-with-opencode' + slug: 'integrate-with-opencode', }, { label: 'Integrating Generative APIs with Claude Code', - slug: 'integrate-with-claude-code' + slug: 'integrate-with-claude-code', }, { label: 'Integrating Generative APIs with Qwen Code', - slug: 'integrate-with-qwen-code' + slug: 'integrate-with-qwen-code', }, { label: 'Integrating Generative APIs with LiteLLM', - slug: 'integrate-with-litellm' + slug: 'integrate-with-litellm', }, { label: 'Integrating Generative APIs with popular AI tools', diff --git a/pages/gpu/menu.ts b/pages/gpu/menu.ts index 353f9966c2..e72c8a01fd 100644 --- a/pages/gpu/menu.ts +++ b/pages/gpu/menu.ts @@ -63,16 +63,16 @@ export const gpuMenu = { slug: 'choosing-gpu-instance-type', }, { - label: 'Blackwell vs Hopper - Choosing the right NVIDIA GPU architecture', + label: + 'Blackwell vs Hopper - Choosing the right NVIDIA GPU architecture', slug: 'blackwell-vs-hopper-choosing-the-right-architecture', }, { - "label": "Instances Shared Responsibility Model", - "slug": "../../instances/reference-content/instances-shared-responsibility-model" + label: 'Instances Shared Responsibility Model', + slug: '../../instances/reference-content/instances-shared-responsibility-model', }, { - label: - 'GPU Instances internet and Block Storage bandwidth overview', + label: 'GPU Instances internet and Block Storage bandwidth overview', slug: 'gpu-instances-bandwidth-overview', }, { diff --git a/pages/iam/menu.ts b/pages/iam/menu.ts index 60f5920ca8..a087db9590 100644 --- a/pages/iam/menu.ts +++ b/pages/iam/menu.ts @@ -44,19 +44,19 @@ export const iamMenu = { }, { label: 'Set up identity federation', - slug: 'set-up-identity-federation' + slug: 'set-up-identity-federation', }, { label: 'Set up SSO with Authentik', - slug: 'set-up-sso-with-authentik' + slug: 'set-up-sso-with-authentik', }, { label: 'Set up automatic user provisioning with SCIM', - slug: 'manage-users-with-scim' + slug: 'manage-users-with-scim', }, { label: 'Set and manage credential maximum duration', - slug: 'set-credentials-maximum-duration' + slug: 'set-credentials-maximum-duration', }, { label: 'Create an application', @@ -117,8 +117,7 @@ export const iamMenu = { slug: 'permission-sets', }, { - label: - 'Reproducing roles and Project-scoped API keys with IAM', + label: 'Reproducing roles and Project-scoped API keys with IAM', slug: 'reproduce-roles-project-api-keys', }, { diff --git a/pages/instances/menu.ts b/pages/instances/menu.ts index c565ef50c9..984aa96f8f 100644 --- a/pages/instances/menu.ts +++ b/pages/instances/menu.ts @@ -1,256 +1,257 @@ export const instancesMenu = { - "items": [ + items: [ { - "label": "Overview", - "slug": "../instances" + label: 'Overview', + slug: '../instances', }, { - "label": "Concepts", - "slug": "concepts" + label: 'Concepts', + slug: 'concepts', }, { - "label": "Quickstart", - "slug": "quickstart" + label: 'Quickstart', + slug: 'quickstart', }, { - "label": "FAQ", - "slug": "faq" + label: 'FAQ', + slug: 'faq', }, { - "items": [ + items: [ { - "label": "Create an Instance", - "slug": "create-an-instance" + label: 'Create an Instance', + slug: 'create-an-instance', }, { - "label": "Manage Instance storage", - "slug": "manage-storage" + label: 'Manage Instance storage', + slug: 'manage-storage', }, { - "label": "Connect to an Instance", - "slug": "connect-to-instance" + label: 'Connect to an Instance', + slug: 'connect-to-instance', }, { - "label": "Use flexible IPs", - "slug": "use-flexips" + label: 'Use flexible IPs', + slug: 'use-flexips', }, { - "label": "Migrate Local Storage volumes to Block Storage", - "slug": "migrate-local-storage-to-sbs" + label: 'Migrate Local Storage volumes to Block Storage', + slug: 'migrate-local-storage-to-sbs', }, { - "label": "Use Security Groups", - "slug": "use-security-groups" + label: 'Use Security Groups', + slug: 'use-security-groups', }, { - "label": "Use Private Networks", - "slug": "use-private-networks" + label: 'Use Private Networks', + slug: 'use-private-networks', }, { - "label": "Configure reverse DNS", - "slug": "configure-reverse-dns" + label: 'Configure reverse DNS', + slug: 'configure-reverse-dns', }, { - "label": "Send emails from your Instance", - "slug": "send-emails-from-your-instance" + label: 'Send emails from your Instance', + slug: 'send-emails-from-your-instance', }, { - "label": "Enable OpenSSH server on Windows", - "slug": "enable-openssh-windows" + label: 'Enable OpenSSH server on Windows', + slug: 'enable-openssh-windows', }, { - "label": "Use placement groups", - "slug": "use-placement-groups" + label: 'Use placement groups', + slug: 'use-placement-groups', }, { - "label": "Create an image", - "slug": "create-a-backup" + label: 'Create an image', + slug: 'create-a-backup', }, { - "label": "Create an image from a snapshot", - "slug": "create-image-from-snapshot" + label: 'Create an image from a snapshot', + slug: 'create-image-from-snapshot', }, { - "label": "Resize Instances", - "slug": "resize-instances" + label: 'Resize Instances', + slug: 'resize-instances', }, { - "label": "Migrate Instances", - "slug": "migrate-instances" + label: 'Migrate Instances', + slug: 'migrate-instances', }, { - "label": "Use standby mode", - "slug": "use-standby-mode" + label: 'Use standby mode', + slug: 'use-standby-mode', }, { - "label": "Use boot modes", - "slug": "use-boot-modes" + label: 'Use boot modes', + slug: 'use-boot-modes', }, { - "label": "Use Cloud-init", - "slug": "use-cloud-init" + label: 'Use Cloud-init', + slug: 'use-cloud-init', }, { - "label": "Protect an Instance", - "slug": "use-protected-instance" + label: 'Protect an Instance', + slug: 'use-protected-instance', }, { - "label": "Power off an Instance", - "slug": "power-off-instance" + label: 'Power off an Instance', + slug: 'power-off-instance', }, { - "label": "Use the serial console", - "slug": "use-serial-console" + label: 'Use the serial console', + slug: 'use-serial-console', }, { - "label": "Delete an Instance", - "slug": "delete-instance" - } + label: 'Delete an Instance', + slug: 'delete-instance', + }, ], - "label": "How to", - "slug": "how-to" + label: 'How to', + slug: 'how-to', }, { - "items": [ + items: [ { - "label": "Instances API Reference", - "slug": "https://www.scaleway.com/en/developers/api/instances/" + label: 'Instances API Reference', + slug: 'https://www.scaleway.com/en/developers/api/instances/', }, { - "label": "Scaleway CLI Cheatsheet", - "slug": "cli-cheatsheet" + label: 'Scaleway CLI Cheatsheet', + slug: 'cli-cheatsheet', }, { - "label": "Creating and Managing Instances", - "slug": "creating-managing-instances-with-cliv2" + label: 'Creating and Managing Instances', + slug: 'creating-managing-instances-with-cliv2', }, { - "label": "Creating backups", - "slug": "creating-backups" + label: 'Creating backups', + slug: 'creating-backups', }, { - "label": "Changing the commercial type of an Instance", - "slug": "migrating-instances" + label: 'Changing the commercial type of an Instance', + slug: 'migrating-instances', }, { - "label": "Using the import/export feature (API)", - "slug": "snapshot-import-export-feature" + label: 'Using the import/export feature (API)', + slug: 'snapshot-import-export-feature', }, { - "label": "Managing Instance snapshots with the CLI (v2)", - "slug": "managing-instance-snapshot-via-cli" + label: 'Managing Instance snapshots with the CLI (v2)', + slug: 'managing-instance-snapshot-via-cli', }, { - "label": "Using cloud-init", - "slug": "using-cloud-init" + label: 'Using cloud-init', + slug: 'using-cloud-init', }, { - "label": "Using placement groups", - "slug": "using-placement-groups" - } + label: 'Using placement groups', + slug: 'using-placement-groups', + }, ], - "label": "API/CLI", - "slug": "api-cli" + label: 'API/CLI', + slug: 'api-cli', }, { - "items": [ + items: [ { - "label": "Choosing an Instance type", - "slug": "choosing-instance-type" + label: 'Choosing an Instance type', + slug: 'choosing-instance-type', }, { - "label": "Choosing between shared or dedicated CPUs", - "slug": "choosing-shared-vs-dedicated-cpus" + label: 'Choosing between shared or dedicated CPUs', + slug: 'choosing-shared-vs-dedicated-cpus', }, { - "label": "Instances datasheet", - "slug": "instances-datasheet" + label: 'Instances datasheet', + slug: 'instances-datasheet', }, { - "label": "Instances Shared Responsibility Model", - "slug": "instances-shared-responsibility-model" + label: 'Instances Shared Responsibility Model', + slug: 'instances-shared-responsibility-model', }, { - "label": "Instances internet and Block Storage bandwidth overview", - "slug": "instances-bandwidth-overview" + label: 'Instances internet and Block Storage bandwidth overview', + slug: 'instances-bandwidth-overview', }, { - "label": "The right Instance for development purposes", - "slug": "development" + label: 'The right Instance for development purposes', + slug: 'development', }, { - "label": "The right Instance for production purposes", - "slug": "general-purpose" + label: 'The right Instance for production purposes', + slug: 'general-purpose', }, { - "label": "The right Instance for specialized purposes", - "slug": "specialized" + label: 'The right Instance for specialized purposes', + slug: 'specialized', }, { - "label": "Instance OS images and InstantApps", - "slug": "images-and-instantapps" + label: 'Instance OS images and InstantApps', + slug: 'images-and-instantapps', }, { - "label": "Understanding the differences between ARM and x86 Instances", - "slug": "understanding-differences-x86-arm" + label: 'Understanding the differences between ARM and x86 Instances', + slug: 'understanding-differences-x86-arm', }, { - "label": "Moving Instances between Availability Zones and Projects", - "slug": "moving-instances-between-az-and-projects" + label: 'Moving Instances between Availability Zones and Projects', + slug: 'moving-instances-between-az-and-projects', }, { - "label": "Understanding QEMU Guest Agent", - "slug": "understanding-qemu-guest-agent" + label: 'Understanding QEMU Guest Agent', + slug: 'understanding-qemu-guest-agent', }, { - "label": "Understanding automatic network hot-reconfiguration", - "slug": "understanding-automatic-network-hot-reconfiguration" + label: 'Understanding automatic network hot-reconfiguration', + slug: 'understanding-automatic-network-hot-reconfiguration', }, { - "label": "Understanding Instance pricing", - "slug": "understanding-instance-pricing" + label: 'Understanding Instance pricing', + slug: 'understanding-instance-pricing', }, { - "label": "Identifying devices of an Instance", - "slug": "identify-devices" + label: 'Identifying devices of an Instance', + slug: 'identify-devices', }, { - "label": "Migrating VMware virtual machines to Scaleway Instances", - "slug": "migrating-vms-vmware-scaleway" + label: 'Migrating VMware virtual machines to Scaleway Instances', + slug: 'migrating-vms-vmware-scaleway', }, { - "label": "Preventing outgoing DDOS", - "slug": "preventing-outgoing-ddos" + label: 'Preventing outgoing DDOS', + slug: 'preventing-outgoing-ddos', }, { - "label": "Configuring Instances manually on a Private Network", - "slug": "manual-configuration-private-ips" + label: 'Configuring Instances manually on a Private Network', + slug: 'manual-configuration-private-ips', }, { - "label": "Using tags to add Instance-specific SSH keys", - "slug": "add-instance-specific-ssh-keys-using-tags" + label: 'Using tags to add Instance-specific SSH keys', + slug: 'add-instance-specific-ssh-keys-using-tags', }, { - "label": "Compatibility between Scaleway OS Images and Flexible IPs", - "slug": "compatibility-scw-os-images-flexible-ip" + label: 'Compatibility between Scaleway OS Images and Flexible IPs', + slug: 'compatibility-scw-os-images-flexible-ip', }, { - "label": "Enabling DHCP network configuration for Windows Server 2022 Instances", - "slug": "enabling-dhcp-network-configuration-windows-server-2022" + label: + 'Enabling DHCP network configuration for Windows Server 2022 Instances', + slug: 'enabling-dhcp-network-configuration-windows-server-2022', }, { - "label": "Historical Instances offerings", - "slug": "historical-offers" - } + label: 'Historical Instances offerings', + slug: 'historical-offers', + }, ], - "label": "Additional Content", - "slug": "reference-content" + label: 'Additional Content', + slug: 'reference-content', }, { - "label": "Troubleshooting", - "slug": "troubleshooting" - } + label: 'Troubleshooting', + slug: 'troubleshooting', + }, ], - "label": "CPU Instances", - "slug": "instances" + label: 'CPU Instances', + slug: 'instances', } diff --git a/pages/key-manager/menu.ts b/pages/key-manager/menu.ts index 007b234f9a..ba67aa7ff5 100644 --- a/pages/key-manager/menu.ts +++ b/pages/key-manager/menu.ts @@ -27,8 +27,7 @@ export const keyManagerMenu = { slug: 'retrieve-km-key-id', }, { - label: - 'Create and manage a Key Manager data encryption key', + label: 'Create and manage a Key Manager data encryption key', slug: 'create-manage-dek', }, { @@ -54,8 +53,7 @@ export const keyManagerMenu = { { items: [ { - label: - 'Understanding security measures when using Key Manager', + label: 'Understanding security measures when using Key Manager', slug: 'security-recommendations', }, { @@ -109,12 +107,13 @@ export const keyManagerMenu = { }, { label: 'Encrypting and decrypting data with an asymmetric key', - slug: 'encrypt-decrypt-asymmetric-key-with-go-sdk' + slug: 'encrypt-decrypt-asymmetric-key-with-go-sdk', }, { - label: 'Managing signatures using the Scaleway Go SDK and Key Manager', - slug: 'sign-verify-key-with-go-sdk' - } + label: + 'Managing signatures using the Scaleway Go SDK and Key Manager', + slug: 'sign-verify-key-with-go-sdk', + }, ], label: 'API/CLI', slug: 'api-cli', diff --git a/pages/kubernetes/menu.ts b/pages/kubernetes/menu.ts index a75af2fbfd..7415dd9c53 100644 --- a/pages/kubernetes/menu.ts +++ b/pages/kubernetes/menu.ts @@ -88,8 +88,7 @@ export const kubernetesMenu = { slug: 'use-nvidia-gpu-operator', }, { - label: - 'Use the scratch storage on H100 GPU Instances with Kapsule', + label: 'Use the scratch storage on H100 GPU Instances with Kapsule', slug: 'use-scratch-storage-h100', }, { @@ -101,8 +100,8 @@ export const kubernetesMenu = { slug: 'recover-space-etcd', }, { - "label": "How to use SFS with Kubernetes Kapsule", - "slug": "use-sfs-with-kubernetes" + label: 'How to use SFS with Kubernetes Kapsule', + slug: 'use-sfs-with-kubernetes', }, { label: 'Enable or disable SSH', @@ -165,8 +164,7 @@ export const kubernetesMenu = { slug: 'kubernetes-control-plane-offers', }, { - label: - 'Understanding differences between the Kapsule and Kosmos', + label: 'Understanding differences between the Kapsule and Kosmos', slug: 'understanding-differences-kapsule-kosmos', }, { @@ -194,8 +192,7 @@ export const kubernetesMenu = { slug: 'exposing-services', }, { - label: - 'Setting IAM permissions and implementing RBAC on a cluster', + label: 'Setting IAM permissions and implementing RBAC on a cluster', slug: 'set-iam-permissions-and-implement-rbac', }, { diff --git a/pages/managed-databases-for-postgresql-and-mysql/menu.ts b/pages/managed-databases-for-postgresql-and-mysql/menu.ts index acaab1b0bc..8c3c2bdd5d 100644 --- a/pages/managed-databases-for-postgresql-and-mysql/menu.ts +++ b/pages/managed-databases-for-postgresql-and-mysql/menu.ts @@ -131,8 +131,7 @@ export const managedDatabasesForPostgresqlAndMysqlMenu = { { items: [ { - label: - 'Managed Database for PostgreSQL and MySQL API Reference', + label: 'Managed Database for PostgreSQL and MySQL API Reference', slug: 'https://www.scaleway.com/en/developers/api/managed-databases-for-postgresql-and-mysql/', }, { @@ -148,13 +147,11 @@ export const managedDatabasesForPostgresqlAndMysqlMenu = { slug: 'using-pgcron', }, { - label: - "Verifying Servers' Certificate Authority on PostgreSQL", + label: "Verifying Servers' Certificate Authority on PostgreSQL", slug: 'verify-ca-postgresql', }, { - label: - 'Migrating Database Instance endpoints via the Scaleway CLI', + label: 'Migrating Database Instance endpoints via the Scaleway CLI', slug: 'migrating-endpoints', }, { @@ -170,8 +167,7 @@ export const managedDatabasesForPostgresqlAndMysqlMenu = { slug: 'logical-replication-as-publisher', }, { - label: - 'Connecting Managed Databases to Kubernetes clusters', + label: 'Connecting Managed Databases to Kubernetes clusters', slug: 'connecting-managed-databases-to-kubernetes-clusters', }, ], diff --git a/pages/managed-databases-for-redis/menu.ts b/pages/managed-databases-for-redis/menu.ts index e236eaaea5..1405fca92a 100644 --- a/pages/managed-databases-for-redis/menu.ts +++ b/pages/managed-databases-for-redis/menu.ts @@ -67,7 +67,7 @@ export const managedDatabasesForRedisMenu = { { label: 'Upgrade your Redis™ version', slug: 'upgrade-redis-version', - } + }, ], label: 'API/CLI', slug: 'api-cli', @@ -81,7 +81,7 @@ export const managedDatabasesForRedisMenu = { { label: 'Ensuring data persistence', slug: 'ensuring-data-persistence', - } + }, ], label: 'Additional Content', slug: 'reference-content', diff --git a/pages/managed-inference/menu.ts b/pages/managed-inference/menu.ts index c94ddd3bf6..46813d8cf2 100644 --- a/pages/managed-inference/menu.ts +++ b/pages/managed-inference/menu.ts @@ -43,8 +43,7 @@ export const managedInferenceMenu = { slug: 'manage-allowed-ips', }, { - label: - 'Use your Managed Inference deployment with a Private Network', + label: 'Use your Managed Inference deployment with a Private Network', slug: 'managed-inference-with-private-network', }, { @@ -68,8 +67,7 @@ export const managedInferenceMenu = { { items: [ { - label: - "Data, privacy, and security for Scaleway's AI services", + label: "Data, privacy, and security for Scaleway's AI services", slug: 'data-privacy-security-scaleway-ai-services', }, { @@ -81,8 +79,7 @@ export const managedInferenceMenu = { slug: 'supported-models', }, { - label: - 'Support for function calling in Scaleway Managed Inference', + label: 'Support for function calling in Scaleway Managed Inference', slug: 'function-calling-support', }, { diff --git a/pages/managed-mongodb-databases/menu.ts b/pages/managed-mongodb-databases/menu.ts index ecadbbe976..661012e59e 100644 --- a/pages/managed-mongodb-databases/menu.ts +++ b/pages/managed-mongodb-databases/menu.ts @@ -64,7 +64,7 @@ export const managedMongodbDatabasesMenu = { items: [ { label: 'Managing users', - slug: "managing-users-api" + slug: 'managing-users-api', }, { label: 'Back up and restore MongoDB® Databases', diff --git a/pages/object-storage/menu.ts b/pages/object-storage/menu.ts index ca691672ac..cd5b4a83d1 100644 --- a/pages/object-storage/menu.ts +++ b/pages/object-storage/menu.ts @@ -133,8 +133,7 @@ export const objectStorageMenu = { slug: 'lifecycle-rules-api', }, { - label: - 'Managing Object Storage using using CLI tools', + label: 'Managing Object Storage using using CLI tools', slug: 'managing-lifecycle-cliv2', }, { @@ -162,8 +161,7 @@ export const objectStorageMenu = { slug: 'create-bucket-policy', }, { - label: - 'Combining IAM and bucket policies for granular access', + label: 'Combining IAM and bucket policies for granular access', slug: 'combining-iam-and-object-storage', }, { diff --git a/pages/organizations-and-projects/menu.ts b/pages/organizations-and-projects/menu.ts index 55163f64c0..e9dcda037b 100644 --- a/pages/organizations-and-projects/menu.ts +++ b/pages/organizations-and-projects/menu.ts @@ -19,8 +19,8 @@ export const organizationsAndProjectsMenu = { slug: 'manage-quotas', }, { - "label": "Set an Organization alias", - "slug": "set-organization-alias" + label: 'Set an Organization alias', + slug: 'set-organization-alias', }, { label: 'Create a Project', diff --git a/pages/quantum-computing/menu.ts b/pages/quantum-computing/menu.ts index 26e9480ae4..90b38e8a68 100644 --- a/pages/quantum-computing/menu.ts +++ b/pages/quantum-computing/menu.ts @@ -89,7 +89,7 @@ export const quantumComputingMenu = { { label: 'Quandela QPUs Information', slug: 'quandela-qpus', - } + }, ], label: 'Additional Content', slug: 'additional-content', diff --git a/pages/scaleway-cli/menu.ts b/pages/scaleway-cli/menu.ts index 47eb747740..aa3ec950a7 100644 --- a/pages/scaleway-cli/menu.ts +++ b/pages/scaleway-cli/menu.ts @@ -29,8 +29,7 @@ export const scalewayCliMenu = { { items: [ { - label: - 'Automate resources management with the CLI and Jobs', + label: 'Automate resources management with the CLI and Jobs', slug: 'automate-resources-management', }, ], diff --git a/pages/scaleway-sdk/menu.ts b/pages/scaleway-sdk/menu.ts index 02e34eaed4..fd20c06b7d 100644 --- a/pages/scaleway-sdk/menu.ts +++ b/pages/scaleway-sdk/menu.ts @@ -27,6 +27,6 @@ export const scalewaySdkMenu = { slug: 'reference-content', }, ], - label: 'Scaleway SDKs', + label: 'Scaleway SDKs', slug: 'scaleway-sdk', } diff --git a/pages/serverless-containers/menu.ts b/pages/serverless-containers/menu.ts index caeee0c62d..3c9f3a8e33 100644 --- a/pages/serverless-containers/menu.ts +++ b/pages/serverless-containers/menu.ts @@ -89,13 +89,11 @@ export const serverlessContainersMenu = { slug: 'https://www.scaleway.com/en/developers/api/serverless-containers/', }, { - label: - 'Create and deploy a container with the Scaleway API', + label: 'Create and deploy a container with the Scaleway API', slug: 'deploy-container-api', }, { - label: - 'Create and deploy a container with the Scaleway CLI', + label: 'Create and deploy a container with the Scaleway CLI', slug: 'deploy-container-cli', }, { @@ -114,7 +112,7 @@ export const serverlessContainersMenu = { }, { label: 'Migrating to Serverless Containers', - slug: 'migrate-to-serverless-containers' + slug: 'migrate-to-serverless-containers', }, { label: 'Containers and Private Networks integration', diff --git a/pages/site-to-site-vpn/menu.ts b/pages/site-to-site-vpn/menu.ts index afdb21129f..6b22c4a17b 100644 --- a/pages/site-to-site-vpn/menu.ts +++ b/pages/site-to-site-vpn/menu.ts @@ -21,7 +21,7 @@ export const siteToSiteVpnMenu = { { label: 'Site-to-Site VPN API Reference', slug: 'https://www.scaleway.com/en/developers/api/site-to-site-vpn/', - } + }, ], label: 'API/CLI', slug: 'api-cli', @@ -33,11 +33,13 @@ export const siteToSiteVpnMenu = { slug: 'understanding-s2svpn', }, { - label: 'Establishing a Site-to-Site VPN between Scaleway and AWS with the console', + label: + 'Establishing a Site-to-Site VPN between Scaleway and AWS with the console', slug: 'configure-site-to-site-vpn-aws-scw', }, { - label: 'Establishing a Site-to-Site VPN between Scaleway and AWS with Terraform', + label: + 'Establishing a Site-to-Site VPN between Scaleway and AWS with Terraform', slug: 'configure-site-to-site-vpn-aws-scw-terraform', }, { @@ -51,7 +53,7 @@ export const siteToSiteVpnMenu = { ], label: 'Additional Content', slug: 'reference-content', - } + }, ], label: 'Site-to-Site VPN', slug: 'site-to-site-vpn', diff --git a/pages/transactional-email/menu.ts b/pages/transactional-email/menu.ts index fb07ee3e11..dacb64946c 100644 --- a/pages/transactional-email/menu.ts +++ b/pages/transactional-email/menu.ts @@ -27,8 +27,7 @@ export const transactionalEmailMenu = { slug: 'manage-tem-plans', }, { - label: - 'Autoconfigure a Scaleway domain with Transactional Email', + label: 'Autoconfigure a Scaleway domain with Transactional Email', slug: 'autoconfigure-domain', }, { @@ -48,8 +47,7 @@ export const transactionalEmailMenu = { slug: 'monitor-transactional-email-cockpit', }, { - label: - 'Generate API keys for API and SMTP sending with IAM', + label: 'Generate API keys for API and SMTP sending with IAM', slug: 'generate-api-keys-for-tem-with-iam', }, { @@ -79,8 +77,7 @@ export const transactionalEmailMenu = { slug: 'send-emails-with-api', }, { - label: - 'Setting up and using TEM webhooks with Topics and Events', + label: 'Setting up and using TEM webhooks with Topics and Events', slug: 'use-webhooks-with-sns-topics', }, ], @@ -103,8 +100,7 @@ export const transactionalEmailMenu = { slug: 'protecting-your-domain-reputation', }, { - label: - 'Understanding your reputation score with Transactional Email', + label: 'Understanding your reputation score with Transactional Email', slug: 'understanding-tem-reputation-score', }, { diff --git a/pages/vpc-peering/menu.ts b/pages/vpc-peering/menu.ts index 394e42da0a..303dd01087 100644 --- a/pages/vpc-peering/menu.ts +++ b/pages/vpc-peering/menu.ts @@ -21,7 +21,7 @@ export const vpcPeeringMenu = { { label: 'VPC Peering API Reference', slug: 'https://www.scaleway.com/en/developers/api/vpc/', - } + }, ], label: 'API/CLI', slug: 'api-cli', @@ -47,4 +47,4 @@ export const vpcPeeringMenu = { ], label: 'VPC Peering', slug: 'vpc-peering', -} \ No newline at end of file +} diff --git a/pages/vpc/menu.ts b/pages/vpc/menu.ts index 521295b10b..a80a81cbda 100644 --- a/pages/vpc/menu.ts +++ b/pages/vpc/menu.ts @@ -81,7 +81,7 @@ export const vpcMenu = { { label: 'VPC use case 1: basic infrastructure', slug: 'use-case-basic', - } + }, ], label: 'Additional Content', slug: 'reference-content', diff --git a/pages/webhosting/menu.ts b/pages/webhosting/menu.ts index 69d9bbbfd3..63acde89af 100644 --- a/pages/webhosting/menu.ts +++ b/pages/webhosting/menu.ts @@ -67,8 +67,7 @@ export const webhostingMenu = { slug: 'terminate-webhosting', }, { - label: - 'Migrate an Online.net/Dedibox web hosting plan to Scaleway', + label: 'Migrate an Online.net/Dedibox web hosting plan to Scaleway', slug: 'migrate-webhosting-plan', }, ], @@ -96,8 +95,7 @@ export const webhostingMenu = { slug: 'php-version-overview', }, { - label: - 'Web Hosting Classic migration - Technical information', + label: 'Web Hosting Classic migration - Technical information', slug: 'classic-hosting-migration-information', }, { @@ -105,8 +103,7 @@ export const webhostingMenu = { slug: 'understanding-differences-cpanel-plesk', }, { - label: - 'Understanding security measures on a shared hosting', + label: 'Understanding security measures on a shared hosting', slug: 'shared-hosting-best-practices', }, ],