website: bump remark-github from 11.2.4 to 12.0.0 in /website (#6963)
* website: bump remark-github from 11.2.4 to 12.0.0 in /website Bumps [remark-github](https://github.com/remarkjs/remark-github) from 11.2.4 to 12.0.0. - [Release notes](https://github.com/remarkjs/remark-github/releases) - [Commits](https://github.com/remarkjs/remark-github/compare/11.2.4...12.0.0) --- updated-dependencies: - dependency-name: remark-github dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix build Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -3,6 +3,7 @@ const fs = require("fs").promises;
|
||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
module.exports = async function () {
|
||||
const remarkGithub = (await import("remark-github")).default;
|
||||
const defaultBuildUrl = (await import("remark-github")).defaultBuildUrl;
|
||||
const footerEmail = await fs.readFile("src/footer.html", {
|
||||
encoding: "utf-8",
|
||||
});
|
||||
@ -137,10 +138,7 @@ module.exports = async function () {
|
||||
{
|
||||
repository: "goauthentik/authentik",
|
||||
// Only replace issues and PR links
|
||||
buildUrl: function (
|
||||
values,
|
||||
defaultBuildUrl,
|
||||
) {
|
||||
buildUrl: function (values) {
|
||||
return values.type === "issue"
|
||||
? defaultBuildUrl(values)
|
||||
: false;
|
||||
|
Reference in New Issue
Block a user