docusaurus icon indicating copy to clipboard operation
docusaurus copied to clipboard

wechaty document referencing problem

Open iyjian opened this issue 3 years ago • 1 comments

some references in wechaty.js.org doc are not working, for example when you click RoomEventName under room event listener doc , it can not reference to the correct position.

after some investigations, I found the problem:

by default, docusaurus uses auto generated markdown head ids for referencing. for example if markdown head is ## Hello World, we can use [Hello World](wechaty.md#hello-world) for referencing in docusaurus docs. but in the above example, we use [RoomEventName](room.md#RoomEventName) (not convert to lowwercase).

I was wondering if we can use write-id-cli to generate static head id, then change the reference link to the generated static head in our docs.

after search, I found we have 56 modifications.

image

10 + 3 + 8 + 35 = 56

iyjian avatar Feb 12 '22 14:02 iyjian

@iyjian Hello, I would like to work on this issue

Mackenzie-OO7 avatar Apr 26 '23 10:04 Mackenzie-OO7