{"id":21010302,"url":"https://github.com/aneasystone/ci-doc-chinese","last_synced_at":"2025-05-15T02:34:18.196Z","repository":{"id":34916345,"uuid":"38967067","full_name":"aneasystone/ci-doc-chinese","owner":"aneasystone","description":"CodeIgniter 3.0 中文文档","archived":false,"fork":false,"pushed_at":"2015-08-28T06:11:28.000Z","size":1770,"stargazers_count":32,"open_issues_count":0,"forks_count":32,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-28T04:50:34.259Z","etag":null,"topics":["codeigniter","php"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"traviscrawford/python-hdfs","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aneasystone.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-12T15:37:15.000Z","updated_at":"2024-04-28T04:50:34.259Z","dependencies_parsed_at":"2022-09-01T06:02:31.823Z","dependency_job_id":null,"html_url":"https://github.com/aneasystone/ci-doc-chinese","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneasystone%2Fci-doc-chinese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneasystone%2Fci-doc-chinese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneasystone%2Fci-doc-chinese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneasystone%2Fci-doc-chinese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneasystone","download_url":"https://codeload.github.com/aneasystone/ci-doc-chinese/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225324649,"owners_count":17456578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeigniter","php"],"created_at":"2024-11-19T09:19:59.325Z","updated_at":"2024-11-19T09:20:00.013Z","avatar_url":"https://github.com/aneasystone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"############################\nCodeIgniter 3.0 中文文档\n############################\n\n这里是 CodeIgniter 3.0.0 的中文文档，翻译自 CodeIgniter\n`官方的英文版本 \u003chttp://www.codeigniter.com/user_guide/index.html\u003e`_ ，\n并参考了 `CodeIgniter 中国 \u003chttp://codeigniter.org.cn/\u003e`_ 提供的\n`CodeIgniter 2.2.2 中文手册 \u003chttp://codeigniter.org.cn/user_guide/index.html\u003e`_ 。\n\n文档中的大部分内容我都进行了重新整理和翻译，我并没有对原文进行逐字逐句的推敲，\n有些不好翻译的地方使用了一些自己组织的语言进行润色，力求做到语句通顺，易于理解。\n\n鉴于个人能力所限，翻译之中难免犯错，欢迎大家批评指正。\n你可以在 Github 上直接提交 Issues ，或者 Fork 我的项目作出修改然后向我提交 Pull Request ，\n我会尽快修复文档中的错误。\n\n******************\n安装步骤\n******************\n\nCodeIgniter 的用户指南是使用 Sphinx 软件进行管理，并可以生成各种不同的格式。\n所有的页面都是采用 `ReStructured Text \u003chttp://sphinx.pocoo.org/rest.html\u003e`_\n格式书写，这种格式非常方便人们阅读。\n\n安装条件\n=============\n\nSphinx 软件依赖于 Python，如果你使用的是 OS X 系统，则系统已经自带 Python 了。\n你可以在终端中执行不带参数的 ``python`` 命令，以确认你的系统是否已安装 Python 。\n如果你已安装，会显示出你当前所使用的版本。\n如果显示的不是2.7以上版本，你可以去这里下载并安装2.7.2\nhttp://python.org/download/releases/2.7.2/\n\n安装\n============\n\n1. 安装 `easy_install \u003chttp://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install\u003e`_\n2. ``easy_install \"sphinx==1.2.3\"``\n3. ``easy_install sphinxcontrib-phpdomain``\n4. 安装 CI Lexer，它可以高亮文档中的 PHP, HTML, CSS, 和 JavaScript 代码 (参见 *cilexer/README*)\n5. 返回代码库根目录\n6. ``make html``\n\n译注：\n\n1. Ubuntu 系统上安装 easy_install 可以直接：``sudo apt-get install python-setuptools``\n2. easy_install 需要 root 权限，前面加上 sudo\n\n编辑并创建文档\n==================================\n\n所有的源文件都在 *source/* 目录下，在这里你可以添加新的文档或修改已有的文档。\n如同代码的修改一样，我们推荐从你的 feature 分支发起 pull request 到这里的 *develop* 分支。\n\n那么，HTML 文档在哪里？\n========================\n\n很显然，HTML 文档才是我们最关心的，因为这毕竟才是用户最终看到的。\n由于对自动生成的文件进行版本控制没有意义，所以它们并不在版本控制之下。\n你如果想要预览 HTML 文档，你可以重新生成它们。生成 HTML 文档非常简单，\n首先进入你的用户指南目录，然后执行上面安装步骤中的最后一步::\n\n\tmake html\n\n你将会看到正在编译中的信息，编译成功后，生成的用户指南和图片都位于 *build/html/* 目录下。\n在 HTML 第一次编译之后，后面将只会针对修改的文件进行重编译，这将大大的节约我们的时间。\n如果你想再重新全部编译一次，只需删除 *build* 目录然后编译即可。\n\n***************\n风格指南\n***************\n\n使用 Sphinx 为 CodeIgniter 编写文档，请参考 source/documentation/index.rst 的一般准则。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneasystone%2Fci-doc-chinese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneasystone%2Fci-doc-chinese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneasystone%2Fci-doc-chinese/lists"}