From 3b342b7e039e9bf16d26d41e9b156f88adc4131c Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 11 Oct 2024 02:26:52 +0100 Subject: [PATCH] Docs: Add "Badge" page Closes https://github.com/qunitjs/qunit/issues/1750. --- docs/_data/sitenav.yml | 2 ++ docs/badge.md | 20 ++++++++++++++++++++ docs/brand.md | 4 ++++ docs/testedwith.svg | 1 + 4 files changed, 27 insertions(+) create mode 100644 docs/badge.md create mode 100644 docs/testedwith.svg diff --git a/docs/_data/sitenav.yml b/docs/_data/sitenav.yml index 380e99f9d..b3479fda7 100644 --- a/docs/_data/sitenav.yml +++ b/docs/_data/sitenav.yml @@ -24,5 +24,7 @@ href: /browser/#browser-support - name: About QUnit href: /about/ + - name: Badge + href: /badge/ - name: Brand Guidelines href: /brand/ diff --git a/docs/badge.md b/docs/badge.md new file mode 100644 index 000000000..186f032a2 --- /dev/null +++ b/docs/badge.md @@ -0,0 +1,20 @@ +--- +layout: page +title: Tested with QUnit Badge +--- + +

Use the following markup to embed a "Tested with QUnit" badge in your documentation.

+ +[![Tested with QUnit](./testedwith.svg)](/) + +Copy the Markdown snippet, and e.g. paste above the title your README. + +```md +[![Tested with QUnit](https://qunitjs.com/testedwith.svg)](https://qunitjs.com/) +``` + +HTML version: + +```html +Tested with QUnit +``` diff --git a/docs/brand.md b/docs/brand.md index f0ff41625..0884359d7 100644 --- a/docs/brand.md +++ b/docs/brand.md @@ -83,3 +83,7 @@ You can browse the [2013 version of the website](https://web.archive.org/web/201 In 2018, Trent Willis [designed](https://github.com/qunitjs/qunitjs.com/issues/151#issuecomment-655154878) a new homepage for QUnit. In 2020, Timo Tijhof [launched](https://github.com/qunitjs/qunit/issues/1458#issuecomment-661576550) the redesign with a matching redesign of the API documentation. The QUnit site framework is published as [jekyll-theme-amethyst](https://github.com/qunitjs/jekyll-theme-amethyst). ![](/img/2020-website-qunit.png) + +## Tested with QUnit Badge + +Refer to [Badge](./badge.md) for markup to embed in your README. diff --git a/docs/testedwith.svg b/docs/testedwith.svg new file mode 100644 index 000000000..b077c176e --- /dev/null +++ b/docs/testedwith.svg @@ -0,0 +1 @@ +tested with: qunittested withqunit