diff --git a/.cspell.json b/.cspell.json index 4bf8690..f08db37 100644 --- a/.cspell.json +++ b/.cspell.json @@ -7,10 +7,13 @@ // code "go", "node", + "shell", // package names "npm" ], "words": [ + "woodpeckerci", + "riscv", "codeberg", "editview", "forgejo", @@ -109,7 +112,20 @@ "mstruebing", "davidanson", "pipelinecomponents", - "corepack" + "passwordless", + "corepack", + "letsencrypt.org", + "accounturi", + "Ente", + "getent", + "sealioning", + "DNSSEC", + "Arminiusstraße", + "HELLOTUX", + "Merch", + "merch", + "freewear", + "gedankenstuecke" ], "ignorePaths": [ "**/node_modules/**/*", diff --git a/.ecrc b/.editorconfig-checker.json similarity index 100% rename from .ecrc rename to .editorconfig-checker.json diff --git a/.eleventy.js b/.eleventy.js deleted file mode 100644 index 5a669c9..0000000 --- a/.eleventy.js +++ /dev/null @@ -1,85 +0,0 @@ -const navigationPlugin = require('@11ty/eleventy-navigation'); -const syntaxHighlightingPlugin = require('@11ty/eleventy-plugin-syntaxhighlight'); -const markdownIt = require('markdown-it'); -const tableOfContentsPlugin = require('@uncenter/eleventy-plugin-toc'); -const markdownItClass = require('@toycode/markdown-it-class'); -const markdownItAnchor = require('markdown-it-anchor'); -const library = require('@fortawesome/fontawesome-svg-core').library; -const icon = require('@fortawesome/fontawesome-svg-core').icon; -const fas = require('@fortawesome/free-solid-svg-icons').fas; -const { execSync } = require('child_process'); - -module.exports = function (eleventyConfig) { - eleventyConfig.addPlugin(navigationPlugin); - eleventyConfig.addPlugin(syntaxHighlightingPlugin); - - eleventyConfig.addPassthroughCopy('assets'); - eleventyConfig.addPassthroughCopy('fonts'); - - // Font Awesome Icons - library.add(fas); - eleventyConfig.addShortcode('fas_icon', function (args) { - var fas_svg = icon({ prefix: 'fas', iconName: args }); - return `${fas_svg.html}`; - }); - - const mapping = { - h2: 'content-title', - h3: 'content-title', - h4: 'content-title', - h5: 'content-title', - h6: 'content-title', - table: 'table', - blockquote: 'alert', - }; - - const mdOptions = { linkify: false, html: true }; - const mdAnchorOpts = { - permalink: markdownItAnchor.permalink.headerLink(), - permalinkClass: 'ml-5', - permalinkSymbol: '#', - level: [1, 2, 3, 4], - }; - - eleventyConfig.setLibrary( - 'md', - markdownIt(mdOptions).use(markdownItClass, mapping).use(markdownItAnchor, mdAnchorOpts), - ); - - eleventyConfig.addPairedShortcode('admonition', function (content, type, title) { - let titleStr = ''; - if (title) { - titleStr = title; - } else if (type) { - titleStr = type.substring(0, 1).toUpperCase() + type.substring(1).toLowerCase(); - } else { - titleStr = 'Info'; - } - - return `
Hey there! 👋 Thank you for reading this article!
-- Is there something missing, or do you have an idea on how to improve the documentation? - Do you want to write your own article? -
-- You're invited to contribute to the Codeberg Documentation at its source code repository, - for example, by adding a pull request - or joining in on the discussion in the issue tracker. -
-- For an introduction on contributing to Codeberg Documentation, please have a look - at the Contributor FAQ. -
+Hey there! 👋 Thank you for reading this article!
++ Is there something missing, or do you have an idea on how to improve the documentation? + Do you want to write your own article? +
++ You're invited to contribute to the Codeberg Documentation at its source code repository + for example, by adding a pull request + or joining in on the discussion in the issue tracker. +
++ For an introduction on contributing to Codeberg Documentation, please have a look + at the Contributor FAQ. +
+