Skip to content

fix(docs): repair World Chain deploy code blocks#131

Merged
crystalt merged 4 commits into
mainfrom
crystalbill/fix-formatting
Jun 19, 2026
Merged

fix(docs): repair World Chain deploy code blocks#131
crystalt merged 4 commits into
mainfrom
crystalbill/fix-formatting

Conversation

@crystalt

@crystalt crystalt commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Discovered these while I was trying to learn about deploying World Chain smart contracts.

  • Fixed malformed code blocks on World Chain deploy guide
  • Removed unnecessary <CodeBlock>s (CodeBlock should be used when there are tab groups of related code snippets)

Test Plan

Before

https://docs.world.org/world-chain/developers/deploy

image

After

http://localhost:3000/world-chain/developers/deploy

image

@mintlify

mintlify Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
world 🟢 Ready View Preview Jun 19, 2026, 12:13 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment on lines +93 to +94
import { Test } from "forge-std/Test.sol";
import { HelloWorldChain } from "../src/HelloWorldChain.sol";

@crystalt crystalt Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this because the previous way caused lint warnings:

[06:36p][~/code/random-scripts/hello-world-chain][main|●2✚1…] forge build
[⠊] Compiling...
No files changed, compilation skipped
note[unaliased-plain-import]: use named imports '{A, B}' or alias 'import ".." as X'
 --> test/HelloWorldChain.t.sol:4:8
  |
4 | import "forge-std/Test.sol";
  |        ^^^^^^^^^^^^^^^^^^^^
  |
  = help: https://book.getfoundry.sh/reference/forge/forge-lint#unaliased-plain-import

note[unaliased-plain-import]: use named imports '{A, B}' or alias 'import ".." as X'
 --> test/HelloWorldChain.t.sol:5:8
  |
5 | import "../src/HelloWorldChain.sol";
  |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: https://book.getfoundry.sh/reference/forge/forge-lint#unaliased-plain-import

[06:36p][~/code/random-scripts/hello-world-chain][main|●2✚1…] 

@crystalt crystalt merged commit 7f09606 into main Jun 19, 2026
9 checks passed
@crystalt crystalt deleted the crystalbill/fix-formatting branch June 19, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants