Skip to content
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 broken urls #1835

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Fix broken urls #1835

merged 3 commits into from
Jun 6, 2024

Conversation

geometryolife
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 4:10pm
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 4:10pm

- **[Programming with Bitcoin blocks and transactions](./bitcoin/programming_with_block_and_tx)**: Developers can access Bitcoin blocks and transactions within contracts and use the data contained in them for programming.
- **[Bitcoin Asset Protocol Extension](./bitcoin/ordinals_metaprotocol_extension)**: Developers can deploy contracts to Rooch to extend the Bitcoin asset protocol, such as by deploying a new asset protocol based on Ordinals.
- **[Programming with Bitcoin UTXO and Inscription](./bitcoin/programming_with_utxo_and_inscription)**: Rooch has automatically parsed Bitcoin UTXO and Inscription through the bitcoin-move system contract, allowing developers to directly use these assets for programming.
- **[Programming with Bitcoin blocks and transactions](./bitcoin/programming_with_block_and_tx.en-US.mdx)**: Developers can access Bitcoin blocks and transactions within contracts and use the data contained in them for programming.
Copy link
Contributor

Choose a reason for hiding this comment

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

文件地址貌似不应该带后缀,不然生成的地址也会有后缀

https://rooch-git-fork-geometryolife-fix-broken-urls-rooch.vercel.app/build/bitcoin/programming_with_block_and_tx.en-US

可以确认下 nextra 的正确做法。

Copy link
Collaborator Author

@geometryolife geometryolife Jun 6, 2024

Choose a reason for hiding this comment

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

因为链接检查的那个软件对于内部链接(file://)没办法自动补全后缀,如果没有后缀就识别不到是哪一个文件。
image

如果使用外部链接(https://)它就能发送检查请求,不需要后缀。
所以如果要去除后缀,那么只能全部换成外部链接了

Copy link
Contributor

Choose a reason for hiding this comment

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

我先合并了看看,如果生成的地址还是有后缀,那还是去掉后缀.我们找其他工具检测链接,感觉 vercel 应该有工具.

@jolestar jolestar merged commit 53b272a into rooch-network:main Jun 6, 2024
7 checks passed
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