You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash createBookFromReadme.sh
2020-12-19 14:48:44 [WARN] (mdbook::book::summary): Expected a start of a link, actually got Some(Text(Borrowed("[")))
2020-12-19 14:48:44 [ERROR] (mdbook::utils): Error: Summary parsing failed
2020-12-19 14:48:44 [ERROR] (mdbook::utils): Caused By: There was an error parsing the numbered chapters
2020-12-19 14:48:44 [ERROR] (mdbook::utils): Caused By: There was an error parsing the numbered chapters
2020-12-19 14:48:44 [ERROR] (mdbook::utils): Caused By: failed to parse SUMMARY.md line 3, column 3: The link items for nested chapters must only contain a hyperlink
The text was updated successfully, but these errors were encountered:
As shown above, I had the same issue too.
Clearly, the problem lies in mdbook build.
The createBookFromReadme.sh script consists of multiple build functions and it fails at buildAndServeBookLocally due to the mdbook build error as illustrated below:
Inspecting the SUMMARY.md file generated by createBookFromReadme.sh, we find that the highlighted line is the root cause of this issue. In fact, it's actually the first line of README.md:
To overcome this, we can add an Update heading to the start of README.md.
macOS 10.15.7
The text was updated successfully, but these errors were encountered: