Skip to content

Conversation

@saihaj
Copy link
Contributor

@saihaj saihaj commented Nov 15, 2023

CleanShot 2023-11-16 at 10 54 07

closes #429

@saihaj saihaj requested review from azf20 and benface November 15, 2023 18:29
@saihaj saihaj requested a review from a team as a code owner November 15, 2023 18:29
@github-actions
Copy link

github-actions bot commented Nov 15, 2023

📦 Next.js Bundle Analysis for @graphprotocol/docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 681.78 KB (🟡 +50 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/en/developing/graph-ts/[[...slug]] 77.48 KB 759.26 KB 216.93%
/en/developing/graph-ts/api 17.63 KB 699.41 KB 199.83%
/en/developing/graph-ts/common-issues 5.37 KB 687.15 KB 196.33%

Comment on lines +64 to +78
{
source: '/en/developing/graph-ts/',
destination: '/en/developing/graph-ts/README/',
permanent: false,
},
{
source: '/en/developer/assemblyscript-api/',
destination: '/en/developing/graph-ts/api/',
permanent: true,
},
{
source: '/en/developing/assemblyscript-api/',
destination: '/en/developing/graph-ts/api/',
permanent: true,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for setting these up!

import { buildDynamicMDX } from 'nextra/remote'
import { getPageMap } from '@/src/getPageMap'
import { remarkReplaceLinks } from '@/src/remarkReplaceLinks'
import { Mermaid } from 'nextra/components'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧜‍♀️

Copy link
Contributor

@benface benface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@azf20
Copy link
Contributor

azf20 commented Nov 16, 2023

Nice! I think my only thought here is that it's graph-ts, but it's actually Assemblyscript 🤔

@saihaj saihaj merged commit ac22e36 into main Nov 16, 2023
@saihaj saihaj deleted the saihaj/429 branch November 16, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Graph TS docs

3 participants