docs: autogenerated page comment does not matching dirName in examples (#8364)

This commit is contained in:
Anna 2022-11-23 17:37:22 +01:00 committed by GitHub
parent d45083f93a
commit 4b11c57f7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ module.exports = {
// highlight-start // highlight-start
{ {
type: 'autogenerated', type: 'autogenerated',
dirName: 'tutorials/advanced', // Generate sidebar slice from docs/tutorials/hard dirName: 'tutorials/advanced', // Generate sidebar slice from docs/tutorials/advanced
}, },
// highlight-end // highlight-end
'tutorial-end', 'tutorial-end',
@ -123,7 +123,7 @@ module.exports = {
// highlight-end // highlight-end
'tutorial-medium', 'tutorial-medium',
// highlight-start // highlight-start
// Two files and a folder in docs/tutorials/hard // Two files and a folder in docs/tutorials/advanced
'advanced1', 'advanced1',
'advanced2', 'advanced2',
{ {
@ -395,7 +395,7 @@ docs
│ ├── 01-First Part.md │ ├── 01-First Part.md
│ ├── 02-Second Part.md │ ├── 02-Second Part.md
│ └── 03-End.md │ └── 03-End.md
├── 03-Tutorial Hard ├── 03-Tutorial Advanced
│ ├── 01-First Part.md │ ├── 01-First Part.md
│ ├── 02-Second Part.md │ ├── 02-Second Part.md
│ ├── 03-Third Part.md │ ├── 03-Third Part.md