chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
606 stars 328 forks source link

Docs link issue #818

Closed kranux closed 1 year ago

kranux commented 1 year ago

Hey, I noticed that links in documentation are broken.

For example:

in https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/types/box.html#label

when I click on "Padding":

image

I get url hash lost in redirection.

So instead of https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/options.html#padding (expected)

I get https://www.chartjs.org/chartjs-plugin-annotation/latest/guide/options.html (actual) - note there is no #padding in the end.

stockiNail commented 1 year ago

@kranux thank you! the weird thing is that locally is working well (positioning to the "Padding" paragraph). more investigations are needed.

stockiNail commented 1 year ago

@kranux apologize for delay of my reply but I had time to have a look right now. I think (not sure) the issue is related to the link in markdown where the .md extension is not present in the relative URL. I'm going to submit a PR adding the extension.