mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
math.js website
This project contains the website of math.js, available at http://mathjs.org. The website is static, and is hosted on github pages.
Update
To update the website with the latest version of math.js:
-
Install the latest math.js via npm:
npm install -
Update the docs, examples, and version number via the build tool:
npm run build -
To generate the website locally using Jekyll:
jekyll buildThis will generate the static website in the folder
_site. -
To test the website locally, use Jekyll as server:
jekyll serve --watchThe website is than available in the browser at http://localhost:4000.
Deploy
To deploy the website, all that is needed is to commit the changes via git,
and push the changes to the gh-pages branch of math.js on github.
Languages
JavaScript
97.9%
TypeScript
1.9%