feat(website): optimize and improve documentation

This commit is contained in:
Misite Bao 2022-09-19 20:02:11 +08:00
commit 07a3973f9a
10 changed files with 18 additions and 17 deletions

View file

@ -197,7 +197,7 @@ months ago.
I also need to give a huge thank you :pray: to the following people because without them, this release just wouldn't exist:
- [Misitebao](https://github.com/misitebao) - An absolute workhorse on the Chinese translations and an incredible bug finder.
- [Misite Bao](https://github.com/misitebao) - An absolute workhorse on the Chinese translations and an incredible bug finder.
- [John Chadwick](https://github.com/jchv) - His amazing work on [go-webview2](https://github.com/jchv/go-webview2) and
[go-winloader](https://github.com/jchv/go-winloader) have made the Windows version we have today possible.
- [Tad Vizbaras](https://github.com/tadvi) - Experimenting with his [winc](https://github.com/tadvi/winc) project was the first step down the path to a pure Go Wails.

View file

@ -8,7 +8,7 @@ You can run your application in development mode by running `wails dev` from you
- Build your application and run it
- Bind your Go code to the frontend so it can be called from Javascript
- Using the power of [vite](https://vitejs.dev/), will watch for modifications in your Go files and rebuild/re-run on change
- Using the power of [Vite](https://vitejs.dev/), will watch for modifications in your Go files and rebuild/re-run on change
- Sets up a [webserver](http://localhost:34115) that will serve your application over a browser. This allows you to use your favourite browser extensions. You can even call your Go code from the console
To get started, run `wails dev` in the project directory. More information on this can be found [here](../reference/cli.mdx#dev).

View file

@ -20,7 +20,7 @@ Wails has a number of common dependencies that are required before installation:
### Go
Download Go from the [Go Downloads Page](https://go.dev/doc/install).
Download Go from the [Go Downloads Page](https://go.dev/dl/).
Ensure that you follow the official [Go installation instructions](https://go.dev/doc/install). You will also need to ensure that your `PATH` environment variable also includes the path to your `~/go/bin` directory. Restart your terminal and do the following checks:

View file

@ -29,7 +29,10 @@ you'd expect from a modern native app.
```mdx-code-block
<p class="text--center">
<a href="https://varly.app/">
<img src={require("@site/static/img/showcase/varly2.webp").default} style={{'width': '75%', 'max-width': '800px'}}/>
<img
src={require("@site/static/img/showcase/varly2.webp").default}
style={{ width: "75%", "max-width": "800px" }}
/>
</a>
</p>
```

View file

@ -364,7 +364,7 @@ Type: `[]interface{}`
### Windows
This defines [Windows specific options](#windows-specific-options).
This defines [Windows specific options](#windows).
Name: Windows<br/>
Type: `*windows.Options`
@ -529,7 +529,7 @@ Type: `func()`
### Mac
This defines [Mac specific options](#mac-specific-options).
This defines [Mac specific options](#mac).
Name: Mac<br/>
Type: `*mac.Options`
@ -695,7 +695,7 @@ When clicked, that will open an about message box:
### Linux
This defines [Linux specific options](#linux-specific-options).
This defines [Linux specific options](#linux).
Name: Linux<br/>
Type: `*linux.Options`

View file

@ -2,7 +2,7 @@
- [Lea Anthony](https://github.com/leaanthony) - Project owner, lead developer
- [Stffabi](https://github.com/stffabi) - Technical lead, developer and maintainer
- [Misitebao](https://github.com/misitebao) - Documentation wizard, Chinese translation, Windows testing, Bug finder general
- [Misite Bao](https://github.com/misitebao) - Documentation wizard, Chinese translation, Windows testing, Bug finder general
- [Travis McLane](https://github.com/tmclane) - Cross-compilation work, MacOS testing
- [Byron Chris](https://github.com/bh90210) - Linux distro wizard, Linux testing
@ -12,30 +12,29 @@
dangerouslySetInnerHTML={{
__html: `
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
<img src="/img/silver%20sponsor.png" width="100"/>
<img src="/img/sponsor/silver-sponsor.webp" width="100" />
</a>
<a href="https://github.com/selvindev" style="width:100px;">
<img src="https://github.com/selvindev.png?size=100" width="100"/>
<img src="https://github.com/selvindev.png?size=100" width="100" />
</a>
<br/>
<br/>
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
<img src="/img/bronze%20sponsor.png" width="100"/>
</a>
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
<img src="/img/sponsor/bronze-sponsor.webp" width="100" />
</a>
<a href="https://github.com/codydbentley" style="width:100px">
<img src="https://github.com/codydbentley.png?size=100" width="100" />
</a>
<a href="https://www.easywebadv.it/" style="width:100px">
<img src="/img/easyweb.png" width="100" />
<img src="/img/sponsor/easyweb.webp" width="100" />
</a>
<br />
<br />
<a href="https://github.com/matryer" style="width:100px">
<img src="https://github.com/matryer.png" width="100" />
</a>
<a href="https://www.jetbrains.com?from=Wails" style="width:100px">
<img src="/img/jetbrains-grayscale.png" width="100" />
<img src="/img/sponsor/jetbrains-grayscale.webp" width="100" />
</a>
<a href="https://github.com/tc-hib" style="width:55px">
<img src="https://github.com/tc-hib.png?size=55" width="55" />
@ -85,7 +84,6 @@
<a href="https://github.com/charlie-dee" style="width:55px">
<img src="https://github.com/charlie-dee.png?size=55" width="55" />
</a>
directory
<a href="https://github.com/michaelolson1996" style="width:55px">
<img src="https://github.com/michaelolson1996.png?size=55" width="55" />
</a>

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After