Re: [PATCH 3/4] docs/zh_CN: Add zh_CN/vm/index.rst
From: teng sterling
Date: Wed Jan 12 2022 - 07:16:12 EST
<cgel.zte@xxxxxxxxx> 于2022年1月11日周二 11:07写道:
>
> From: xu xin <xu.xin16@xxxxxxxxxx>
>
> This patch adds zh_CN/vm/index.rst.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: xu xin <xu.xin16@xxxxxxxxxx>
> ---
> Documentation/translations/zh_CN/vm/index.rst | 49 +++++++++++++++++++++++++++
Thank you for the translation. Here's a patch for the same that has
been reviewed
<https://lore.kernel.org/linux-doc/60c579b34792c4c76194c4843a695263a982b37d.1641866889.git.siyanteng@xxxxxxxxxxx/T/#u>
Here are some of my suggestions:
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/translations/zh_CN/vm/index.rst
>
> diff --git a/Documentation/translations/zh_CN/vm/index.rst b/Documentation/translations/zh_CN/vm/index.rst
> new file mode 100644
> index 0000000..27f8405
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/vm/index.rst
> @@ -0,0 +1,49 @@
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:原文Original: Documentation/vm/index.rst
> +
> +:译者Translator: 徐鑫 xu xin <xu.xin16@xxxxxxxxxx>
> +
> +:校译Proofreader: 杨洋 Yang Yang <yang.yang29@xxxxxxxxxx>
These signatures are recommended to refer to other documents that have
already been translated, too many different formats will make a mess
of the Chinese document.
> +
> +===================
> +Linux内存管理的文档
> +===================
> +
> +这是一个关于Linux内存管理(mm)子系统的文档集合,其内部具有不同层级的详细信息,
> +包括注释和邮件列表,用于详细描述数据结构和算法。如果您正在寻找有关简单内存分
> +配的建议,请参阅:ref:`memory_allocation` 。有关控制和调整指南,请参阅
> +:doc: `admin guide <../admin-guide/mm/index>` 。
In the document, we are no longer using this reference, simply write
in parentheses to refer to the path of the document can be.
> +
> +.. toctree::
> + :maxdepth: 1
> +
> + ksm
> +
> +Todolist:
> + active_mm
> + arch_pgtable_helpers
> + balance
> + damon/index
> + free_page_reporting
> + frontswap
> + highmem
> + hmm
> + hwpoison
> + hugetlbfs_reserv
> + memory-model
> + mmu_notifier
> + numa
> + overcommit-accounting
> + page_migration
> + page_frags
> + page_owner
> + page_table_check
> + remap_file_pages
> + slub
> + split_page_table_lock
> + transhuge
> + unevictable-lru
> + vmalloced-kernel-stacks
> + z3fold
> + zsmalloc
Compile pass is only one of the basis for checking through, we also
have to check the html for any problems, as far as I know, the above
treatment is very ugly, in the html will be like this:
active_mmarch_pgtable_helpersbalance damon/index.........
Let's handle it simply like this:
.. toctree::
:maxdepth: 1
active_mm
balance
damon/index
TODOLIST:
* arch_pgtable_helpers
* free_page_reporting
* frontswap
* highmem
* hmm
* hwpoison
* hugetlbfs_reserv
* ksm
* memory-model
* mmu_notifier
* numa
* overcommit-accounting
* page_migration
* page_frags
* page_owner
* page_table_check
* remap_file_pages
* slub
* split_page_table_lock
* transhuge
* unevictable-lru
* vmalloced-kernel-stacks
* z3fold
* zsmalloc
Finally, welcome to join us!
Thanks,
Yanteng
> --
> 2.15.2
>
>