electronjs.org-new/.gitignore

13 строки
125 B
Plaintext
Исходник Постоянная ссылка Обычный вид История

2021-03-23 01:04:52 +03:00
node_modules
2021-03-23 20:19:42 +03:00
.docusaurus
.DS_Store
.env
.vscode/settings.json
feat: versioned docs The way versioned documents are supported on the site differs a bit from Docusaurus' documentation: - Each doc change to a branch is build and publish separately. - The links to the versions are `_blank` to bypass `react-router` even though the content is in the same server. The reason is that because it is built at different steps it is not "found". This is achieve thanks to `electron-website-updater` sending a `repository_dispatch` event with 2 different types of actions for each `push` event that happens in `electron/electron` that contains doc changes. The 2 types of events are: * `doc_changes_branches`: Updates to documentation branches (does not matter if they are the latest or not). * `doc_changes`: Updates to the latest stable branch. The tasks to perform are almost identical and are split in two different GitHub actions for each event: 1. Download the markdown for the SHA, check if there are new version branches and update `versions-info.json`, update the SHA, and publish those changes to Git. This is done in `update-docs-XXX.yml` when we receive the event. 2. Build the content for that branch and publish in the right place. This is done in `push-XXX.yml` when there is a push to `main` or a `vXX` branch. The deployment is done to the storage service. The difference is that a branch will only push `assets` and `docs` while `main` will publish everything. Additionally, Crowdin gets updated every time there is a change in `main` to make sure the latest content is always uploaded. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fix #118
2021-10-14 06:16:09 +03:00
.tmp/
build/
content/
i18n/
feat: versioned docs The way versioned documents are supported on the site differs a bit from Docusaurus' documentation: - Each doc change to a branch is build and publish separately. - The links to the versions are `_blank` to bypass `react-router` even though the content is in the same server. The reason is that because it is built at different steps it is not "found". This is achieve thanks to `electron-website-updater` sending a `repository_dispatch` event with 2 different types of actions for each `push` event that happens in `electron/electron` that contains doc changes. The 2 types of events are: * `doc_changes_branches`: Updates to documentation branches (does not matter if they are the latest or not). * `doc_changes`: Updates to the latest stable branch. The tasks to perform are almost identical and are split in two different GitHub actions for each event: 1. Download the markdown for the SHA, check if there are new version branches and update `versions-info.json`, update the SHA, and publish those changes to Git. This is done in `update-docs-XXX.yml` when we receive the event. 2. Build the content for that branch and publish in the right place. This is done in `push-XXX.yml` when there is a push to `main` or a `vXX` branch. The deployment is done to the storage service. The difference is that a branch will only push `assets` and `docs` while `main` will publish everything. Additionally, Crowdin gets updated every time there is a change in `main` to make sure the latest content is always uploaded. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fix #118
2021-10-14 06:16:09 +03:00
!i18n/en/
2024-03-05 00:06:01 +03:00
!i18n/README.md
2022-09-07 02:58:32 +03:00
docs/v**