mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #247 from oceanprotocol/feature/toc-levels
restrict depth of table of contents
This commit is contained in:
commit
f8fc70302b
@ -124,7 +124,7 @@ export const pageQuery = graphql`
|
|||||||
query DocBySlug($slug: String!) {
|
query DocBySlug($slug: String!) {
|
||||||
markdownRemark(fields: { slug: { eq: $slug } }) {
|
markdownRemark(fields: { slug: { eq: $slug } }) {
|
||||||
id
|
id
|
||||||
tableOfContents
|
tableOfContents(maxDepth: 3)
|
||||||
html
|
html
|
||||||
htmlAst
|
htmlAst
|
||||||
frontmatter {
|
frontmatter {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user