fix(docs): fix electron references

This commit is contained in:
Christian Bromann 2025-03-02 14:45:01 -08:00
parent 1a6bf57d62
commit 889e725d0d
No known key found for this signature in database
GPG key ID: 6D65B5474C4AF507
4 changed files with 26 additions and 3 deletions

View file

@ -70,7 +70,7 @@ export async function generateElectronDocs () {
await fs.writeFile(newDocsPath, `---
id: ${id}
title: ${title}
custom_edit_url: https://github.com/${GITHUB_REPO}/edit/main/${sources[0][1]}
custom_edit_url: https://github.com/${GITHUB_REPO}/edit/main/${sources[0][0]}
---
${content}`)
console.log(`Generated docs for ${newDocsPath}`)

View file

@ -58,6 +58,9 @@ You can also try to convince your employer to sponsor WebdriverIO as a business.
link="https://www.browserstack.com/automation-webdriverio"
/>
<br />
<br />
### 🥇 Gold
<ImageSwitcher
@ -81,6 +84,8 @@ You can also try to convince your employer to sponsor WebdriverIO as a business.
Become a [Gold Sponsor](https://opencollective.com/webdriverio/contribute/gold-sponsor-26921/checkout?interval=month&amount=500&contributeAs=me).
<br />
### 🥈 Silver
<ImageSwitcher
@ -94,6 +99,8 @@ Become a [Gold Sponsor](https://opencollective.com/webdriverio/contribute/gold-s
Become a [Silver Sponsor](https://opencollective.com/webdriverio/contribute/silver-sponsor-69223/checkout?interval=month&amount=250&contributeAs=me).
<br />
### 🥉 Bronze
<ImageSwitcher
@ -115,3 +122,19 @@ Become a [Silver Sponsor](https://opencollective.com/webdriverio/contribute/silv
/>
Become a [Bronze Sponsor](https://opencollective.com/webdriverio/contribute/bronze-sponsor-69224/checkout?interval=month&amount=100&contributeAs=me).
<br />
<br />
### 🙇 Notable Past Sponsors
We are grateful for the support of all our sponsors! Here are some of the companies that have supported WebdriverIO in the past.
<ImageSwitcher
lightImageSrc="/img/sponsors/saucelabs_black.svg"
darkImageSrc="/img/sponsors/saucelabs_white.svg"
alt="Sauce Labs"
link="https://saucelabs.com/"
width="150"
target="_blank"
/>

View file

@ -56,4 +56,4 @@ export const config: WebdriverIO.Config = {
That's it 🎉
Learn more about how [to configure the Electron Service](/desktop-testing/electron/configuration), [how to mock Electron APIs](/desktop-testing/electron/mocking) and [how to access Electron APIs](/desktop-testing/electron/apis).
Learn more about how [to configure the Electron Service](/docs/desktop-testing/electron/configuration), [how to mock Electron APIs](/docs/desktop-testing/electron/mocking) and [how to access Electron APIs](/docs/desktop-testing/electron/apis).

View file

@ -12,7 +12,7 @@
.sponsorSection > div {
display: flex;
flex-direction: row;
width: 460px;
width: 280px;
border: 1px solid var(--ifm-color-primary);
border-radius: 10px;
margin: 0 auto;