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

Add initial documentation for building servo on OpenHarmony #9

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

jschwe
Copy link
Member

@jschwe jschwe commented Aug 2, 2024

No description provided.

@jschwe
Copy link
Member Author

jschwe commented Aug 6, 2024

@mukilan Perhaps you could have a look?


<div class="warning _note">
Before rushing and downloading the OH SDK from gitee as described here, please note that you will also need `hvigor` to compile applications.
`hvigor` is currently only available via the [HarmonyOS NEXT commandline tools], which also contains a copy of the OpenHarmony SDK.
Copy link
Member

Choose a reason for hiding this comment

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

The markdown syntax doesn't seem to have any effect inside the warning div. Both the backtick quoted text and reference links are not rendered correctly

Copy link
Member

Choose a reason for hiding this comment

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

in future, you can make markdown work inside html tags by adding a blank line after the opening tag :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, thats good to know!

</div>

`hvigor` (not the wrapper `hvigorw`) is also available via `npm`.
1. Install the same nodejs version as the commandline-tools ship.
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way for users to figure out the node version? It might be helpful to add that here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure. I thought I saw the required version documented somewhere, but I can't find it right now.
So currently the only approach is "Check what the commandline tools bundle ships". I did document the version shipped in Harmony OS NEXT though.
I imagine that a lot of the things will get easier after the official release, as more components become freely available / opensourced.

Signed-off-by: Jonathan Schwender <[email protected]>
@mukilan mukilan merged commit 9a31d44 into servo:main Aug 6, 2024
@jschwe jschwe deleted the ohos-docs branch August 6, 2024 09:52
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.

3 participants