Skip to content

Commit

Permalink
Update Supported Networks table following upgrade Indexer release (#561)
Browse files Browse the repository at this point in the history
* Update Supported Networks table following upgrade Indexer release

* Address Adam’s feedback

* fix: table hydration error (#562)

---------

Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
  • Loading branch information
benface and saihaj authored Dec 15, 2023
1 parent b798f9d commit 87beba6
Show file tree
Hide file tree
Showing 83 changed files with 41,236 additions and 1,908 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ out/
pnpm-lock.yaml
dist/
website/remote-files/*.json
website/.graphclient/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
"check:fix": "pnpm typecheck; pnpm lint:fix",
"dev": "turbo run dev --parallel",
"docker:build": "source .env.local && DOCKER_BUILDKIT=1 docker build . -t docs --no-cache --build-arg ENVIRONMENT=$ENVIRONMENT",
"docker:build": "source ./website/.env.local && DOCKER_BUILDKIT=1 docker build . -t docs --no-cache --build-arg ENVIRONMENT=$ENVIRONMENT",
"docker:clean": "docker builder prune",
"docker:up": "docker run --rm -it -p 3000:80 -v \"$(pwd)/nginx.conf:/etc/nginx/nginx.conf\" docs",
"lint": "eslint . --cache --ignore-path .gitignore --max-warnings 0",
Expand Down
24 changes: 23 additions & 1 deletion packages/nextra-theme/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,17 @@ const mdxComponents = {
ul: ListUnordered,
p: Paragraph,
table: Table,
Callout,
CodeBlock,
CodeInline,
Difficulty,
Heading,
Image,
LinkInline,
ListItem,
ListOrdered,
ListUnordered,
Paragraph,
Table,
VideoEmbed,
}
Expand All @@ -63,7 +71,21 @@ const mdxStyles: ThemeUICSSObject = {
},
}

export { Heading, Image, LinkInline, Paragraph }
export {
Callout,
CodeBlock,
CodeInline,
Difficulty,
Heading,
Image,
LinkInline,
ListItem,
ListOrdered,
ListUnordered,
Paragraph,
Table,
VideoEmbed,
}

export default function NextraLayout({ children, pageOpts, pageProps }: NextraThemeLayoutProps): ReactElement {
const { frontMatter, filePath, pageMap, headings, title } = pageOpts
Expand Down
Loading

0 comments on commit 87beba6

Please sign in to comment.