first commit; migrate code from minimal/docs-server

This commit is contained in:
2023-04-29 14:48:17 -07:00
commit c366c1e605
124 changed files with 6694 additions and 0 deletions

BIN
vendor/katex/KaTeX_AMS-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_AMS-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_AMS-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Caligraphic-Bold.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Caligraphic-Bold.woff vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Bold.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Bold.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Bold.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Fraktur-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Bold.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Bold.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Bold.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-BoldItalic.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-BoldItalic.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-BoldItalic.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Italic.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Italic.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Italic.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Main-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-BoldItalic.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-BoldItalic.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-BoldItalic.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-Italic.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-Italic.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Math-Italic.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Bold.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Bold.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Bold.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Italic.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Italic.woff vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/katex/KaTeX_SansSerif-Regular.ttf vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/katex/KaTeX_Script-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Script-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Script-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size1-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size1-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size1-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size2-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size2-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size2-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size3-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size3-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size3-Regular.woff2 vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size4-Regular.ttf vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size4-Regular.woff vendored Normal file

Binary file not shown.

BIN
vendor/katex/KaTeX_Size4-Regular.woff2 vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

21
vendor/katex/LICENSE vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2013-2020 Khan Academy and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1079
vendor/katex/katex.css vendored Normal file

File diff suppressed because it is too large Load Diff

1
vendor/katex/katex.min.css vendored Normal file

File diff suppressed because one or more lines are too long

184
vendor/katex/package.json vendored Normal file
View File

@@ -0,0 +1,184 @@
{
"name": "katex",
"version": "0.16.0",
"description": "Fast math typesetting for the web.",
"main": "dist/katex.js",
"exports": {
".": {
"require": "./dist/katex.js",
"import": "./dist/katex.mjs"
},
"./contrib/auto-render": {
"require": "./dist/contrib/auto-render.js",
"import": "./dist/contrib/auto-render.mjs"
},
"./contrib/mhchem": {
"require": "./dist/contrib/mhchem.js",
"import": "./dist/contrib/mhchem.mjs"
},
"./contrib/copy-tex": {
"require": "./dist/contrib/copy-tex.js",
"import": "./dist/contrib/copy-tex.mjs"
},
"./contrib/mathtex-script-type": {
"require": "./dist/contrib/mathtex-script-type.js",
"import": "./dist/contrib/mathtex-script-type.mjs"
},
"./contrib/render-a11y-string": {
"require": "./dist/contrib/render-a11y-string.js",
"import": "./dist/contrib/render-a11y-string.mjs"
},
"./*": "./*"
},
"homepage": "https://katex.org",
"repository": {
"type": "git",
"url": "https://github.com/KaTeX/KaTeX.git"
},
"funding": [
"https://opencollective.com/katex",
"https://github.com/sponsors/katex"
],
"files": [
"katex.js",
"cli.js",
"src/",
"contrib/",
"dist/"
],
"license": "MIT",
"packageManager": "yarn@3.2.0",
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.10.4",
"@babel/runtime": "^7.10.4",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.0.4",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"babel-jest": "^27.0.0",
"babel-loader": "^8.0.5",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-preval": "^5.0.0",
"babel-plugin-version-inline": "^1.0.0",
"benchmark": "^2.1.4",
"browserslist": "^4.13.0",
"browserstack-local": "^1.4.5",
"caniuse-lite": "^1.0.30001102",
"css-loader": "^6.0.0",
"cssnano": "^5.0.0-rc.1",
"eslint": "^8.0.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-actions": "^2.0.0",
"eslint-plugin-flowtype": "^8.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-react": "^7.20.3",
"flow-bin": "^0.135.0",
"fs-extra": "^10.0.0",
"got": "^11.8.0",
"husky": "^4.2.5",
"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.0.2",
"jest": "^27.0.0",
"jest-diff": "^27.0.0",
"jest-matcher-utils": "^27.0.0",
"jest-message-util": "^27.0.0",
"jest-serializer-html": "^7.0.0",
"js-yaml": "^4.0.0",
"json-stable-stringify": "^1.0.1",
"jspngopt": "^0.2.0",
"less": "^4.0.0",
"less-loader": "^10.0.0",
"mini-css-extract-plugin": "^2.0.0",
"mkdirp": "^1.0.4",
"p-retry": "^4.6.1",
"pako": "^2.0.0",
"postcss": "^8.0.0",
"postcss-less": "^6.0.0",
"postcss-loader": "^6.0.0",
"postcss-preset-env": "^7.0.0",
"prettier": "^2.0.5",
"query-string": "^7.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.21.0",
"selenium-webdriver": "^4.0.0-beta.4",
"semantic-release": "^18.0.0",
"sri-toolbox": "^0.2.0",
"style-loader": "^3.0.0",
"stylelint": "^14.0.0",
"stylelint-config-standard": "^24.0.0",
"terser-webpack-plugin": "^5.0.3",
"webpack": "^5.51.1",
"webpack-bundle-analyzer": "^4.0.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.0.0"
},
"bin": "cli.js",
"scripts": {
"test": "yarn test:lint && yarn test:flow && yarn test:jest",
"test:lint": "yarn test:lint:js && yarn test:lint:css",
"test:lint:js": "eslint .",
"test:lint:css": "stylelint src/katex.less static/main.css website/static/**/*.css",
"test:flow": "flow",
"test:jest": "jest",
"test:jest:watch": "jest --watch",
"test:jest:update": "jest --updateSnapshot",
"test:jest:coverage": "jest --coverage",
"test:screenshots": "yarn test:screenshots:update --verify",
"test:screenshots:update": "dockers/screenshotter/screenshotter.sh",
"test:perf": "NODE_ENV=test node test/perf-test.js",
"clean": "rm -rf dist/ node_modules/",
"clean-install": "yarn clean && yarn",
"start": "webpack serve --config webpack.dev.js",
"analyze": "webpack --config webpack.analyze.js",
"build": "rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c --failAfterWarnings && webpack && node update-sri.js package dist/README.md",
"build:fonts": "dockers/fonts/buildFonts.sh",
"build:metrics": "dockers/fonts/buildMetrics.sh",
"watch": "yarn build --watch",
"postversion": "yarn dist && node update-sri.js package README.md contrib/*/README.md docs/*.md website/pages/index.html",
"semantic-release": "semantic-release",
"dist": "yarn build && yarn dist:zip",
"dist:zip": "rimraf katex/ katex.tar.gz katex.zip && cp -R dist katex && tar czf katex.tar.gz katex && zip -rq katex.zip katex && rimraf katex/"
},
"dependencies": {
"commander": "^8.0.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:lint"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"contrib/**/*.js",
"!src/unicodeSymbols.js",
"!contrib/mhchem/**"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.js"
],
"snapshotSerializers": [
"jest-serializer-html"
],
"testMatch": [
"**/test/*-spec.js"
],
"testURL": "http://localhost/",
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleNameMapper": {
"^katex$": "<rootDir>/katex.js"
}
}
}

2
vendor/katex/readme.md vendored Normal file
View File

@@ -0,0 +1,2 @@
Pulled from the `katex` package on npm (which is installed in `node_modules`) for the purposes of serving static assets (css and fonts)