-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix navigation and formatting in Build -> Smart Contracts (Move) -> Objects #680
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
objects: { | ||
title: "Object", | ||
"aptos-objects": { | ||
title: "Objects", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried keeping this route as objects
, but if you go to https://aptos.dev/en/build/smart-contracts/objects/creating-objects and hit refresh, it redirects to using-objects
and I'm not sure why. Changing the name of the route to something other than objects
fixes it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe there's a permalink in the redirects. A lot of them are set as permanent.
b1b772d
to
db28fab
Compare
db28fab
to
197e84e
Compare
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.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 usingobject
path for the route under "Aptos Standards" andmove-objects
for the route under "Addressable Storage".I added redirects for the old routes.
Screen.Recording.2024-10-25.at.2.21.06.PM.mov
Checklist
pnpm spellcheck
?pnpm fmt
?pnpm lint
?