Link error in chapter 5.5.
Closed this issue · 6 comments
Chapter http://www.obeythetestinggoat.com/book/chapter_post_and_database.html#_the_django_orm_and_our_first_model:
later on
links to http://www.obeythetestinggoat.com/book/chapter_post_and_database.html#rewrite-model-test which returns to the top of the current page.
[chapter advanced forms]
should display a different string, shouldn't it?
Should I continue posting these errors? Or are you aware of them?
Thanks for these. They're an artefact of the way I built the HTML version -- basically asciidoctor doesn't support multi-page documents, so the book is actually rendered as if it was a single page, and the x-refs are all broken as a result. I've figured out a way to fix the chapter heading links manually, but I haven't yet written code to fix links to arbitrary points within chapters.
it's here, if you're curious: https://github.com/hjwp/Book-TDD-Web-Dev-Python/blob/master/copy_html_to_site_and_print_toc.py#L75
so i guess the answer is, yes i'm aware of the issue, so it's probably not worth posting any more. thanks very much for the work so far though, it's much appreciated!
You're welcome.