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:
LoGin
2025-05-20 10:44:28 +08:00
committed by GitHub
parent fccfa6f7ff
commit 880720250e
98 changed files with 13972 additions and 6 deletions

View File

@ -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