Giter VIP home page Giter VIP logo

developer.playcanvas.com's Introduction

PlayCanvas Developer Site

This is source repository for the PlayCanvas Developer Site. It is made up of static web content generated from Markdown files using Metalsmith.

How to build

Building the site requires node and npm.

cd developer.playcanvas.com
npm install
npm run build

How to serve

To serve the site locally:

npm run serve

Now visit http://localhost:51000 in your browser.

Use 'watch' for quick iteration

The watch build command will automatically rebuild the site when changes are made in the content or public folders.

npm run watch

Update CSS from SCSS

The site uses Sass to generate the CSS. To generate, run:

npm run sass

Update FAQ

The User Manual on the developer site has a FAQ page which can be found at content/en/user-manual/faq.md. This is the only Markdown file which is generated from other files (located in the faq directory). If you would like to add additional FAQs, check them in to the faq directory and to regenerate content/en/user-manual/faq.md run:

npm run faq

Testing

To validate the generated HTML files in the build folder, run:

npm run lint:html

To scan for broken hyperlinks, run:

npm run test:links

Localization

The Developer Site is translated via Transifex. When anything in content/en is updated, run tx push. Once translation acitivity on Transifex is complete, run tx pull and submit a PR with the updated language content. Instructions on setting up the Transifex CLI tool tx can be found here. Note that the first time you push with tx, you will need to enter the Transifex developer key (contact an Admin of the Transifex project to obtain this).

developer.playcanvas.com's People

Contributors

willeastcott avatar daredevildave avatar vkalpias avatar yaustar avatar steveny-sc avatar maksims avatar adamraz avatar benbean303 avatar imgbot[bot] avatar yak32 avatar mvaligursky avatar merihtaze avatar slimbuck avatar gsterbrant avatar isumygin-sc avatar epreston avatar ellthompson avatar dependabot[bot] avatar kenneynl avatar imgbotapp avatar ivalee avatar jpauloruschel avatar steveorevo avatar yushimatenjin avatar halvves avatar runninglvlan avatar raytranuk avatar ninito-ph avatar mcmorry avatar libelulav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.