fix(ngdocs): add ids to headers in tests#4796
Conversation
|
Reverting to the previous version of |
|
I'm sorry, but I wasn't able to verify your CLA signature. CLA signature is required for any code contributions to AngularJS. Please sign our CLA and ensure that the CLA signature email address and the email address in this PR's commits match. If you signed the CLA as a corporation, please let me know the company's name. Thanks a bunch! PS: If you signed the CLA in the past then most likely the email addresses don't match. Please sign the CLA again or update the email address in the commit of this PR. |
|
ngdocs is no longer part of the doc system, closing |
Doc.markdown (in /docs/src/ngdoc.js) gives headers ids, yet headers don't have ids in the specs.
That's causing the tests "ngdoc markdown should replace text between two [pre] tags", and "ngdoc TAG @description should support multiple pre blocks" to fail when building the documentation.
This change adds ids to headers in the specs to match the behavior of Doc.markdown.