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:
dependabot[bot]
2023-09-25 12:42:54 +02:00
committed by GitHub
parent 01ea6a402f
commit 07ca318535
4 changed files with 266 additions and 196 deletions

View File

@ -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;