LeaVerou / bliss

Blissful JavaScript
http://blissfuljs.com
MIT License
2.39k stars 101 forks source link

[Docs] Table of contents not showing #256

Closed C-Ezra-M closed 8 months ago

C-Ezra-M commented 10 months ago

At https://blissfuljs.com/docs, the table of contents is supposed to show under "Contents", but it doesn't. No exception has occurred.

UweOhse commented 8 months ago

That's because of this check:

   if (/\/docs\.html$/.test(location.pathname)) {
    // Table of Contents

it expects location.pathname to be /docs.html, but that changed to /docs some time ago.

This project might be abandoned, which is a shame.

LeaVerou commented 8 months ago

This project might be abandoned, which is a shame.

Not quite to that level, but certainly deprioritized. There is a near-complete rewrite to ESM in the v2 branch, but none of us had time to actually work on updating the website for v2. If any of you wants to help out, I'd be more than willing to provide guidance!