Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove routes from sitemap for indexing fixes #26

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ and you can use components available from [Nuxt UI](https://ui.nuxt.com/componen
### Create a new section for your guide

We have a template tutorial folder you can start from!
You can copy the `/content/tutorials/_new-tutorial-template` to make setting up a new tutorial easy.
You can copy the `tutorial-template` from `/template` to make setting up a new tutorial easy.

Your new guide should have its own folder under `/content/tutorials`. The minimum files your directory should have are
the `_dir.yml` and a `10.index.md`.
Expand Down
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ useHead({
useSeoMeta({
titleTemplate: `%s - ${seo?.siteName}`,
ogSiteName: seo?.siteName,
ogUrl: 'https://code.zksync.io/',
ogUrl: 'https://code.zksync.io',
description:
'Build together with the zkSync Community. Learn how to build amazing smart contracts and dApps on zkSync Era.',
ogDescription:
Expand Down
2 changes: 1 addition & 1 deletion content/tutorials/guide-web3js/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This examples uses the %%zk_testnet_name%%.

### Ethereum JSON-RPC API

Use the Web3.js `eth` package to fetch data from the zkSync [Ethereum JSON-RPC API](httsp://docs.zksync.io/build/api-reference/ethereum-rpc).
Use the Web3.js `eth` package to fetch data from the zkSync [Ethereum JSON-RPC API](https://docs.zksync.io/build/api-reference/ethereum-rpc).

#### Fetch the Latest Block Number

Expand Down
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export default defineNuxtConfig({
},
routeRules: {
'/api/search.json': { prerender: true },
'*-surround': { robots: false },
'/*/*-surround': { robots: false },
'/tutorials/*/_dir': { robots: false },
'/_nuxt': { robots: false },
'/api/*': { robots: false },
},
$production: process.env.NUXT_SITE_ENV
? {}
Expand Down
Loading