-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Labels
Description
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.
10 + 3 + 8 + 35 = 56
huan