Skip to content

Commit

Permalink
📃 docs: Update docs for native jars and i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Oct 15, 2024
1 parent 775049d commit 8fb38c8
Show file tree
Hide file tree
Showing 4 changed files with 551 additions and 44 deletions.
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ arm64 ✔️ ✔️ ✔️ ❌
=========== ======= ======= ======= =======

* Node.js ``v22.9.0`` + V8 ``v13.0.245.16``
* i18n and non-i18n
* Dynamic switch between Node.js and V8 mode
* Polyfill V8 mode with `Javenode <https://github.com/caoccao/Javenode>`_
* V8 API exposure in JVM
Expand Down Expand Up @@ -103,8 +104,8 @@ Gradle Kotlin DSL
implementation("com.caoccao.javet:javet:4.0.0") // Linux and Windows (x86_64)
implementation("com.caoccao.javet:javet-linux-arm64:4.0.0") // Linux (arm64)
implementation("com.caoccao.javet:javet-macos:4.0.0") // Mac OS (x86_64 and arm64)
implementation("com.caoccao.javet:javet-android-node:4.0.0") // Android Node (arm, arm64, x86 and x86_64)
implementation("com.caoccao.javet:javet-android-v8:4.0.0") // Android V8 (arm, arm64, x86 and x86_64)
implementation("com.caoccao.javet:javet-node-android:4.0.0") // Android Node (arm, arm64, x86 and x86_64)
implementation("com.caoccao.javet:javet-v8-android:4.0.0") // Android V8 (arm, arm64, x86 and x86_64)
Gradle Groovy DSL
^^^^^^^^^^^^^^^^^
Expand All @@ -114,8 +115,10 @@ Gradle Groovy DSL
implementation 'com.caoccao.javet:javet:4.0.0' // Linux and Windows (x86_64)
implementation 'com.caoccao.javet:javet-linux-arm64:4.0.0' // Linux (arm64)
implementation 'com.caoccao.javet:javet-macos:4.0.0' // Mac OS (x86_64 and arm64)
implementation 'com.caoccao.javet:javet-android-node:4.0.0' // Android Node (arm, arm64, x86 and x86_64)
implementation 'com.caoccao.javet:javet-android-v8:4.0.0' // Android V8 (arm, arm64, x86 and x86_64)
implementation 'com.caoccao.javet:javet-node-android:4.0.0' // Android Node (arm, arm64, x86 and x86_64)
implementation 'com.caoccao.javet:javet-v8-android:4.0.0' // Android V8 (arm, arm64, x86 and x86_64)
For more detail, please visit the `installation <https://www.caoccao.com/Javet/tutorial/basic/installation.html>`_ page.

Hello Javet
-----------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. include:: ../README.rst
:start-line: 0
:end-line: 157
:end-line: 160

.. toctree::
:maxdepth: 2
Expand Down
3 changes: 1 addition & 2 deletions docs/tutorial/advanced/internationalization_i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ The default Javet releases don't support i18n for the following reasons.
How to Enable i18n?
===================

* Download the snapshot builds from `Actions <https://github.com/caoccao/Javet/actions>`_.
* Reference the snapshot builds in the project.
* Follow :doc:`../basic/installation` to turn i18n on.
* Download and save ``icudt*.dat`` files from somewhere to a local directory. E.g. ``v8/third_party/icu``, ``node/deps/icu-tmp``.
* Set a flag as follows before the first Node.js or V8 runtime is created.

Expand Down
Loading

0 comments on commit 8fb38c8

Please sign in to comment.