Skip to content

Commit

Permalink
Generate missing networks
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Dec 5, 2024
1 parent e01625e commit 5bd3ed3
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/core-api/transaction-service-reference/base-sepolia.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

{/* <!-- vale off --> */}
import ApiReference from '../../../components/ApiReference'
import { renderToString } from 'react-dom/server'
import { MDXComponents, getHeadingsFromHtml } from '../../../lib/mdx'
import Mdx from '../../../components/ApiReference/generated-reference.mdx'

export const getStaticProps = async () => {
const renderedMdx = <Mdx components={MDXComponents} />
const contentString = renderToString(renderedMdx)
const headings = getHeadingsFromHtml(contentString)

return {
props: {
ssg: { headings }
}
}
}

<ApiReference networkName="base-sepolia"/>
{/* <!-- vale on --> */}
21 changes: 21 additions & 0 deletions pages/core-api/transaction-service-reference/gnosis-chain.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

{/* <!-- vale off --> */}
import ApiReference from '../../../components/ApiReference'
import { renderToString } from 'react-dom/server'
import { MDXComponents, getHeadingsFromHtml } from '../../../lib/mdx'
import Mdx from '../../../components/ApiReference/generated-reference.mdx'

export const getStaticProps = async () => {
const renderedMdx = <Mdx components={MDXComponents} />
const contentString = renderToString(renderedMdx)
const headings = getHeadingsFromHtml(contentString)

return {
props: {
ssg: { headings }
}
}
}

<ApiReference networkName="gnosis-chain"/>
{/* <!-- vale on --> */}

0 comments on commit 5bd3ed3

Please sign in to comment.