Skip to content

[BUG] Wrong URL parsing when using @link #1125

@ddubrava

Description

@ddubrava
Wrong URL parsing when using @link
/**
   * Options for the clusterer.
   * {@link https://yandex.com/dev/maps/jsapi/doc/2.1/ref/reference/Clusterer.html#Clusterer__param-options}
   */
  @Input() options: ymaps.IClustererOptions;

This syntax parses as

image

Operating System, Node.js, npm, compodoc version(s)

windows 10
"@compodoc/compodoc": "^1.1.15",
node: 14.16.0
npm: 6.14.11

Angular configuration, a package.json file in the root folder
{
  "name": "angular-yandex-maps",
  "version": "12.0.0",
  "private": true,
  "scripts": {
    "start": "ng serve --configuration=local",
    "start:lib": "ng build angular8-yandex-maps --watch",
    "build": "ng build angular8-yandex-maps --configuration production",
    "build:docs": "compodoc -p tsconfig.doc.json --minimal --output dist/docs --name \"Angular Yandex Maps\" --hideGenerator --disableLifeCycleHooks --disableInternal --disablePrivate --includes documentation",
    "test": "ng test angular8-yandex-maps",
    "test:headless": "npm run test -- --watch=false --browsers=ChromeHeadless",
    "test:coverage": "npm run test:headless -- --code-coverage",
    "lint": "ng lint angular8-yandex-maps"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,ts,json,md,html,css}": "prettier --write",
    "*.{js,ts}": "eslint --fix"
  },
  "dependencies": {
    "@angular/animations": "^12.2.8",
    "@angular/common": "^12.2.8",
    "@angular/compiler": "^12.2.8",
    "@angular/core": "^12.2.8",
    "@angular/forms": "^12.2.8",
    "@angular/platform-browser": "^12.2.8",
    "@angular/platform-browser-dynamic": "^12.2.8",
    "@angular/router": "^12.2.8",
    "rxjs": "^6.6.7",
    "tslib": "^2.3.1",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^12.2.8",
    "@angular-eslint/builder": "0.5.0-beta.5",
    "@angular-eslint/eslint-plugin": "0.5.0-beta.5",
    "@angular-eslint/eslint-plugin-template": "0.5.0-beta.5",
    "@angular-eslint/schematics": "^0.5.0-beta.5",
    "@angular-eslint/template-parser": "0.5.0-beta.5",
    "@angular/cli": "^12.2.8",
    "@angular/compiler-cli": "^12.2.8",
    "@compodoc/compodoc": "^1.1.15",
    "@types/jasmine": "^3.9.1",
    "@types/node": "^12.20.27",
    "@typescript-eslint/eslint-plugin": "^4.33.0",
    "@typescript-eslint/parser": "^4.33.0",
    "codelyzer": "^6.0.2",
    "eslint": "^7.32.0",
    "eslint-config-airbnb-typescript": "^12.3.1",
    "eslint-config-prettier": "^6.15.0",
    "eslint-plugin-import": "^2.24.2",
    "eslint-plugin-prettier": "^3.4.1",
    "husky": "^4.3.8",
    "jasmine-core": "~3.6.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "^6.3.4",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.0.3",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.7.0",
    "lint-staged": "^10.5.4",
    "ng-packagr": "^12.2.2",
    "prettier": "^2.4.1",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "typescript": "4.2.4"
  }
}
Compodoc installed globally or locally ?

locally

If possible sourcecode of the file where it breaks

https://github.com/ddubrava/angular8-yandex-maps/blob/master/projects/angular8-yandex-maps/src/lib/components/ya-clusterer/ya-clusterer.component.ts#L69

Reproduce the error

Inputs section
https://ddubrava.github.io/angular8-yandex-maps/components/YaClustererComponent.html

Related issues

#1104

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions