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

move substreams docs to own sidebar section #372

Merged
merged 3 commits into from
May 8, 2023
Merged

Conversation

dimaMachina
Copy link
Contributor

@dimaMachina dimaMachina requested a review from a team as a code owner May 5, 2023 17:33
@github-actions
Copy link

github-actions bot commented May 5, 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 596.58 KB (🟡 +151 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!

website/pages/ko/_meta.js Outdated Show resolved Hide resolved
website/next.config.js Outdated Show resolved Hide resolved
title: 'Substreams',
},
substreams: {
type: 'children'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added new prop to theme to not render folder element and render directly his files (sidebar links for substreams docs in our case)

benface

This comment was marked as duplicate.

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.

Nice, simple implementation. 👍

Dimitri POSTOLOV and others added 2 commits May 8, 2023 14:26
@dimaMachina
Copy link
Contributor Author

@benface I applied all fixes 🙏

@dimaMachina dimaMachina merged commit 25bad0e into main May 8, 2023
@dimaMachina dimaMachina deleted the substream-sidebar branch May 8, 2023 12:39
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.

3 participants