Skip to content

cptbtptpbcptdtptp/oasis-engine.github.io

 
 

Repository files navigation

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-instance.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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 84.1%
  • Less 9.4%
  • JavaScript 5.3%
  • HTML 0.6%
  • Sass 0.4%
  • CSS 0.1%
  • EJS 0.1%