Граф коммитов

865 Коммитов

Автор SHA1 Сообщение Дата
electron-website-docs-updater[bot] c28e8f3fba
chore: update ref to docs (🤖) 2024-08-22 14:05:08 +00:00
electron-website-docs-updater[bot] 35f9860a29
chore: update ref to docs (🤖) 2024-08-22 02:30:42 +00:00
electron-website-docs-updater[bot] 620fa93dfd
chore: update ref to docs (🤖) 2024-08-21 22:51:28 +00:00
Piotr Płaczek 267da8a28a
blog: introducing api history (#627)
* docs(blog): introducing api history

* docs: flatten structure

Reference: https://github.com/electron/website/pull/627#discussion_r1722097096

* docs: link to style guide

* Update blog/introducing-api-history.md

* Apply suggestions from code review

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* Update blog/introducing-api-history.md

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* Update blog/introducing-api-history.md

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* Apply suggestions from code review

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* Update blog/introducing-api-history.md

* Update blog/introducing-api-history.md

* docs: link to local styleguide

Reference: https://github.com/electron/website/pull/627#discussion_r1722098978

* docs: absolute styleguide link

* docs: piotrpdev author alphabetical

Reference: https://github.com/electron/website/pull/627#discussion_r1724083337

* docs: link to api history post in 32 post

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-08-21 10:16:57 -07:00
Keeley Hammond 2cc991ebea
docs: Electron 32 blog (#629)
* docs: Electron 32 blog

* docs: fix web-utils.md link

* docs: apply suggestions from code review

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* chore: nits

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-08-20 16:09:20 -07:00
Erick Zhao f7e9446dd7
chore: update docs to 32-x-y (#630) 2024-08-20 11:26:49 -07:00
dependabot[bot] e7b8b232a3
build(deps): bump axios from 1.6.8 to 1.7.4 (#628)
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 12:21:00 -07:00
Harshinireddy05 fe38f1d544
fix: update Twitter branding (#626) 2024-08-15 10:40:14 -07:00
Erick Zhao 0ddc7c8db6
style: prettier blog sidebar styles (#623)
* style: prettier blog sidebar styles

* make it work in prod too

* Update src/css/custom.scss

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

---------

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-08-13 10:27:31 -07:00
Erick Zhao d681f453ea
build: docusaurus 3.5 upgrade (#622) 2024-08-12 15:52:34 -07:00
David Sanders 0fe9610695
ci: try fixing publish job (#621) 2024-08-12 11:13:22 -07:00
Piotr Płaczek 457bd50df0
feat: API History (#594)
* feat(api-history): basic webpack and remark plugin

* feat(api-history): basic table

* feat(api-history): minor table styling

* refactor(api-history): move regexp to variable

* feat(api-history): better regexp

* feat(api-history): move plugin to own file

* feat(api-history): remove `removed` property

* feat(api-history): fetch version using pr

* feat(api-history): types for data fetch code

* refactor(api-history): more readable row sorting

* feat(api-history): changes markdown support

* feat(api-history): strip comment tags in pre-build instead of plugin

* feat(api-history): `pr-release-versions-plugin`

* feat(api-history): use react component instead of handmade AST

* fix(api-history): revert accidental dependency

* refactor(api-history): get pr releases in transformer, remove plugin

* docs(api-history): todo in transformer

* docs(api-history): add temp example api history and schema for pr review

* fix(api-history): update `yarn.lock` for now

* feat(api-history): use example pr versions by default for now

https://github.com/electron/website/pull/594#discussion_r1662921815

* refactor(api-history): move `ApiHistoryTable` styles to module

https://github.com/electron/website/pull/594#discussion_r1665401454

* style(api-history): better var name, fix style lint

https://github.com/electron/website/pull/594#discussion_r1665405557

* feat(api-history): map pre-releases to released stable versions

* feat(api-history): better styles, remove pr number

* feat(api-history): link table change to breaking-changes

* fix(api-history): provide key for table elements

* feat(api-history): table semver ranges

Co-authored-by: Samuel Attard <sam@electronjs.org>

* feat(api-history): better error handling

https://github.com/electron/website/pull/594#discussion_r1671021901

* feat(api-history): type predicates in transformer

https://github.com/electron/website/pull/594#discussion_r1671021901

* feat(api-history): update to accepted schema

https://github.com/electron/rfcs/pull/6

* docs(api-history): remove old comments

* feat(api-history): only pre-process `/docs/api/*.md` containing `<!--`

* Update scripts/tasks/preprocess-api-history.ts

Co-authored-by: Kevin Cui <158blackhole@gmail.com>

* fix(api-history): match api history block consistently

* feat(api-history): pre-process more error checking

* Update docs/latest/api-history.schema.json

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* fix(api-history): duplicate dependencies

* docs(api-history): remove unnecessary comment

* refactor(api-history): move pre-process deps to dev deps

* feat(api-history): `isHtml(node)` type guard

https://github.com/electron/website/pull/594#discussion_r1678184944

* fix(api-history): missing `toLowerCase()`

* Update scripts/tasks/preprocess-api-history.ts

Co-authored-by: Kevin Cui <158blackhole@gmail.com>

* Update scripts/tasks/preprocess-api-history.ts

Co-authored-by: Kevin Cui <158blackhole@gmail.com>

* Update src/components/ApiHistoryTable.tsx

Co-authored-by: Kevin Cui <158blackhole@gmail.com>

* revert(api-history): `isHtml(node)` type guard

This reverts commit 9481b1caa5.

* feat(api-history): tell user to run `lint-roller`

* fix(api-history): stricter change type param

* Apply suggestions from code review

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* style(api-history): fix lint

* fix(api-history): remove unnecessary null check

* style(api-history): fix lint

* docs(api-history): stricter schema

Reference: c9de2c5f63

* docs(api-history): `ipc-renderer`

Reference: https://github.com/electron/electron/pull/42982#discussion_r1692533981

* docs(api-history): `browser-view`

* ci: use GH token with correct permissions

* fix(api-history): change semver sign if backport is `x.0.0`

Reported-by: David Sanders <dsanders11@ucsbalum.com>

* fix(api-history): preprocess warn on missing schema

* Update src/components/ApiHistoryTable.tsx

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* refactor(api-history): better semver logic

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
Based-on-patch-by: David Sanders <dsanders11@ucsbalum.com>
Reference: https://github.com/electron/website/pull/594#discussion_r1712450684

* refactor(api-history): remove test `docs/`

`git diff feat/api-history origin/main -- docs/latest/api/ | git apply`

* refactor(api-history): remove test PR data

---------

Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Kevin Cui <158blackhole@gmail.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-08-12 11:01:41 -07:00
Erick Zhao 743be949cd
style: default font sizes for docs (#618) 2024-08-08 18:54:14 -07:00
David Sanders 710aa02e55
ci: bump dsanders11/github-app-commit-action from v1.4.0 to v1.4.1 (#617) 2024-08-08 17:51:54 -07:00
electron-website-docs-updater[bot] 69dfc33a70
chore: update ref to docs (🤖) 2024-08-07 09:58:04 +00:00
electron-website-docs-updater[bot] 65e92f5583
chore: update ref to docs (🤖) 2024-08-02 01:48:29 +00:00
David Sanders f6192d5156
chore: use markdownlint-cli2 directly for linting Markdown (#608) 2024-08-01 14:09:40 -07:00
David Sanders 8d3248b1c8
chore: remove got dependency in favor of built-in fetch (#609) 2024-08-01 13:04:02 -07:00
dependabot[bot] 1e3afb3fe7
build(deps): bump dawidd6/action-download-artifact from 3.1.4 to 6 (#604)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3.1.4 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](09f2f74827...bf251b5aa9)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:52:17 -05:00
dependabot[bot] 595d79e803
build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 (#606)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:50:54 -05:00
dependabot[bot] 2e276950ea
build(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#605)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](60edb5dd54...1e60f620b9)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:00:15 -05:00
dependabot[bot] 04c788b61c
build(deps): bump tj-actions/changed-files from 44.5.5 to 44.5.7 (#607)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44.5.5 to 44.5.7.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](cc733854b1...c65cd88342)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 10:59:20 -05:00
electron-website-docs-updater[bot] e2e075d7b0
chore: update ref to docs (🤖) 2024-08-01 10:15:03 +00:00
electron-website-docs-updater[bot] 96189aa415
chore: update ref to docs (🤖) 2024-07-31 14:45:13 +00:00
electron-website-docs-updater[bot] 76c112bea9
chore: update ref to docs (🤖) 2024-07-24 17:24:31 +00:00
electron-website-docs-updater[bot] bb521720a8
chore: update ref to docs (🤖) 2024-07-23 20:57:45 +00:00
electron-website-docs-updater[bot] 765caaaf9e
chore: update ref to docs (🤖) 2024-07-23 10:35:54 +00:00
Kevin Cui e9a2d778c5
refactor(showcase): remove agora flat in favorite (#603)
Signed-off-by: Kevin Cui <bh@bugs.cc>
2024-07-18 23:08:58 -07:00
electron-website-docs-updater[bot] 70da941920
chore: update ref to docs (🤖) 2024-07-17 16:50:04 +00:00
electron-website-docs-updater[bot] debc03a367
chore: update ref to docs (🤖) 2024-07-15 23:01:06 +00:00
David Sanders 901fb5b068
docs: update Node.js version in README (#602) 2024-07-10 13:57:16 -07:00
David Sanders 79cd8b131f
chore(prebuild): remove make-dir dependency (#600) 2024-07-10 13:51:24 -07:00
David Sanders 1df831fe5f
chore: modernize create-electron-documentation script (#601) 2024-07-10 13:51:01 -07:00
Erick Zhao c3c1078169
fix(prebuild): clean up doc sync matcher (#598) 2024-07-05 10:09:32 +08:00
Erick Zhao acc3dbab37
build(i18n): delete obsolete files when uploading to crowdin (#599) 2024-07-04 16:02:13 -04:00
Erick Zhao 38bd1dc60c
blog: expand tag system (#596) 2024-07-04 10:34:43 -04:00
electron-website-docs-updater[bot] 917f3f18eb
chore: update ref to docs (🤖) 2024-07-03 20:09:59 +00:00
electron-website-docs-updater[bot] 672441700a
chore: update ref to docs (🤖) 2024-07-03 09:50:48 +00:00
electron-website-docs-updater[bot] 35f7efec1c
chore: update ref to docs (🤖) 2024-07-03 09:44:04 +00:00
Erick Zhao 98977c9d2f
blog: replace custom jsx with `<sup>` tag (#595) 2024-07-02 17:18:21 -04:00
dependabot[bot] 84f7f8d0eb
build(deps): bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4 (#591)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](71072fbb12...09f2f74827)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 19:27:06 -07:00
dependabot[bot] c1e11d0116
build(deps): bump tj-actions/changed-files from 44.5.2 to 44.5.5 (#589)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44.5.2 to 44.5.5.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](d6babd6899...cc733854b1)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 14:13:49 -07:00
dependabot[bot] 8b02d90d72
build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 (#590)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 14:01:04 -07:00
dependabot[bot] 7498891a6a
build(deps): bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#592)
build(deps): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](cfb60706e1...0723387faa)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 13:51:43 -07:00
dependabot[bot] f81c606ee4
build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#593)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 13:37:16 -07:00
electron-website-docs-updater[bot] 4c82d176aa
chore: update ref to docs (🤖) 2024-07-01 10:33:58 +00:00
Alice Zhao 1f8a694331
feat: blog sidebar grouped by year (#587)
* feat: add patch package dependency

* feat: add patch to docusaurus

* feat: add swizzle for BlogSidebar

* build: add yarn script to make sure patch builds

* docs: update readme for swizzled components

* refactor: update blog count to ALL

* docs: update README with Erick's feedback <3
2024-06-27 09:29:58 -07:00
electron-website-docs-updater[bot] 38c0c0469c
chore: update ref to docs (🤖) 2024-06-27 05:53:10 +00:00
David Sanders 3d330cb696
ci: temporary workflow to resolve Electron release versions for PRs (#586)
* ci: temporary workflow to resolve Electron release versions for PRs

* chore: addressing code review comments
2024-06-26 16:56:05 -07:00
electron-website-docs-updater[bot] baf58adf1d
chore: update ref to docs (🤖) 2024-06-24 09:54:18 +00:00