This is a Python 3.12.4 ZH-CN Version docset for Dash and Zeal.
Unzip the Python_3_cn.docset.7z
file to ~/Library/Application Support/Zeal/Zeal/Docsets
or ~/Library/Application Support/Dash/Docsets
for Mac or Linux, respectively.
-
Download the
HTML
Python 3.12.4 documentation from https://docs.python.org/zh-cn/3/download.html and extract it todoc
folder. -
Create
venv
and installdoc2dash
.python -m venv ./venv .\venv\Scripts\activate pip install doc2dash
or
pdm install
-
Run
.\build.bat
or
doc2dash -n Python_3_cn --icon .\assets\icon.png --icon-2x .\assets\icon@2x.png --force .\doc\
-
Copy the generated
Python_3_cn.docsets
folder to~/Library/Application Support/Zeal/Zeal/Docsets
or~/Library/Application Support/Dash/Docsets
for Mac or Linux, respectively. -
Reopen Zeal or Dash. You should see the docsets.
-
If everything works fine, you can delete the English version of the docsets.