diff --git a/docs/index.html b/docs/index.html index 68e6ac6f..8220b283 100644 --- a/docs/index.html +++ b/docs/index.html @@ -38,7 +38,7 @@ - + @@ -63,8 +63,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html index 4feda82c..95abce80 100644 --- a/docs/ja-JP/index.html +++ b/docs/ja-JP/index.html @@ -41,7 +41,7 @@ - + @@ -66,8 +66,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/docs/js/custom-element/api/README.md b/docs/js/graphics-element/api/README.md similarity index 100% rename from docs/js/custom-element/api/README.md rename to docs/js/graphics-element/api/README.md diff --git a/docs/js/custom-element/api/base-api.js b/docs/js/graphics-element/api/base-api.js similarity index 100% rename from docs/js/custom-element/api/base-api.js rename to docs/js/graphics-element/api/base-api.js diff --git a/docs/js/custom-element/api/graphics-api.js b/docs/js/graphics-element/api/graphics-api.js similarity index 100% rename from docs/js/custom-element/api/graphics-api.js rename to docs/js/graphics-element/api/graphics-api.js diff --git a/docs/js/custom-element/api/impart-slider-logic.js b/docs/js/graphics-element/api/impart-slider-logic.js similarity index 100% rename from docs/js/custom-element/api/impart-slider-logic.js rename to docs/js/graphics-element/api/impart-slider-logic.js diff --git a/docs/js/custom-element/api/types/bezier.js b/docs/js/graphics-element/api/types/bezier.js similarity index 100% rename from docs/js/custom-element/api/types/bezier.js rename to docs/js/graphics-element/api/types/bezier.js diff --git a/docs/js/custom-element/api/types/bspline.js b/docs/js/graphics-element/api/types/bspline.js similarity index 100% rename from docs/js/custom-element/api/types/bspline.js rename to docs/js/graphics-element/api/types/bspline.js diff --git a/docs/js/custom-element/api/types/matrix.js b/docs/js/graphics-element/api/types/matrix.js similarity index 100% rename from docs/js/custom-element/api/types/matrix.js rename to docs/js/graphics-element/api/types/matrix.js diff --git a/docs/js/custom-element/api/types/vector.js b/docs/js/graphics-element/api/types/vector.js similarity index 100% rename from docs/js/custom-element/api/types/vector.js rename to docs/js/graphics-element/api/types/vector.js diff --git a/docs/js/custom-element/api/util/binomial.js b/docs/js/graphics-element/api/util/binomial.js similarity index 100% rename from docs/js/custom-element/api/util/binomial.js rename to docs/js/graphics-element/api/util/binomial.js diff --git a/docs/js/custom-element/api/util/fit-curve-to-points.js b/docs/js/graphics-element/api/util/fit-curve-to-points.js similarity index 100% rename from docs/js/custom-element/api/util/fit-curve-to-points.js rename to docs/js/graphics-element/api/util/fit-curve-to-points.js diff --git a/docs/js/custom-element/api/util/interpolate-bspline.js b/docs/js/graphics-element/api/util/interpolate-bspline.js similarity index 100% rename from docs/js/custom-element/api/util/interpolate-bspline.js rename to docs/js/graphics-element/api/util/interpolate-bspline.js diff --git a/docs/js/custom-element/api/util/shape.js b/docs/js/graphics-element/api/util/shape.js similarity index 100% rename from docs/js/custom-element/api/util/shape.js rename to docs/js/graphics-element/api/util/shape.js diff --git a/docs/js/custom-element/custom-element.js b/docs/js/graphics-element/custom-element.js similarity index 100% rename from docs/js/custom-element/custom-element.js rename to docs/js/graphics-element/custom-element.js diff --git a/docs/js/custom-element/graphics-element.css b/docs/js/graphics-element/graphics-element.css similarity index 100% rename from docs/js/custom-element/graphics-element.css rename to docs/js/graphics-element/graphics-element.css diff --git a/docs/js/custom-element/graphics-element.js b/docs/js/graphics-element/graphics-element.js similarity index 100% rename from docs/js/custom-element/graphics-element.js rename to docs/js/graphics-element/graphics-element.js diff --git a/docs/js/custom-element/lib/bezierjs/bezier.js b/docs/js/graphics-element/lib/bezierjs/bezier.js similarity index 100% rename from docs/js/custom-element/lib/bezierjs/bezier.js rename to docs/js/graphics-element/lib/bezierjs/bezier.js diff --git a/docs/js/custom-element/lib/bezierjs/normalise-svg.js b/docs/js/graphics-element/lib/bezierjs/normalise-svg.js similarity index 100% rename from docs/js/custom-element/lib/bezierjs/normalise-svg.js rename to docs/js/graphics-element/lib/bezierjs/normalise-svg.js diff --git a/docs/js/custom-element/lib/bezierjs/poly-bezier.js b/docs/js/graphics-element/lib/bezierjs/poly-bezier.js similarity index 100% rename from docs/js/custom-element/lib/bezierjs/poly-bezier.js rename to docs/js/graphics-element/lib/bezierjs/poly-bezier.js diff --git a/docs/js/custom-element/lib/bezierjs/svg-to-beziers.js b/docs/js/graphics-element/lib/bezierjs/svg-to-beziers.js similarity index 100% rename from docs/js/custom-element/lib/bezierjs/svg-to-beziers.js rename to docs/js/graphics-element/lib/bezierjs/svg-to-beziers.js diff --git a/docs/js/custom-element/lib/bezierjs/utils.js b/docs/js/graphics-element/lib/bezierjs/utils.js similarity index 100% rename from docs/js/custom-element/lib/bezierjs/utils.js rename to docs/js/graphics-element/lib/bezierjs/utils.js diff --git a/docs/js/custom-element/lib/create.js b/docs/js/graphics-element/lib/create.js similarity index 100% rename from docs/js/custom-element/lib/create.js rename to docs/js/graphics-element/lib/create.js diff --git a/docs/js/custom-element/lib/enrich.js b/docs/js/graphics-element/lib/enrich.js similarity index 100% rename from docs/js/custom-element/lib/enrich.js rename to docs/js/graphics-element/lib/enrich.js diff --git a/docs/js/custom-element/lib/lexer.js b/docs/js/graphics-element/lib/lexer.js similarity index 100% rename from docs/js/custom-element/lib/lexer.js rename to docs/js/graphics-element/lib/lexer.js diff --git a/docs/js/custom-element/lib/perform-code-surgery.js b/docs/js/graphics-element/lib/perform-code-surgery.js similarity index 100% rename from docs/js/custom-element/lib/perform-code-surgery.js rename to docs/js/graphics-element/lib/perform-code-surgery.js diff --git a/docs/js/custom-element/lib/split-code-sections.js b/docs/js/graphics-element/lib/split-code-sections.js similarity index 100% rename from docs/js/custom-element/lib/split-code-sections.js rename to docs/js/graphics-element/lib/split-code-sections.js diff --git a/docs/news/2020-09-18.html b/docs/news/2020-09-18.html index f03a136a..b5af8425 100644 --- a/docs/news/2020-09-18.html +++ b/docs/news/2020-09-18.html @@ -34,7 +34,7 @@ - + @@ -56,8 +56,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/docs/news/index.html b/docs/news/index.html index 9d99f65e..8898552c 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -33,7 +33,7 @@ - + @@ -56,8 +56,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/docs/news/rss.xml b/docs/news/rss.xml index cd832592..ccdce179 100644 --- a/docs/news/rss.xml +++ b/docs/news/rss.xml @@ -6,7 +6,7 @@ News updates for the primer on Bézier Curves by Pomax en-GB - Sun Nov 01 2020 14:42:49 +00:00 + Fri Nov 06 2020 11:31:57 +00:00 https://pomax.github.io/bezierinfo/images/og-image.png A Primer on Bézier Curves diff --git a/docs/uk-UA/index.html b/docs/uk-UA/index.html index 4f6e905c..21140ee8 100644 --- a/docs/uk-UA/index.html +++ b/docs/uk-UA/index.html @@ -39,7 +39,7 @@ - + @@ -61,8 +61,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html index 431be9ea..a832c942 100644 --- a/docs/zh-CN/index.html +++ b/docs/zh-CN/index.html @@ -41,7 +41,7 @@ - + @@ -66,8 +66,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + + diff --git a/src/build/markdown/processors/graphics-element/generate-graphics-module.js b/src/build/markdown/processors/graphics-element/generate-graphics-module.js index 6e8bb12c..9bec8dea 100644 --- a/src/build/markdown/processors/graphics-element/generate-graphics-module.js +++ b/src/build/markdown/processors/graphics-element/generate-graphics-module.js @@ -1,19 +1,19 @@ import fs from "fs-extra"; import path from "path"; import paths from "../../../../project-paths.js"; -import splitCodeSections from "../../../../../docs/js/custom-element/lib/split-code-sections.js"; -import performCodeSurgery from "../../../../../docs/js/custom-element/lib/perform-code-surgery.js"; +import splitCodeSections from "../../../../../docs/js/graphics-element/lib/split-code-sections.js"; +import performCodeSurgery from "../../../../../docs/js/graphics-element/lib/perform-code-surgery.js"; import toPosix from "../../../../to-posix.js"; // Get all the values we need to ensure our generated graphics code knows // where it lives, and where it can find all its dependencies -const apiSource = fs.readFileSync(path.join(paths.sitejs, `custom-element`, `api`, `graphics-api.js`)).toString(`utf-8`); +const apiSource = fs.readFileSync(path.join(paths.sitejs, `graphics-element`, `api`, `graphics-api.js`)).toString(`utf-8`); const API_IMPORTS = apiSource.match(/(export { [^}]+ })/)[0].replace(`export`, `import`); const GRAPHICS_API_LOCATION = path - .join(path.relative(paths.temp, paths.public), `js`, `custom-element`, `api`, `graphics-api.js`) + .join(path.relative(paths.temp, paths.public), `js`, `graphics-element`, `api`, `graphics-api.js`) .split(path.sep) .join(path.posix.sep); diff --git a/src/html/index.template.html b/src/html/index.template.html index 442e4b9b..6be022a9 100644 --- a/src/html/index.template.html +++ b/src/html/index.template.html @@ -30,8 +30,8 @@ given how much HTML there is, that means this can, and thus should, kick in before the document is done even transferring. --> - - + +