Skip to main content

网站故障

· 3 min read

上周,electronjs.org 网站有几分钟的停机。如果你受到这些短暂中断的影响,我们对此带来的不便表示歉意。经过今天的一些调查,我们已经诊断出根本原因,并部署了一个修复

🌐 Last week the electronjs.org site had a few minutes of downtime. If you were affected by these brief outages, we're sorry for the inconvenience. After a bit of investigation today, we've diagnosed the root cause and have deployed a fix.


为了防止将来出现这种停机情况,我们已经在我们的应用上启用了Heroku 阈值警报。每当我们的 Web 服务器累积的失败请求或响应缓慢超过某个阈值时,我们的团队将会收到通知,以便我们能够快速解决问题。

🌐 To prevent this kind of downtime in the future, we've enabled Heroku threshold alerts on our app. Any time our web server accumulates failed requests or slow responses beyond a certain threshold, our team will be notified so we can address the problem quickly.

所有语言的离线文档

🌐 Offline Docs in Every Language

下次当你在飞机上或地下咖啡馆开发 Electron 应用时,可能会希望拥有一份离线文档以供参考。幸运的是,Electron 的文档以 Markdown 文件形式提供,并且有超过 20 种语言版本。

🌐 The next time you're developing an Electron app on a plane or in a subterranean coffee shop, you might want to have a copy of the docs for offline reference. Fortunately, Electron's docs are available as Markdown files in over 20 languages.

git clone https://github.com/electron/electron-i18n
ls electron-i18n/content

带有图形用户界面的离线文档

🌐 Offline Docs with a GUI

devdocs.io/electron 是一个方便的网站,提供离线文档,不仅仅适用于 Electron,还包括许多其他项目,如 JavaScript、TypeScript、Node.js、React、Angular 等等。当然,也有针对它的 Electron 应用。
可以查看 devdocs-app 在 Electron 网站上的信息。

devdocs-app

如果你想在不使用鼠标或触控板的情况下安装应用,可以尝试使用 Electron Forgeinstall 命令:

🌐 If you like to install apps without using your mouse or trackpad, give Electron Forge's install command a try:

npx electron-forge install egoist/devdocs-app