Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Remove jsdoc index.html placeholder from eleventy file structure and fix broken link in jsdoc tutorial (#3966)

Peter Müller48da42e6ad59
diff --git a/docs/api-tutorials/custom-reporter.md b/docs/api-tutorials/custom-reporter.md
index 1555ce26..a5abee8c 100644
--- a/docs/api-tutorials/custom-reporter.md
+++ b/docs/api-tutorials/custom-reporter.md
@@ -112,9 +112,9 @@ The event names are exported from the `constants` property of `Mocha.Runner`:
> It's important to understand that all `Suite` callbacks will be run _before_ the [Runner] emits `EVENT_RUN_BEGIN`. Hooks and tests, however, won't run until _after_ the [Runner] emits `EVENT_RUN_BEGIN`.
-[runner]: /api/runner
-[test]: /api/test
-[hook]: /api/hook
-[suite]: /api/suite
-[base]: /api/mocha.reporters.base
-[delay]: /#delayed-root-suite
+[runner]: /api/runner.html
+[test]: /api/test.html
+[hook]: /api/hook.html
+[suite]: /api/suite.html
+[base]: /api/mocha.reporters.base.html
+[delay]: /#delayed-root-suite.html
diff --git a/docs/api/index.html b/docs/api/index.html
deleted file mode 100644
index b937ab3b..00000000
--- a/docs/api/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
- <title>Document</title>
- </head>
- <body>
- <h1>
- The JSDoc API documentation will be placed here by the build system
- </h1>
- </body>
-</html>