mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-23 20:33:23 +00:00
doc: Add ai doc translate tool and add English doc. (#1168)
- add tools/doc_translator.py - translated docs into English Signed-off-by: longjin <longjin@DragonOS.org>
This commit is contained in:
@ -3,9 +3,22 @@
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
.. Note: __EXCLUDE_IN_TRANSLATED_START
|
||||
|
||||
欢迎来到DragonOS的文档!
|
||||
====================================
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<div class="toctree-wrapper compound">
|
||||
<p class="caption" role="heading"><span class="caption-text">Translations</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="locales/en/index.html">English</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
.. Note: __EXCLUDE_IN_TRANSLATED_END
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: 入门
|
||||
@ -52,6 +65,13 @@
|
||||
community/contact/index
|
||||
community/ChangeLog/index
|
||||
|
||||
.. Note: __EXCLUDE_IN_TRANSLATED_START
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Translations
|
||||
|
||||
locales/en/index
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
@ -59,3 +79,5 @@ Indices and tables
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
||||
.. Note: __EXCLUDE_IN_TRANSLATED_END
|
||||
|
Reference in New Issue
Block a user