diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index c1e2e8bc..30e5b1b8 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -34,6 +34,5 @@ jobs: with: repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" - target: prod projectId: zksync-docs channelId: live diff --git a/components/layout/Toc.vue b/components/layout/Toc.vue index bd84811f..959586cb 100644 --- a/components/layout/Toc.vue +++ b/components/layout/Toc.vue @@ -12,7 +12,7 @@ const links = computed(() => { icon: 'i-heroicons-pencil-square', label: 'Edit this page', - to: `https://github.com/matter-labs/zksync-docs/edit/staging/content/${props.page?._file}`, + to: `https://github.com/matter-labs/zksync-docs/edit/main/content/${props.page?._file}`, target: '_blank', }, { diff --git a/content/00.build/65.developer-reference/40.account-abstraction/50.paymasters.md b/content/00.build/65.developer-reference/40.account-abstraction/50.paymasters.md index 8debc690..f1422f85 100644 --- a/content/00.build/65.developer-reference/40.account-abstraction/50.paymasters.md +++ b/content/00.build/65.developer-reference/40.account-abstraction/50.paymasters.md @@ -112,7 +112,7 @@ Accurate gas estimation is crucial, especially for operations involving extensiv pubdata, like writing to storage. You should include the necessary `paymasterInput` during estimation to ensure the paymaster's involvement is accurately accounted for. -The code snippet below, from the [Custom Paymaster Tutorial](https://staging-code.zksync.io/tutorials/erc20-paymaster), +The code snippet below, from the [Custom Paymaster Tutorial](https://code.zksync.io/tutorials/erc20-paymaster), demonstrates how to perform this estimation: ```ts diff --git a/content/00.build/90.contributing-to-documentation/20.contribution-guidelines.md b/content/00.build/90.contributing-to-documentation/20.contribution-guidelines.md index 3f73807c..cd14a3eb 100644 --- a/content/00.build/90.contributing-to-documentation/20.contribution-guidelines.md +++ b/content/00.build/90.contributing-to-documentation/20.contribution-guidelines.md @@ -3,14 +3,6 @@ title: Contribution Guidelines description: Learn how to contribute to zkSync Docs --- -## Environments - -We have two environments available for zkSync Docs. - -**Production**: Visit [zkSync Docs](https://docs.zksync.io/) for official documentation. - -**Staging**: [zKsync Docs Staging](https://staging-docs.zksync.io/) for use with larger work that may not be merged immediately to main. - ## Fork the project Make a [fork of the zksync-docs project](https://github.com/matter-labs/zksync-docs/fork) and create your branches from the default `main` branch. diff --git a/nuxt.config.ts b/nuxt.config.ts index 78ab9099..34b73f3e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,6 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - extends: [['github:matter-labs/docs-nuxt-template', { install: true }], ['github:zksync-sdk/sdk-docs#staging']], + extends: [['github:matter-labs/docs-nuxt-template', { install: true }], ['github:zksync-sdk/sdk-docs']], modules: ['@nuxt/content', '@nuxt/ui', '@nuxt/eslint', '@nuxtjs/seo', 'nuxt-gtag'], site: { name: 'zkSync Docs', @@ -12,7 +12,7 @@ export default defineNuxtConfig({ prefix: '/sdk', driver: 'github', repo: 'zksync-sdk/sdk-docs', - branch: 'staging', + branch: 'main', dir: 'content/sdk', }, },