1
0
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:
Troy McConaghy 2019-05-13 15:18:42 +02:00 committed by GitHub
commit f8fc70302b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ export const pageQuery = graphql`
query DocBySlug($slug: String!) {
markdownRemark(fields: { slug: { eq: $slug } }) {
id
tableOfContents
tableOfContents(maxDepth: 3)
html
htmlAst
frontmatter {