From 0d29cc517e10c9d66919154b4ac87aa8d818b275 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Tue, 27 Aug 2024 11:15:21 +0200 Subject: [PATCH] [INTERNAL] TypeScript: Remove jsdoc config files --- jsdoc-plugin.cjs | 9 ------- jsdoc.json | 61 ------------------------------------------------ 2 files changed, 70 deletions(-) delete mode 100644 jsdoc-plugin.cjs delete mode 100644 jsdoc.json diff --git a/jsdoc-plugin.cjs b/jsdoc-plugin.cjs deleted file mode 100644 index 4305acfe5..000000000 --- a/jsdoc-plugin.cjs +++ /dev/null @@ -1,9 +0,0 @@ -/* - * This plugin fixes unexpected JSDoc behavior that prevents us from using types that start with an at-sign (@). - * JSDoc doesn't see "{@" as a valid type expression, probably as there's also {@link ...}. - */ -exports.handlers = { - jsdocCommentFound: function (e) { - e.comment = e.comment.replace(/{@ui5\//g, "{ @ui5/"); - }, -}; diff --git a/jsdoc.json b/jsdoc.json deleted file mode 100644 index 560fa4846..000000000 --- a/jsdoc.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "tags": { - "allowUnknownTags": false - }, - "source": { - "include": ["README.md"], - "includePattern": ".+\\.js$", - "excludePattern": "(node_modules(\\\\|/))" - }, - "plugins": [ - "./jsdoc-plugin.cjs" - ], - "opts": { - "encoding": "utf8", - "destination": "jsdocs/", - "recurse": true, - "verbose": true, - "access": "public" - }, - "templates": { - "cleverLinks": false, - "monospaceLinks": false, - "default": { - "useLongnameInNav": true - } - }, - "openGraph": { - "title": "UI5 Tooling - API Reference", - "type": "website", - "image": "https://sap.github.io/ui5-tooling/v4/images/UI5_logo_wide.png", - "site_name": "UI5 Tooling - API Reference", - "url": "https://sap.github.io/ui5-tooling/" - }, - "docdash": { - "sectionOrder": [ - "Modules", - "Namespaces", - "Classes", - "Externals", - "Events", - "Mixins", - "Tutorials", - "Interfaces" - ], - "meta": { - "title": "UI5 Tooling - API Reference - UI5 Project", - "description": "UI5 Tooling - API Reference - UI5 Project", - "keyword": "openui5 sapui5 ui5 build development tool api reference" - }, - "search": true, - "wrap": true, - "menu": { - "GitHub": { - "href": "https://github.com/SAP/ui5-project", - "target": "_blank", - "class": "menu-item", - "id": "github_link" - } - } - } -}