Elchi3 / mdn-doc-tests

:no_entry_sign: UNMAINTAINED :no_entry_sign: This used to check MDN docs against some tests and cleanup tasks while editing, but add-on SDK based add-ons are obsolete. Use https://github.com/mdn/doc-linter-webextension and https://github.com/mdn/doc-linter-rules instead.
Mozilla Public License 2.0
10 stars 8 forks source link

Issue 210: Require hidden explanatory text for macros that rely on data #212

Closed SebastianZ closed 8 years ago

SebastianZ commented 8 years ago

The added test checks whether there is an explanation for each macro (by checking whether the sibling element before the element containing the macro has class="hidden") and whether that explanation has a link (i.e. an <a href="http..."> element; it doesn't check whether the link is valid).

Sebastian

SebastianZ commented 8 years ago

Thank you for the quick review! I've addressed your comments in https://github.com/Elchi3/mdn-doc-tests/pull/212/commits/ee2d8a733520a71f845ce66f1c8c2ee075567a39.

Sebastian