Skip to content

Commit

Permalink
chore: update links for prod release (#107)
Browse files Browse the repository at this point in the history
# Description

Update project to prepare for production release.
  • Loading branch information
itsacoyote authored Jun 5, 2024
1 parent 173db74 commit 4f2d142
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ jobs:
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}"
target: prod
projectId: zksync-docs
channelId: live
2 changes: 1 addition & 1 deletion components/layout/Toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -12,7 +12,7 @@ export default defineNuxtConfig({
prefix: '/sdk',
driver: 'github',
repo: 'zksync-sdk/sdk-docs',
branch: 'staging',
branch: 'main',
dir: 'content/sdk',
},
},
Expand Down

0 comments on commit 4f2d142

Please sign in to comment.