Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.md文件放到对应目录后,启动npm run docs:dev报YAMLException #3183

Open
scr1pt-yang opened this issue Nov 10, 2023 · 1 comment
Open

Comments

@scr1pt-yang
Copy link

.md文件放置对应目录后,设置了sidebar,其中children也指定没问题,但是启动npm run docs:dev时候,报YAMLException: end of the stream or a document separator is expected at line 6, column 1:
image
请问这个怎么解决?

@scr1pt-yang
Copy link
Author

已经解决,原因是我的markdown文件开头格式的问题,正确处理文件头部的---标识即可解析成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant