Another issue is that routing to the Objects page under the Addressable Storage section is broken. On clicking it, the page will navigate correctly, but the sidebar shows you in Object under Aptos Standards (they both use objects as the route). This fixes that issue by using the object path for the route under "Aptos Standards" and objects for the route under "Addressable Storage".
Description
On https://aptos.dev/en/build/smart-contracts/objects/creating-objects, the sidebar table of contents is broken (due to the wrong headings used in the
mdx
file). This fixes the ToC and ensures correct headings are used.Before
After
Another issue is that routing to the
Objects
page under theAddressable Storage
section is broken. On clicking it, the page will navigate correctly, but the sidebar shows you inObject
underAptos Standards
(they both useobjects
as the route). This fixes that issue by using theobject
path for the route under "Aptos Standards" andobjects
for the route under "Addressable Storage".I added redirects for the old routes.
https://github.com/user-attachments/assets/1c6ded2f-ae11-4cc4-ae2c-317a347ced69
Checklist
pnpm spellcheck
?pnpm fmt
?pnpm lint
?