We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af2e5be commit c3d9564Copy full SHA for c3d9564
docs/.vuepress/config.js
@@ -182,7 +182,11 @@ function getExamplesSidebar () {
182
title: `${apiName[0].toUpperCase() + apiName.slice(1)} API`,
183
collapsable: false,
184
children: levels.map((level, index) => {
185
- const hasGenerated = generateExampleMarkdown(apiName, level, index === 0 ? { prev: false } : index === levels.length - 1 ? { next: false } : {})
+ const hasGenerated = generateExampleMarkdown(apiName, level, {
186
+ editLink: false,
187
+ prev: index !== 0,
188
+ next: index !== levels.length - 1
189
+ })
190
const title = level[0].toUpperCase() + level.slice(1)
191
return [`/examples/${apiName}-api/${level}`, hasGenerated ? title : `${title} (soon)`]
192
})
0 commit comments