Skip to content

Commit

Permalink
fix(config,astro): render simpler smaller table of content (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Sep 18, 2024
1 parent 36f8ced commit fb1e9f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export default defineConfig({
src: './public/icons/icon-96x96.png',
replacesTitle: true
},
tableOfContents: true,
tableOfContents: {
minHeadingLevel: 1,
maxHeadingLevel: 2
},
editLink: {
baseUrl: 'https://github.com/freeCodeCamp/contribute/edit/main/'
},
Expand Down

0 comments on commit fb1e9f4

Please sign in to comment.