Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular.copy() documentation is not correctly formatted #16671

Closed
@YoshiWalsh

Description

@YoshiWalsh

I'm submitting a ...

  • bug report
  • feature request
  • other

Current behavior:
On the documentation page for angular.copy(), some of the formatting is hard to read and inconsistent with the rest of the AngularJS documentation. In particular, the raw JSDoc is being formatted as markdown and included at the end of the Overview section. The Usage section is very bare, not including the function arguments or return value.

Expected / new behavior:
The documentation page should be correctly formatted, with the function arguments and return value being nicely formatted in the Usage section. See angular.equals() for an example of how a function documentation page should look.

Minimal reproduction of the problem with instructions:
Navigate to https://docs.angularjs.org/api/ng/function/angular.copy.

AngularJS version: 1.7.2
The issue did not exist in 1.7.1. The issue still exists in 1.7.x-snapshot and master-snapshot.

Browser: Chrome v68.0.3440.106 (64-bit), Firefox v61.0.2 (64-bit), probably all other browsers too

Anything else:
No

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions