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

feat: graph-ts docs #549

Merged
merged 5 commits into from
Nov 16, 2023
Merged

feat: graph-ts docs #549

merged 5 commits into from
Nov 16, 2023

Conversation

saihaj
Copy link
Member

@saihaj saihaj commented Nov 15, 2023

CleanShot 2023-11-16 at 10 54 07

closes #429

@saihaj saihaj requested review from benface and azf20 November 15, 2023 18:29
@saihaj saihaj requested a review from a team as a code owner November 15, 2023 18:29
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
3 checks passed
@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