-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from rodneyosodo/wasm-support
NOISSUE - Add Binary and WASM Examples to Getting Started
- Loading branch information
Showing
15 changed files
with
998 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Linter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
|
||
- name: Install markdownlint-cli | ||
run: npm install -g markdownlint-cli | ||
|
||
- name: run markdownlint | ||
run: markdownlint --disable MD013 -- docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,46 @@ | ||
# Cocos Docs | ||
|
||
This repo collects the collaborative work on Cocos AI documentation. | ||
Official documentation is hosted at [Cocos Docs page][docs]. | ||
This repo collects the collaborative work on Cocos AI documentation. Official documentation is hosted at [Cocos Docs page](https://docs.cocos.ultraviolet.rs). | ||
|
||
Documentation is auto-generated from Markdown files in this repo. | ||
|
||
[MkDocs](https://www.mkdocs.org/) is used to serve the docs locally with different theming. | ||
|
||
## Prerequisites | ||
## Install | ||
|
||
Install [MkDocs](https://www.mkdocs.org/#installation) | ||
Doc repo can be fetched from GitHub: | ||
|
||
```bash | ||
pip install mkdocs | ||
git clone https://github.com/ultravioletrs/cocos-docs.git | ||
``` | ||
|
||
Additionally, install [Material theme](https://squidfunk.github.io/mkdocs-material/): | ||
## Prerequisites | ||
|
||
```bash | ||
pip install mkdocs-material | ||
``` | ||
[Python](https://www.python.org/downloads/) is required to run MkDocs. | ||
|
||
## Install | ||
1. Create a virtual environment: | ||
|
||
Doc repo can be fetched from GitHub: | ||
```bash | ||
python -m venv venv | ||
``` | ||
|
||
```bash | ||
git clone [email protected]:ultravioletrs/docs.git | ||
``` | ||
2. Activate the virtual environment: | ||
|
||
```bash | ||
source venv/bin/activate | ||
``` | ||
|
||
3. Install [MkDocs](https://www.mkdocs.org/#installation) | ||
|
||
```bash | ||
pip install mkdocs | ||
``` | ||
|
||
4. Additionally, install [Material theme](https://squidfunk.github.io/mkdocs-material/): | ||
|
||
```bash | ||
pip install mkdocs-material | ||
``` | ||
|
||
## Usage | ||
|
||
|
@@ -38,6 +51,3 @@ mkdocs serve | |
``` | ||
|
||
Then just point the browser to [http://127.0.0.1:8000](http://127.0.0.1:8000). | ||
|
||
|
||
[docs]: https://docs.cocos.ultraviolet.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.