Commit Graph

35 Commits

Author SHA1 Message Date
ylemkimon
c8f8ebd880 Use local built KaTeX on the main page for local and Netlify deploy preview (#1631)
* Use local built KaTeX on the main page for local and netlify builds

* Use KaTeX from CDN on Netlify production deploy
2018-09-04 07:25:29 +09:00
ylemkimon
ddc287e551 Enable Algolia Docsearch (#1688) 2018-09-04 06:58:28 +09:00
ylemkimon
761c52f99b Move to Netlify (#1683)
* Remove GitHub Pages publish script

* Redirect katex.netlify.com to katex.org

* Redirect function-support using _redirects

* Redirect docs to the first documentation and docs/en/ to docs/

* Include HSTS includeSubDomains and preload directive

* Cache static image assets
2018-09-02 20:06:39 +09:00
Sumit Gupta
9a6f31abcc Added correct hash for katex.min.css (#1692)
* Added correct hash

* Correct hash for versioned doc
2018-09-02 13:34:15 +09:00
ylemkimon
6f0a76c3a5 Enable Greenkeeper on website/package.json (#1687) 2018-09-01 14:05:32 -04:00
ylemkimon
89daa02fd8 Move to katex.org (#1680)
* Change links to katex.org

* Change http to https

* Remove baseUrl hacks

* Fix OpenGraph image link

* Fix KaTeX path update script
2018-08-31 04:08:02 -04:00
ylemkimon
7ca6f51b9a Release v0.10.0-rc.1 (#1654)
Bump master to v0.10.0-pre
2018-08-23 02:42:24 +09:00
ylemkimon
f70222769b Fix favicon.ico 404 (#1642) 2018-08-20 10:56:20 -04:00
ylemkimon
e790a416d5 Update SRI hashes for v0.10.0-rc (#1638) 2018-08-19 11:50:31 -04:00
ylemkimon
293af2936d Release v0.10.0-rc (#1634)
* Release v0.10.0-rc

Bump master to v0.10.0-pre

* Update CHANGELOG.md

* Update SRI hashes

* Update SRI hashes
2018-08-20 00:25:11 +09:00
Erik Demaine
aee4a86a67 Add intmath (Interactive Mathematics) to users list (#1635)
As discussed in https://github.com/Khan/KaTeX/pull/1569#issuecomment-413801933
2018-08-19 00:37:49 +09:00
ylemkimon
93b1b7947c Fix scrollspy.js & use query-string@5 to support IE (#1621)
* Fix scrollspy.js syntax error on IE

* Use query-string@5 to support IE
2018-08-18 21:25:37 +09:00
ylemkimon
0a35a3d184 Update Khan Academy logo (#1613)
* Update Khan Academy logo

* Remove original logo

* Remove unused SVG attributes

* Replace the main page logo with monochromatic (white) version

* Remove effects from the logo in the footer
2018-08-18 13:25:27 +09:00
ylemkimon
0687dd431a Improve demo (REPL, sandbox) on the main page (#1615)
* Improve demo (REPL, sandbox) on the main page

* Update button label

* Update textarea styles

* Change input event listeners to change

* Stack editor/render views vertically

* Add animation to options panel

* Open options panel and maximize view when hash is `demo`

* Fix clipboard text building

* Add -ms prefix to flex-direction

* Set width for [type="color"]

* Add macro example to the demo
2018-08-17 22:59:16 +09:00
Erik Demaine
ce64e56f63 Partial list of KaTeX users (#1569)
* Partial list of KaTeX users

Fix #305 (though work should be ongoing) by incorporating users
from that issue.  Also render project names.

* Ordering and link fixes

* Add more projects, allow non-square images

* Bug fix

* Implement comments

* Remove Bokeh

* Switch Gradescope logo, fix layout for small screens

* Implement @ylemkimon's comments

* Add expii logo

* Avoid master link
2018-08-17 16:37:55 +09:00
ylemkimon
e8f2ecdd39 Add credits to the KaTeX team and contributors (#1601)
* Add credits to the KaTeX team and contributors

* Remove Team

* Update link to contributors in main page, add license information

* Add license information to footer
2018-08-15 15:38:54 +09:00
Tonton Pixel
db43058bea Added project: Vade Mecum Shelf (#1579)
* Added project: Vade Mecum Shelf

Vade Mecum Shelf is a collection of utilities wrapped into one single app, built with Electron.
Two utilities are making use of KaTeX:
- LaTeX Math Renderer
- Trigonometric Formulas

* fix lint
2018-08-12 23:24:07 -04:00
ylemkimon
b99de9ae68 Use local built CSS and fonts for master documentation (#1584)
* Change `npm run` to `yarn`

* Export `commander` program if required as module

* Move `prestart` (cli.md generation) to build.js

* Normalize script names

* Change `yarn prestart` to `node lib/build.js`

* Use local built CSS and fonts

* Move stylesheet after the first paragraph

* Remove prestart script
2018-08-11 08:20:03 +09:00
Ron Kok
d2f56cebd7 Sync support pages (#1556)
* Sync support pages

* Use KaTeX logo for \href example

* mobile support

* Unit block sizes

* Add texvc to supported.md

* Fix CSS lint errors

* Added suggested braces to demo page

* Pick up review comments

* Move \allowbreak
2018-08-10 16:37:08 -04:00
ylemkimon
307b7ab9c3 Improve main page (index.html) speed (#1577)
* Inline Font Awesome icons using SVG

* Add license information header

* Preload KaTeX fonts

* Defer loading javascripts

* Cleanup stylesheet links

* Invoke startup script immediately

* Fix typo

* Add leading zeros
2018-08-10 02:52:49 +09:00
ylemkimon
e4db097f0c Enable stylelint-config-standard, lint CSS files (#1575) 2018-08-09 13:10:30 -04:00
ylemkimon
eab8f24333 Improve supported functions documentation 2 (#1576)
* Move remarkable plugins to website/lib

* Bypass escaped delimiter

* Add redirect page

* Include stylesheet in the documentation for versioning
2018-08-09 21:54:58 +09:00
ylemkimon
0a6392985c Fix padding on nested inner page navigation (toc) (#1568)
* Use original CSS selector
2018-08-08 15:30:42 -04:00
ylemkimon
429bb56606 Fix scripts (scrollspy) path (#1567) 2018-08-08 11:43:15 -04:00
ylemkimon
5ce03c45cf Add link to the demo in navigation bar and README (#1564)
* Add link to the demo in navigation bar

* Add link to the demo in README
2018-08-08 09:32:57 -04:00
Erik Demaine
05dc9211cc ScrollSpy for table of contents (#1557)
* ScrollSpy for table of contents

* Add reference

* Incorporate comments

* Simplify headingsCache and change ScrollSpy reference

* Add comment

* Fix lint errors

* Switch back to throlling, update comments
2018-08-08 13:22:06 +09:00
ylemkimon
48e6d9d431 index.html: replace font, make responsive (#1547)
* Replace Proxima Nova with Lato

* Make main page responsive (mobile-friendly)

* Make comparison image responsive
2018-08-07 23:26:33 -04:00
ylemkimon
69a7634a56 Improve release script & enable versioning documentation (#1521)
* Add version selection page

* Update the CDN urls in the documentation

* Generate new version and publish documentation in release script

* Update CDN urls when NEXT_VERSION is not provided

* Remove bower-related from release script

* Improve instructions running on the release branch 

and without next version

* Add a suffix to the branch name

* Update CSS stylesheet replacement

* Update release.sh

* Change npm to Yarn

* Fix calling `version` script

* Run `prestart` in `version`

* Wrap `Latest Version` descriptions with p tag

* Explicitly specify files to commit in the website
2018-08-08 08:52:28 +09:00
Ron Kok
c7145f0ff0 Alpha sorted function support page (#1536)
* Alpha sorted function support page

* Pick up comments

* Pick up review comments

* Pick up more comments

* Add more links

* Add \pu
2018-08-03 03:11:27 +09:00
ylemkimon
e97a23ec6d Set baseUrl depending on the environment (#1526) 2018-07-29 11:04:32 -07:00
ylemkimon
cd80db5ded Fix docUrl and pageUrl in the Footer & image path (#1514)
* Fix docUrl and pageUrl in the Footer

* Fix katex-comparison.gif path

* Fix typo in the url to `supported`
2018-07-29 13:40:10 -04:00
ylemkimon
20c9440318 Add markdown-help command and auto-generate CLI documentation (#1518)
* Add `markdown-help` command and update CLI documentation

* Auto-generate cli.md before start, build, and publish

* Update cli.md.template
2018-07-30 01:44:43 +09:00
ylemkimon
db2aecce24 Lint website (#1519)
* Lint website

* Add comment to empty_thead.js
2018-07-28 10:49:36 -04:00
ylemkimon
4114288403 Improve supported functions documentation (#1511)
* Remove empty lower right cells

* Escape backticks(`) using <code></code>

* Escape vertical bars(|) using <code> and HTML entity code

* Normalize documentation links

* Remove empty thead
2018-07-27 18:23:49 -07:00
ylemkimon
8a38035855 KaTeX website & documentation (#1484)
* website/docs: initial commit

* Change secondaryColor

* Fix index.css not being copied and included on global stylesheet

* Fix stylesheet link

[skip ci]

* Change documentation link to API(Usage)

[skip ci]

* Add `Libraries` in usage

[skip ci]

* Remove documentation from `README.md` and add link to the site

[skip ci]

* Use KaTeX in the parent directory to build Markdown

[skip ci]

* Revise function support page. Avoid error msgs.

* General edit to function support page
2018-07-26 20:19:40 -07:00