From 7ffaa7256867acaf36b6da44d126457943ac41e7 Mon Sep 17 00:00:00 2001 From: Subhajit Sahu Date: Thu, 3 Nov 2022 11:05:11 +0530 Subject: [PATCH] :bug: link to wiki instead of docs --- README.md | 90 +++++++++++++++++++++++------------------------ build.js | 2 +- package-lock.json | 4 +-- package.json | 2 +- 4 files changed, 49 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index 373b629..0b1e85c 100644 --- a/README.md +++ b/README.md @@ -156,48 +156,48 @@ math.lcm(2, 3, 4); [![Maintainability](https://api.codeclimate.com/v1/badges/13d7102b0273f2a77c66/maintainability)](https://codeclimate.com/github/nodef/extra-math/maintainability) -[floor]: https://nodef.github.io/extra-math/functions/floor.html -[ceil]: https://nodef.github.io/extra-math/functions/ceil.html -[round]: https://nodef.github.io/extra-math/functions/round.html -[floorDiv]: https://nodef.github.io/extra-math/functions/floorDiv.html -[ceilDiv]: https://nodef.github.io/extra-math/functions/ceilDiv.html -[roundDiv]: https://nodef.github.io/extra-math/functions/roundDiv.html -[rem]: https://nodef.github.io/extra-math/functions/rem.html -[mod]: https://nodef.github.io/extra-math/functions/mod.html -[modp]: https://nodef.github.io/extra-math/functions/modp.html -[constrain]: https://nodef.github.io/extra-math/functions/constrain.html -[normalize]: https://nodef.github.io/extra-math/functions/normalize.html -[remap]: https://nodef.github.io/extra-math/functions/remap.html -[lerp]: https://nodef.github.io/extra-math/functions/lerp.html -[isPow]: https://nodef.github.io/extra-math/functions/isPow.html -[prevPow]: https://nodef.github.io/extra-math/functions/prevPow.html -[nextPow]: https://nodef.github.io/extra-math/functions/nextPow.html -[root]: https://nodef.github.io/extra-math/functions/root.html -[log]: https://nodef.github.io/extra-math/functions/log.html -[properDivisors]: https://nodef.github.io/extra-math/functions/properDivisors.html -[aliquotSum]: https://nodef.github.io/extra-math/functions/aliquotSum.html -[minPrimeFactor]: https://nodef.github.io/extra-math/functions/minPrimeFactor.html -[maxPrimeFactor]: https://nodef.github.io/extra-math/functions/maxPrimeFactor.html -[primeFactors]: https://nodef.github.io/extra-math/functions/primeFactors.html -[primeExponentials]: https://nodef.github.io/extra-math/functions/primeExponentials.html -[isPrime]: https://nodef.github.io/extra-math/functions/isPrime.html -[gcd]: https://nodef.github.io/extra-math/functions/gcd.html -[lcm]: https://nodef.github.io/extra-math/functions/lcm.html -[factorial]: https://nodef.github.io/extra-math/functions/factorial.html -[binomial]: https://nodef.github.io/extra-math/functions/binomial.html -[multinomial]: https://nodef.github.io/extra-math/functions/multinomial.html -[degrees]: https://nodef.github.io/extra-math/functions/degrees.html -[radians]: https://nodef.github.io/extra-math/functions/radians.html -[magnitude]: https://nodef.github.io/extra-math/functions/magnitude.html -[distance]: https://nodef.github.io/extra-math/functions/distance.html -[sum]: https://nodef.github.io/extra-math/functions/sum.html -[product]: https://nodef.github.io/extra-math/functions/product.html -[median]: https://nodef.github.io/extra-math/functions/median.html -[modes]: https://nodef.github.io/extra-math/functions/modes.html -[range]: https://nodef.github.io/extra-math/functions/range.html -[variance]: https://nodef.github.io/extra-math/functions/variance.html -[arithmeticMean]: https://nodef.github.io/extra-math/functions/arithmeticMean.html -[geometricMean]: https://nodef.github.io/extra-math/functions/geometricMean.html -[harmonicMean]: https://nodef.github.io/extra-math/functions/harmonicMean.html -[quadriaticMean]: https://nodef.github.io/extra-math/functions/quadriaticMean.html -[cubicMean]: https://nodef.github.io/extra-math/functions/cubicMean.html +[floor]: https://github.com/nodef/extra-math/wiki/floor +[ceil]: https://github.com/nodef/extra-math/wiki/ceil +[round]: https://github.com/nodef/extra-math/wiki/round +[floorDiv]: https://github.com/nodef/extra-math/wiki/floorDiv +[ceilDiv]: https://github.com/nodef/extra-math/wiki/ceilDiv +[roundDiv]: https://github.com/nodef/extra-math/wiki/roundDiv +[rem]: https://github.com/nodef/extra-math/wiki/rem +[mod]: https://github.com/nodef/extra-math/wiki/mod +[modp]: https://github.com/nodef/extra-math/wiki/modp +[constrain]: https://github.com/nodef/extra-math/wiki/constrain +[normalize]: https://github.com/nodef/extra-math/wiki/normalize +[remap]: https://github.com/nodef/extra-math/wiki/remap +[lerp]: https://github.com/nodef/extra-math/wiki/lerp +[isPow]: https://github.com/nodef/extra-math/wiki/isPow +[prevPow]: https://github.com/nodef/extra-math/wiki/prevPow +[nextPow]: https://github.com/nodef/extra-math/wiki/nextPow +[root]: https://github.com/nodef/extra-math/wiki/root +[log]: https://github.com/nodef/extra-math/wiki/log +[properDivisors]: https://github.com/nodef/extra-math/wiki/properDivisors +[aliquotSum]: https://github.com/nodef/extra-math/wiki/aliquotSum +[minPrimeFactor]: https://github.com/nodef/extra-math/wiki/minPrimeFactor +[maxPrimeFactor]: https://github.com/nodef/extra-math/wiki/maxPrimeFactor +[primeFactors]: https://github.com/nodef/extra-math/wiki/primeFactors +[primeExponentials]: https://github.com/nodef/extra-math/wiki/primeExponentials +[isPrime]: https://github.com/nodef/extra-math/wiki/isPrime +[gcd]: https://github.com/nodef/extra-math/wiki/gcd +[lcm]: https://github.com/nodef/extra-math/wiki/lcm +[factorial]: https://github.com/nodef/extra-math/wiki/factorial +[binomial]: https://github.com/nodef/extra-math/wiki/binomial +[multinomial]: https://github.com/nodef/extra-math/wiki/multinomial +[degrees]: https://github.com/nodef/extra-math/wiki/degrees +[radians]: https://github.com/nodef/extra-math/wiki/radians +[magnitude]: https://github.com/nodef/extra-math/wiki/magnitude +[distance]: https://github.com/nodef/extra-math/wiki/distance +[sum]: https://github.com/nodef/extra-math/wiki/sum +[product]: https://github.com/nodef/extra-math/wiki/product +[median]: https://github.com/nodef/extra-math/wiki/median +[modes]: https://github.com/nodef/extra-math/wiki/modes +[range]: https://github.com/nodef/extra-math/wiki/range +[variance]: https://github.com/nodef/extra-math/wiki/variance +[arithmeticMean]: https://github.com/nodef/extra-math/wiki/arithmeticMean +[geometricMean]: https://github.com/nodef/extra-math/wiki/geometricMean +[harmonicMean]: https://github.com/nodef/extra-math/wiki/harmonicMean +[quadriaticMean]: https://github.com/nodef/extra-math/wiki/quadriaticMean +[cubicMean]: https://github.com/nodef/extra-math/wiki/cubicMean diff --git a/build.js b/build.js index 53c1fcd..68e3efa 100644 --- a/build.js +++ b/build.js @@ -146,7 +146,7 @@ function updateReadme(ds) { var dm = new Map(ds.map(d => [d.name, d])); var txt = build.readFileText('README.md'); txt = build.wikiUpdateIndex(txt, dm, readmeDescription); - txt = build.wikiUpdateLinkReferences(txt, dm, {owner, repo}); + txt = build.wikiUpdateLinkReferences(txt, dm, {owner, repo, useWiki: true}); build.writeFileText('README.md', txt); } diff --git a/package-lock.json b/package-lock.json index 14140eb..7e74fb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "extra-math", - "version": "1.3.18", + "version": "1.3.19", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "extra-math", - "version": "1.3.18", + "version": "1.3.19", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^23.0.2", diff --git a/package.json b/package.json index 7fe0438..b6b02c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "extra-math", - "version": "1.3.18", + "version": "1.3.19", "description": "A collection of common mathematical functions.", "main": "index.js", "module": "index.mjs",