Skip to content

wechaty document referencing problem #1480

Description

@iyjian

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions