GuoLei1990 / oasis-engine.github.io

This is the documentation of Oasis Engine. Guides, APIs, demos, everything about documentation is included here.

Home Page:https://oasisengine.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oasis Engine Site

The documentation source of Oasis Engine.

Development

Steps

  1. Clone the engine repository to local (if you have done, please skip to next step):
git clone git@github.com:oasis-engine/engine.git
cd engine
npm i
npm run b:types
  1. cd to this site repository, modify the typedocSource field value in siteconfig.json file:
  "typedocSource": "{ENGINE_REPOSITORY_PATH}",

Then run:

$ npm install
$ npm run bootstrap
$ npm run dev

OK, visit http://localhost:8000 .

How to insert a playground in markdown

// leave a blank line here
<playground src="buffer-mesh.ts"></playground>

Deploy

  1. Build the public content:
$ npm run build
  1. Copy the files in public directory to the root of gh-pages branch.

Playground

How to development

npm run playground

How to link

  • Mac
npm link ../engine/packages/* --no-package-lock
  • windows
npm link ..\engine\packages\oasis-engine --no-package-lock

About

This is the documentation of Oasis Engine. Guides, APIs, demos, everything about documentation is included here.

https://oasisengine.cn

License:MIT License


Languages

Language:TypeScript 72.7%Language:Less 15.3%Language:JavaScript 9.2%Language:HTML 1.7%Language:Sass 0.7%Language:CSS 0.2%Language:EJS 0.1%