Skip to content

Commit a82c7cb

Browse files
okineadevaklinker1
andauthored
docs: Improved docs and links (#970)
Co-authored-by: Aaron <[email protected]>
1 parent db60e79 commit a82c7cb

File tree

4 files changed

+63
-17
lines changed

4 files changed

+63
-17
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Everyone is welcome to contribute to WXT!
3+
Everyone is welcome to contribute to **WXT**!
44

55
If you are changing the docs or fixing a bug, feel free to fork and open a PR.
66

@@ -139,7 +139,7 @@ Releases are done with GitHub actions:
139139

140140
Use [`taze`](https://www.npmjs.com/package/taze) to upgrade dependencies throughout the entire monorepo.
141141

142-
```ts
142+
```sh
143143
pnpm dlx taze -r
144144
```
145145

README.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<h1 align="center">
2-
<img style="vertical-align:middle" width="44" src="https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/public/hero-logo.svg" alt="WXT Logo">
2+
<img align="top" width="44" src="https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/public/hero-logo.svg" alt="WXT Logo">
33
<span>WXT</span>
44
</h1>
55

66
<p align="center">
7-
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/v/wxt?labelColor=black&color=%234fa048"></a>
7+
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm version" src="https://img.shields.io/npm/v/wxt?labelColor=black&color=%234fa048"></a>
88
<span> </span>
9-
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/dm/wxt?labelColor=black&color=%234fa048"></a>
9+
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="downloads" src="https://img.shields.io/npm/dm/wxt?labelColor=black&color=%234fa048"></a>
1010
<span> </span>
11-
<a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE" target="_blank"><img alt="NPM" src="https://img.shields.io/npm/l/wxt?labelColor=black&color=%234fa048"></a>
11+
<a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE" target="_blank"><img alt="license | MIT" src="https://img.shields.io/npm/l/wxt?labelColor=black&color=%234fa048"></a>
1212
<span> </span>
13-
<a href="https://codecov.io/github/wxt-dev/wxt" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wxt-dev/wxt?labelColor=black&color=%234fa048"></a>
13+
<a href="https://codecov.io/github/wxt-dev/wxt" target="_blank"><img alt="coverage" src="https://img.shields.io/codecov/c/github/wxt-dev/wxt?labelColor=black&color=%234fa048"></a>
1414
</p>
1515

1616
<p align="center">
@@ -43,10 +43,21 @@ https://github.com/wxt-dev/wxt/assets/10101283/4d678939-1bdb-495c-9c36-3aa281d84
4343

4444
Bootstrap a new project:
4545

46+
<!-- automd:pm-x version="latest" name="wxt" args="init" -->
47+
4648
```sh
47-
pnpm dlx wxt@latest init <project-name>
49+
# npm
50+
npx wxt@latest init
51+
52+
# pnpm
53+
pnpm dlx wxt@latest init
54+
55+
# bun
56+
bunx wxt@latest init
4857
```
4958

59+
<!-- /automd -->
60+
5061
Or see the [installation guide](https://wxt.dev/guide/installation.html) to get started with WXT.
5162

5263
## Features
@@ -66,6 +77,13 @@ Or see the [installation guide](https://wxt.dev/guide/installation.html) to get
6677

6778
## Contributors
6879

80+
<!-- automd:contributors author="aklinker1" license="MIT" github="wxt-dev/wxt" -->
81+
82+
Published under the [MIT](https://github.com/wxt-dev/wxt/blob/main/LICENSE) license.
83+
Made by [@aklinker1](https://github.com/aklinker1) and [community](https://github.com/wxt-dev/wxt/graphs/contributors) 💛
84+
<br><br>
6985
<a href="https://github.com/wxt-dev/wxt/graphs/contributors">
70-
<img src="https://contrib.rocks/image?repo=wxt-dev/wxt" />
86+
<img src="https://contrib.rocks/image?repo=wxt-dev/wxt" />
7187
</a>
88+
89+
<!-- /automd -->

packages/wxt/README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1+
<!-- DO NOT EDIT, THIS FILE WAS GENERATED BY '../../scripts/generate-readmes.sh' -->
12
<h1 align="center">
2-
<img style="vertical-align:middle" width="44" src="https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/public/hero-logo.svg" alt="WXT Logo">
3+
<img align="top" width="44" src="https://raw.githubusercontent.com/wxt-dev/wxt/HEAD/docs/public/hero-logo.svg" alt="WXT Logo">
34
<span>WXT</span>
45
</h1>
56

67
<p align="center">
7-
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/v/wxt?labelColor=black&color=%234fa048"></a>
8+
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm version" src="https://img.shields.io/npm/v/wxt?labelColor=black&color=%234fa048"></a>
89
<span> </span>
9-
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="npm" src="https://img.shields.io/npm/dm/wxt?labelColor=black&color=%234fa048"></a>
10+
<a href="https://www.npmjs.com/package/wxt" target="_blank"><img alt="downloads" src="https://img.shields.io/npm/dm/wxt?labelColor=black&color=%234fa048"></a>
1011
<span> </span>
11-
<a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE" target="_blank"><img alt="NPM" src="https://img.shields.io/npm/l/wxt?labelColor=black&color=%234fa048"></a>
12+
<a href="https://github.com/wxt-dev/wxt/blob/main/LICENSE" target="_blank"><img alt="license | MIT" src="https://img.shields.io/npm/l/wxt?labelColor=black&color=%234fa048"></a>
1213
<span> </span>
13-
<a href="https://codecov.io/github/wxt-dev/wxt" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wxt-dev/wxt?labelColor=black&color=%234fa048"></a>
14+
<a href="https://codecov.io/github/wxt-dev/wxt" target="_blank"><img alt="coverage" src="https://img.shields.io/codecov/c/github/wxt-dev/wxt?labelColor=black&color=%234fa048"></a>
1415
</p>
1516

1617
<p align="center">
1718
<span>Next-gen framework for developing web extensions.</span>
1819
<br/>
1920
<span>⚡</span>
2021
<br/>
21-
<q><i>It's like Nuxt, but for Chrome Extensions</i></q>
22+
<q><i>It's like Nuxt, but for Web Extensions</i></q>
2223
</p>
2324

2425
<p align="center">
@@ -43,10 +44,21 @@ https://github.com/wxt-dev/wxt/assets/10101283/4d678939-1bdb-495c-9c36-3aa281d84
4344

4445
Bootstrap a new project:
4546

47+
<!-- automd:pm-x version="latest" name="wxt" args="init" -->
48+
4649
```sh
47-
pnpm dlx wxt@latest init <project-name>
50+
# npm
51+
npx wxt@latest init
52+
53+
# pnpm
54+
pnpm dlx wxt@latest init
55+
56+
# bun
57+
bunx wxt@latest init
4858
```
4959

60+
<!-- /automd -->
61+
5062
Or see the [installation guide](https://wxt.dev/guide/installation.html) to get started with WXT.
5163

5264
## Features
@@ -66,6 +78,13 @@ Or see the [installation guide](https://wxt.dev/guide/installation.html) to get
6678

6779
## Contributors
6880

81+
<!-- automd:contributors author="aklinker1" license="MIT" github="wxt-dev/wxt" -->
82+
83+
Published under the [MIT](https://github.com/wxt-dev/wxt/blob/main/LICENSE) license.
84+
Made by [@aklinker1](https://github.com/aklinker1) and [community](https://github.com/wxt-dev/wxt/graphs/contributors) 💛
85+
<br><br>
6986
<a href="https://github.com/wxt-dev/wxt/graphs/contributors">
70-
<img src="https://contrib.rocks/image?repo=wxt-dev/wxt" />
87+
<img src="https://contrib.rocks/image?repo=wxt-dev/wxt" />
7188
</a>
89+
90+
<!-- /automd -->

scripts/generate-readmes.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
#
4+
# Generate code in README.md and sync it with wxt/packages/README.md for NPM
5+
#
6+
7+
pnpm dlx automd
8+
echo "<!-- DO NOT EDIT, THIS FILE WAS GENERATED BY '../../scripts/generate-readmes.sh' -->" > packages/wxt/README.md
9+
cat README.md >> packages/wxt/README.md

0 commit comments

Comments
 (0)