From bfe03f7a613dd3871af6f92e3e226436ffd0f180 Mon Sep 17 00:00:00 2001 From: wizardforcel <562826179@qq.com> Date: Wed, 10 Jul 2019 12:01:24 +0800 Subject: [PATCH] 2019-07-10 12:01:24 --- .gitignore | 115 ++++++++++++++++++++++++++++++++++++++++++++++++ .nojekyll | 0 404.html | 4 ++ CNAME | 1 + CONTRIBUTING.md | 78 ++++++++++++++++++++++++++++++++ README.md | 29 +++++++++++- index.html | 72 ++++++++++++++++++++++++++++++ update.sh | 3 ++ 8 files changed, 301 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CNAME create mode 100644 CONTRIBUTING.md create mode 100644 index.html create mode 100644 update.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a387c72 --- /dev/null +++ b/.gitignore @@ -0,0 +1,115 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# dotenv +.env + +# virtualenv +.venv +venv/ +ENV/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.DS_Store + +# gitbook +_book + +# node.js +node_modules + +# windows +Thumbs.db + +# word +~$*.docx +~$*.doc diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..5705beb --- /dev/null +++ b/404.html @@ -0,0 +1,4 @@ +--- +permalink: /404.html +--- + diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..655abf3 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +cython.apachecn.org \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..0748306 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,78 @@ +# 贡献指南 + +> 请您勇敢地去翻译和改进翻译。虽然我们追求卓越,但我们并不要求您做到十全十美,因此请不要担心因为翻译上犯错——在大部分情况下,我们的服务器已经记录所有的翻译,因此您不必担心会因为您的失误遭到无法挽回的破坏。(改编自维基百科) + +负责人: + ++ [飞龙](https://github.com/wizardforcel):562826179 + +## 章节列表 + ++ [Cython 3.0 中文文档](README.md) ++ [入门](docs/2.md) + + [Cython - 概述](docs/3.md) + + [安装 Cython](docs/4.md) + + [构建 Cython 代码](docs/5.md) + + [通过静态类型更快的代码](docs/6.md) ++ [Tutorials](docs/7.md) + + [基础教程](docs/8.md) + + [调用 C 函数](docs/9.md) + + [使用 C 库](docs/10.md) + + [扩展类型(又名.cdef 类)](docs/11.md) + + [pxd 文件](docs/12.md) + + [Caveats](docs/13.md) + + [Profiling](docs/14.md) + + [Unicode 和传递字符串](docs/15.md) + + [内存分配](docs/16.md) + + [纯 Python 模式](docs/17.md) + + [使用 NumPy](docs/18.md) + + [使用 Python 数组](docs/19.md) + + [进一步阅读](docs/20.md) + + [相关工作](docs/21.md) + + [附录:在 Windows 上安装 MinGW](docs/22.md) ++ [用户指南](docs/23.md) + + [语言基础](docs/24.md) + + [扩展类型](docs/25.md) + + [扩展类型的特殊方法](docs/26.md) + + [在 Cython 模块之间共享声明](docs/27.md) + + [与外部 C 代码连接](docs/28.md) + + [源文件和编译](docs/29.md) + + [早期绑定速度](docs/30.md) + + [在 Cython 中使用 C ++](docs/31.md) + + [融合类型(模板)](docs/32.md) + + [将 Cython 代码移植到 PyPy](docs/33.md) + + [Limitations](docs/34.md) + + [Cython 和 Pyrex 之间的区别](docs/35.md) + + [键入的内存视图](docs/36.md) + + [实现缓冲协议](docs/37.md) + + [使用并行性](docs/38.md) + + [调试你的 Cython 程序](docs/39.md) + + [用于 NumPy 用户的 Cython](docs/40.md) + + [Pythran 作为 Numpy 后端](docs/41.md) + +## 流程 + +### 一、认领 + +首先查看[整体进度](https://github.com/apachecn/cython-doc-zh/issues/1),确认没有人认领了你想认领的章节。 + +然后回复 ISSUE,注明“章节 + QQ 号”(一定要留 QQ)。 + +### 二、校对 + +需要校对: + +1. 语法 +2. 术语使用 +3. 文档格式 + +如果觉得现有翻译不好,重新翻译也是可以的。 + +### 三、提交 + ++ `fork` Github 项目 ++ 将译文放在`docs`文件夹下 ++ `push` ++ `pull request` + +请见 [Github 入门指南](https://github.com/apachecn/kaggle/blob/master/docs/GitHub)。 diff --git a/README.md b/README.md index b865fce..028c3dc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,30 @@ # Cython 3.0 中文文档 -来源: [http://docs.cython.org/en/latest/](http://docs.cython.org/en/latest/) \ No newline at end of file +![](http://docs.cython.org/en/latest/_static/cythonlogo.png) + +> 原文:[Welcome to Cython's Documentation](http://docs.cython.org/en/latest/) +> +> 协议:[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/) +> +> 欢迎任何人参与和完善:一个人可以走的很快,但是一群人却可以走的更远。 + +* [在线阅读](https://cython.apachecn.org) +* [贡献指南](CONTRIBUTING.md) +* [ApacheCN 学习资源](http://www.apachecn.org/) + +## 联系方式 + +### 负责人 + +* [飞龙](https://github.com/wizardforcel): 562826179 + +### 其他 + +* 认领翻译和项目进度-地址: +* 在我们的 [apachecn/cython-doc-zh](https://github.com/apachecn/cython-doc-zh) github 上提 issue. +* 发邮件到 Email: `apachecn@163.com`. +* 在我们的 [组织学习交流群](http://www.apachecn.org/organization/348.html) 中联系群主/管理员即可. + +## 赞助我们 + +![](http://data.apachecn.org/img/about/donate.jpg) diff --git a/index.html b/index.html new file mode 100644 index 0000000..04c3d15 --- /dev/null +++ b/index.html @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + +
now loading...
+ + + + + + + + \ No newline at end of file diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..f76166c --- /dev/null +++ b/update.sh @@ -0,0 +1,3 @@ +git add -A +git commit -am "$(date "+%Y-%m-%d %H:%M:%S")" +git push \ No newline at end of file -- GitLab