diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 3a72bb8a3..3b8ac6a0e 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -3,12 +3,7 @@ import type { Config } from "@docusaurus/types"; import { themes as prismThemes } from "prism-react-renderer"; import remarkTokenReplacer from "./src/plugins/replace-tokens"; import latestVersions from "./src/plugins/latest-versions"; -import licenses from "./src/plugins/licenses"; -const allReplacements = { - ...latestVersions, - ...licenses, -} const description = "Large-scale automated source code refactoring" const structuredData = { @@ -79,7 +74,7 @@ const config: Config = { [ remarkTokenReplacer, { - replacements: allReplacements, + replacements: latestVersions, }, ], ], diff --git a/src/plugins/licenses.js b/src/plugins/licenses.js deleted file mode 100644 index 53a1bd88f..000000000 --- a/src/plugins/licenses.js +++ /dev/null @@ -1,57 +0,0 @@ -const licenses = { - // Apache - "REWRITE_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_OPENAPI_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_MICRONAUT_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_GRADLE_TOOLING_MODEL_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", // ? - "REWRITE_JAVA_DEPENDENCIES_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_ALL_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_BUILD_GRADLE_PLUGIN_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", // ? - "REWRITE_LIBERTY_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_QUARKUS_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_ANALYSIS_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_TEMPLATING_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_THIRD_PARTY_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - "REWRITE_KOTLIN_LICENSE_LINK": "[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)", - - // Moderne Source Available - "REWRITE_GRADLE_PLUGIN_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_MAVEN_PLUGIN_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_SPRING_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_LOGGING_FRAMEWORKS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_MIGRATE_JAVA_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_STATIC_ANALYSIS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_STRUTS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_TESTING_FRAMEWORKS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_OKHTTP_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_JENKINS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_APACHE_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_MICROMETER_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_DOCKER_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_HIBERNATE_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_CUCUMBER_JVM_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_FEATURE_FLAGS_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - "REWRITE_GITLAB_LICENSE_LINK": "[Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/)", - - // Moderne Proprietary License - "REWRITE_LANGUAGE_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", // ? - "REWRITE_CODEMODS_NG_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_SQL_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_CIRCLECI_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_JAVA_SECURITY_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_NODEJS_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_AI_SEARCH_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_GITHUB_ACTIONS_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_POLYGLOT_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", // ? - "REWRITE_TERRAFORM_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_ANDROID_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_CONCOURSE_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_REACTIVE_STREAMS_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_MIGRATE_PYTHON_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", // ? - "REWRITE_KUBERNETES_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_JACKSON_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_CODEMODS_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", - "REWRITE_DOTNET_LICENSE_LINK": "[Moderne Proprietary License](https://docs.moderne.io/licensing/overview/)", -}; - -export default licenses;