Skip to content

armgit / mocha

Public Imported from GitHub
0

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

docs: move legacy site link to bottom of homepage (#6093)

Josh Goldberg ✨f3e7d374c717
diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx
index d2bc2758..3f6fbdc4 100644
--- a/docs/src/content/docs/index.mdx
+++ b/docs/src/content/docs/index.mdx
@@ -14,17 +14,6 @@ import Badges from "../../components/Badges.astro";
import ClientRedirects from "../../components/ClientRedirects.astro";
import Supporters from "../../components/Supporters.astro";
-:::note[New Documentation Site]
-Hello!
-Welcome to the newly revamped mochajs.org!
-
-If you see any bugs or typos, please [file a docs issue on mochajs/mocha](https://github.com/mochajs/mocha/issues/new?template=02-documentation.yml).
-Thanks!
-🤎
-
-_For the old docs website, see: [legacy.mochajs.org](https://legacy.mochajs.org)_.
-:::
-
<Badges />
Mocha is a feature-rich JavaScript test framework running on [Node.js](https://nodejs.org) and in the browser, making asynchronous testing _straightforward_ and _fun_.
@@ -56,6 +45,8 @@ In addition to chatting with us on [our Discord](https://discord.gg/KeDn2uXhER),
spies, mocking, and shared behaviours be sure to check out the [Mocha Wiki](https://github.com/mochajs/mocha/wiki) on GitHub.
For a running example of Mocha, view [example/tests.html](example/tests.html).
+For the old docs website, see: [legacy.mochajs.org](https://legacy.mochajs.org).
+
For the JavaScript API, view the [API documentation](/api) or the [source](https://github.com/mochajs/mocha/blob/main/lib/mocha.cjs).
<ClientRedirects />