Closed jaetowers closed 1 year ago
Tried on Python 3.8.3 and still got the same error
RuntimeError: ←[91m===============================================================================←[0m
The Table of Contents file is malformed: toc is not a mapping: <class 'list'> You may need to migrate from the old format, using:
jupyter-book toc migrate C:\Users\Jaehee\Documents\_WORK_ONS\GIT_REPOS\qa-of-code-guidance\book\_toc.yml -o C:\Users\Jaehee\Documents\_WORK_ONS\GIT_REPOS\qa-of-code-guidance\book\_toc.yml
←[91m===============================================================================←[0m
Running the quoted line resolved the error:
jupyter-book toc migrate C:\Users\Jaehee\Documents_WORK_ONS\GIT_REPOS\qa-of-code-guidance\book_toc.yml -o C:\Users\Jaehee\Documents_WORK_ONS\GIT_REPOS\qa-of-code-guidance\book_toc.yml
Written to: C:\Users\Jaehee\Documents_WORK_ONS\GIT_REPOS\qa-of-code-guidance\book_toc.yml
Building the book from a python 3.7.9 virtual environment produced this error: