`timedot`/`timeclock` manuals missing from v1.21 and later
wbadart opened this issue · comments
Hey team-
Just noticed that https://hledger.org/1.21/timedot.html gives a blank page. Turning to the network tab in my browser dev tools shows the page is missing:
Maybe this issue is more about establishing an informative 404 page; not sure if mdbook has support for this out of the box, but it might help readers navigate out of the above situation in the future.
Thanks!
Thanks for the report!
It took me quite a while to remember that these were merged into hledger.html as of 1.21. Did a link lead you to this url ?
I agree the 404 page should be improved.
I have added redirects:
# never-existed content that some people try
redir /1.21/journal.html /hledger.html#journal-format
redir /1.21/csv.html /hledger.html#csv-format
redir /1.21/timeclock.html /hledger.html#timeclock-format
redir /1.21/timedot.html /hledger.html#timedot-format
redir /1.22/journal.html /hledger.html#journal-format
redir /1.22/csv.html /hledger.html#csv-format
redir /1.22/timeclock.html /hledger.html#timeclock-format
redir /1.22/timedot.html /hledger.html#timedot-format
and generic HTTP error pages.
Leaving open as redirects are a workaround; in site.js, old journal/csv/timeclock/timedot manuals should link to hledger.html for 1.21+.