All Projects → cocos-creator → Creator Docs

cocos-creator / Creator Docs

Manual docs content for Cocos Creator

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Creator Docs

Elm Doc Preview
Elm offline documentation previewer
Stars: ✭ 113 (-43.78%)
Mutual labels:  documentation, doc
Vuesence Book
Minimalistic Vue.js based documentation system component
Stars: ✭ 48 (-76.12%)
Mutual labels:  documentation, doc
Docsify
🃏 A magical documentation site generator.
Stars: ✭ 19,310 (+9506.97%)
Mutual labels:  documentation, doc
Vue Styleguidist
Created from react styleguidist for Vue Components with a living style guide
Stars: ✭ 2,133 (+961.19%)
Mutual labels:  documentation, doc
Docsearch Scraper
DocSearch - Scraper
Stars: ✭ 188 (-6.47%)
Mutual labels:  documentation
Docs Chinese
Fastify 中文文档
Stars: ✭ 183 (-8.96%)
Mutual labels:  documentation
Gatsby Starter Rocket Docs
The documentation starter you were looking for (ready for Gatsby v3) ⚡️
Stars: ✭ 182 (-9.45%)
Mutual labels:  documentation
Docker Bookstack
A Docker container for the BookStack documentation wiki
Stars: ✭ 180 (-10.45%)
Mutual labels:  documentation
Xrpl Dev Portal
XRP Ledger developer portal with documentation and examples
Stars: ✭ 198 (-1.49%)
Mutual labels:  documentation
Docs
System76 documentation site
Stars: ✭ 193 (-3.98%)
Mutual labels:  documentation
Tui.editor
🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
Stars: ✭ 14,016 (+6873.13%)
Mutual labels:  documentation
Elasticsearch Full
full-scale introduce for elasticsearch
Stars: ✭ 182 (-9.45%)
Mutual labels:  documentation
Cgx
💻🔥CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (-5.47%)
Mutual labels:  documentation
Vsphere Automation Sdk Rest
REST (Postman and JavaScript) samples and API reference documentation for vSphere using the VMware REST API
Stars: ✭ 182 (-9.45%)
Mutual labels:  documentation
Book
文言陰符 An Introduction to Programming in Wenyan Language
Stars: ✭ 194 (-3.48%)
Mutual labels:  documentation
Cirrus Ci Docs
Documentation for Cirrus CI 📚
Stars: ✭ 180 (-10.45%)
Mutual labels:  documentation
Wsl Guide
The Hitchhiker's Guide to Bash on Ubuntu on Windows!
Stars: ✭ 186 (-7.46%)
Mutual labels:  documentation
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (-3.48%)
Mutual labels:  documentation
Re Whatsapp
Reverse engineering WhatsApp. Documentation and protocols.
Stars: ✭ 184 (-8.46%)
Mutual labels:  documentation
Play2 Hands On
Play2 + Slick / ScalikeJDBCを使ってWebアプリケーションを作成するハンズオンです。
Stars: ✭ 183 (-8.96%)
Mutual labels:  documentation

Cocos Creator User Manual

Requirements

This documentation site is powered by GitBook. You can check out the online version here.

You need Node.js and npm to be able to build the site.

To install gitbook:

npm install gitbook-cli -g

Install gitbook plugins:

gitbook install

Install gulp and other modules:

npm install gulp -g
npm install

Preview

To preview the doc, run the following command:

npm run preview

Or

npm run preview -- -o file1,file2...

The first command will build and launch web server to host the site. It will also enable live reload plugin, so your changes to the markdown source file will automatically triggers the rebuild of the docs.

The second command allows you to build the page that you assigned straightly. Please change the file1,file2... to your own file name, then execute preview command. And this command will help you rebuild the .bookignore file which can let you ignore the files that you didn't change when you rebuild the doc.

After generation finished, don't quit server process, run the following command in other terminal context:

gulp prune-left-bar

This will remove unused links from left bar.

Build

If you just want to build the markdown to html, use this command:

npm run build

You can also build the doc for ebook formats (PDF, ePub, mobi), please following this guide:

https://toolchain.gitbook.com/ebook.html

If you need to publish to the website, you'd better build it on Mac. If use Windows, some redundant .md file will also generated.

Build Graphviz files

You're able to use Graphviz to draw flow charts. The only supported generated format is SVG.

To build Graphviz files(.dot), run:

npm run build:dots

The output SVG file would be generated at the same directory the graphviz file in, with same file name but extension replaced by ".svg".

Content Editing

The markdown source of this book is in language specific folders /en and /zh. Language options are registered in LANGS.md file.

Index

In each language folder there is an SUMMARY.md file, which contains all the pages to build and also this file serves as a sidebar navigation list. Any markdown source file that are not listed in this index will not be build.

In this index file, just write links to each markdown file in a list. Indented list is for chapters that contains expandable subs. For example:

- [Using Editor](getting-started/basics/editor-overview.md)
	- [Assets](getting-started/basics/editor-panels/assets.md)
	- [Scene](getting-started/basics/editor-panels/scene.md)
	- [Node Tree](getting-started/basics/editor-panels/node-tree.md)

Will create a toggleable chapter title Using Editor. Once clicked all its subs will show up.

Front page

index.md at each language folder is the front page of the doc.

Page content

To change the content of each page, just edit the markdown source files. There's no specific front matter format, just make sure each page has a h1 as the title.

Customize Style and Template

To customize styles, modify zh/styles/website.css and en/styles/website.css.

To change HTML templates, change the content in zh/_layouts and en/_layouts. Check out Templating Guide for gitbook.

Contribution

This is a dynamically updated user document, and your reading and feedback is the driving force behind our progress.

If you encounters any typo or content problem please report issue in this repo. Pull requests are welcome!

Style Guide for Chinese documents

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].