Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync new book to main #871

Merged
merged 287 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
4c8e74e
add tracy upgrade to migration guide (#426)
hymm Aug 1, 2022
d665ab3
add "before migrating" section to migration guide (#428)
IceSentry Aug 1, 2022
1f8b96f
automatically resize examples to canvas parent (#429)
mockersf Aug 5, 2022
2234b6b
News: Bevy's Second Birthday (#436)
cart Aug 10, 2022
5f39c15
Fill in missing numbers
cart Aug 10, 2022
0c06f26
Fix typos in second birthday blog post (#439)
TimJentzsch Aug 12, 2022
3de1216
Typo fix (#438)
Fracey Aug 13, 2022
4b304ed
Typo in getting-started/resources (#434)
k-stanislawek Aug 13, 2022
4dc66dc
Add Mold to "recommended linker" section (#442)
hankjordan Aug 16, 2022
8d73353
Add migration guide for a common previous usecase of get (#435)
nicopap Aug 16, 2022
fc329e7
Link to taffy repository in second birthday blog post (#440)
TimJentzsch Aug 16, 2022
bd50879
Remove unused ROADMAP.md (#441)
TimJentzsch Aug 16, 2022
65d51d4
"commands" prefixed to ".spawn" (#433)
7flash Aug 16, 2022
2463841
Update 0.7-0.8 migration guide to include ImageSampler change (#430)
hankjordan Aug 16, 2022
1651ab3
Parallel actions in CI and add a cache (#401)
IceSentry Aug 17, 2022
c5697ef
Generate extra metadata from external sources (#397)
IceSentry Aug 17, 2022
044a8d7
Fix broken assets page (#445)
rparrett Aug 17, 2022
9993bd7
asset cards with more metadata (#394)
IceSentry Aug 18, 2022
067a22b
Pass github token to generate-assets (#447)
cart Aug 18, 2022
27349b3
Fix incorrect example in migration guide (#455)
anchpop Aug 30, 2022
2777ee5
Fix sorting of errors section (#453)
rparrett Aug 30, 2022
ea5c002
Update MacOS requirements (#454)
Aug 30, 2022
8e4f783
Update community.html (#457)
leereilly Sep 4, 2022
affddbc
Fix animated webp files crashing site generation (#459)
nicopap Sep 12, 2022
0000d0a
Add webp to the image whitelist (#460)
nicopap Sep 12, 2022
a3ee5ba
Improved error handling in asset validator (#446)
rparrett Sep 12, 2022
79aac0d
Add MeetKai as a Platinum Sponsor (#461)
cart Sep 14, 2022
0c5723a
Add Encultured AI as a Platinum Sponsor (#465)
cart Oct 4, 2022
5ebdda1
_index.md: emphasize Mold’s speed (#466)
Zearin Oct 16, 2022
9bd8577
Fix unstyled links in intro paragraphs for assets and examples (#471)
rparrett Oct 25, 2022
5fcc38e
Add MSRV to setup guide (#474)
IceSentry Nov 5, 2022
65823cc
Migration guide 0.9 (#470)
IceSentry Nov 12, 2022
7f003b6
0.9 book fixes (#479)
alice-i-cecile Nov 12, 2022
bd4f611
News: Release 0.9.0 (#478)
cart Nov 12, 2022
2e04f12
Update "Getting Started: Resources" to include TimerMode (#480)
jackbackes Nov 12, 2022
cc60e4d
Typo fix
cart Nov 12, 2022
94a2a77
Fixed a typo (#481)
Trayshar Nov 12, 2022
d949b9a
Fix typos in 0.9 announcement post (#482)
TimJentzsch Nov 13, 2022
5980e42
Fix `PluginGroupBoulder` to `PluginGroupBuilder` (#483)
alice-i-cecile Nov 13, 2022
3dab031
Update Discord logo (#484)
Lemonzyy Nov 13, 2022
74866c3
updates getting started to mention 0.9.0 (#485)
tkgalk Nov 14, 2022
536559c
Add gamepad viewer to examples page (#486)
rparrett Nov 14, 2022
5dc3c03
Fix typo (#489)
garyray-k Nov 18, 2022
69661b1
Add 2d and 3d shape examples (#490)
rparrett Nov 21, 2022
dd2f5e9
Add Striked as a Silver Sponsor (#491)
cart Nov 22, 2022
67e9e6f
Add sponsor tier information (#492)
cart Nov 22, 2022
9958327
Add FAQ redirect (#493)
cart Nov 25, 2022
e47c8fe
Card image containers with constant aspect ratio (#494)
ErickMVdO Dec 2, 2022
b24a84e
remove legacy asset converter (#500)
mockersf Dec 20, 2022
cf5e53f
Add aditional description to access assets tab (#496)
oCaioOliveira Dec 20, 2022
8172843
Fix header text being cut off when navigating to anchors (#503)
rparrett Dec 22, 2022
ed0fd29
Add VPSServer as bronze sponsor (#505)
cart Dec 22, 2022
a9d4cc0
add a Community page with our members (#501)
mockersf Jan 4, 2023
92fa0bb
Condense Bevy Community items in a grid layout (#507)
cart Jan 7, 2023
bdeff70
fix extra scroll bar on book (#508)
Jan 10, 2023
c6388a5
Bump bzip2 from 0.4.3 to 0.4.4 in /generate-assets (#509)
dependabot[bot] Jan 10, 2023
55a45c3
Bump tokio from 1.20.0 to 1.24.1 in /generate-assets (#506)
dependabot[bot] Jan 10, 2023
1da5716
Add `markdownlint` in CI (#510)
doup Jan 12, 2023
0dde455
Community: Add Role tags and consolidate Bevy Organization (#514)
cart Jan 14, 2023
548f46d
News: Scaling Bevy Development (#515)
cart Jan 14, 2023
1290c5c
Use upstream bevy-community (#516)
cart Jan 14, 2023
7275a03
Fix role description text line height (#517)
cart Jan 14, 2023
bac9496
Make the People page less confusing (#518)
inodentry Jan 17, 2023
6eab2b5
use original file name for people file (#520)
IceSentry Jan 19, 2023
a96ae8e
Make the sentence more easy to read (#522)
MikaT-code Jan 19, 2023
8872ed6
Add a missing import (#524)
MikaT-code Jan 20, 2023
4ac4e2b
dark scrollbars for Chromium on Windows (#523)
vezquex Jan 21, 2023
48585e1
Migrate ci actions-rs to dtolnay/rust (#519)
ciro-c Jan 21, 2023
e57e185
adding mastodon to community (#527)
vital14 Jan 31, 2023
819adb6
Change Foresight to platinum sponsor (#528)
cart Jan 31, 2023
f502f78
Bump bumpalo from 3.10.0 to 3.12.0 in /generate-assets (#525)
dependabot[bot] Jan 31, 2023
7cbcb89
Add additional image validation (#464)
rparrett Jan 31, 2023
bcf9c65
Change recommended linker: zld to lld for MacOS (#529)
ameknite Feb 6, 2023
f2a3e7d
migration guide and release note generator (#469)
IceSentry Feb 17, 2023
a7a12e8
Temporarily fix zola by hard-coding build (#536)
cart Feb 21, 2023
cf1eb1d
Sponsorship Pledge (#534)
cart Feb 21, 2023
ead8613
Make the instruction more clear (#521)
MikaT-code Feb 21, 2023
fb5d610
Add Alice Cecile to sponsorship pledge (#539)
alice-i-cecile Feb 21, 2023
59d2e39
Add james7132 to the sponsorship pledge (#537)
james7132 Feb 21, 2023
e6784a9
Add Futurewei as patron sponsor (#540)
cart Feb 21, 2023
d33f286
Remove web-streams polyfills (#538)
ickk Feb 21, 2023
22ad7eb
Fix bulletpoints in sponsor pledge (#541)
cart Feb 21, 2023
acf1ff7
adding Francois to sponsorship pledge (#543)
mockersf Feb 21, 2023
ad1c3f7
Rob signs the sponsorship pledge (#544)
superdump Feb 21, 2023
b9a510d
donate page backed by the Bevy people (#532)
mockersf Mar 2, 2023
be9da37
Fix wrong email link on donate page (#557)
lewiszlw Mar 3, 2023
3404beb
Add sidebar to news posts (#561)
doup Mar 4, 2023
3ce214c
Changelog generator (#533)
IceSentry Mar 4, 2023
9558a49
Code in title: don't overwrite the font size (#563)
mockersf Mar 4, 2023
2b554d6
Fix heading line-height causing overlapping text (#573)
pkupper Mar 4, 2023
1d8ed4c
keep the font color white for a button in the main content (#572)
mockersf Mar 4, 2023
993b72c
Migration guide 0.9-0.10 (#530)
IceSentry Mar 5, 2023
0c43352
Improve clarity and CTRL+F-ability of fixed timestep migration advice…
alice-i-cecile Mar 5, 2023
b7c531e
News: Release 0.10.0 (#546)
cart Mar 6, 2023
a086b8b
Update the Bevy Book to 0.10 (#585)
cart Mar 6, 2023
7809a04
Update 0.10 release date (#587)
cart Mar 6, 2023
a5b71ec
0.10 News: fix the author for `EntityCommand`s (#588)
JoJoJet Mar 6, 2023
dbb4212
0.10 News: Fix spelling of cylinder shape author (#589)
JayPavlina Mar 6, 2023
bec1fb5
Various small fixes in migration guide (#586)
rparrett Mar 6, 2023
6f766b0
Use the correct syntax for `NextState` (#590)
alice-i-cecile Mar 6, 2023
cad58b0
Remove a non-breaking change from the 0.10 migration guide (#593)
JoJoJet Mar 7, 2023
eadfbce
Remove redundant parentheses (#594)
lewiszlw Mar 7, 2023
5a92615
Enable merge queues in CI jobs (#597)
cart Mar 7, 2023
d6fffb5
I'm -> we're in 0.10 release post (#592)
lewiszlw Mar 7, 2023
0832be1
master -> main branch (#598)
cart Mar 8, 2023
bbdb9e6
on_enter and on_exit are not a thing (#600)
hazelsparrow Mar 8, 2023
b036281
Improve 0.9 -> 0.10 scheduling migration advice (#604)
alice-i-cecile Mar 11, 2023
3143eac
Move migration guides (#605)
akappel Mar 14, 2023
477fcc5
Fix links to migration guides in news posts (#606)
rparrett Mar 15, 2023
3dd332d
Adds GitHub repo link to header (#607)
akappel Mar 15, 2023
86f3199
Fix missing Clone and Hash derives in blog post (#608)
rparrett Mar 15, 2023
837735f
Add redirects for migration guides (#610)
rparrett Mar 16, 2023
a9709d1
Tweak header (#609)
doup Mar 16, 2023
18f19e1
Remove "book FAQ" (#611)
rparrett Mar 16, 2023
aeb2942
Fix typo (#614)
kellencataldo Mar 19, 2023
76bd33f
Fix cards responsive issues (#581)
doup Mar 22, 2023
5623510
Bump openssl from 0.10.45 to 0.10.48 in /generate-assets (#615)
dependabot[bot] Mar 30, 2023
79adc28
Fixed grammar (#618)
gianzellweger Apr 9, 2023
80fe5e9
Include new warning wording from the readme (#617)
laundmo Apr 12, 2023
d1bc199
Bump h2 from 0.3.15 to 0.3.17 in /generate-assets (#620)
dependabot[bot] Apr 13, 2023
ff852da
Improve setup instructions for Windows (#621)
lakrsv Apr 16, 2023
8d52ee0
Add mastodon verification to index.html (#625)
Gingeh May 2, 2023
7bef416
Keep feature desc style consistent and add iOS to supported platforms…
lewiszlw May 4, 2023
b7e03ba
Removing outdated note about Windows support for dynamic_linking (#628)
zendril May 8, 2023
bc5d03b
Webgpu example pages (#630)
mockersf May 15, 2023
55f963a
resume audio context in wasm examples (#633)
mockersf May 18, 2023
7d19cb8
Fixes for the WebGPU pages (#635)
tim-blackbird May 18, 2023
3ccc5fa
News: Bevy + WebGPU (#634)
cart May 18, 2023
afcfd6d
Fix book contributing doc page (#636)
tim-blackbird May 18, 2023
66b3544
Bevy + WGPU: fix typo and add clarity about implications of WebGPU (#…
cart May 18, 2023
8d527f3
Simpler / clearer titles (#639)
cart May 19, 2023
9695ac0
Fix example canvas growing on resize (#640)
tim-blackbird May 19, 2023
d7543ce
Filter out unavoidable winit control flow exception in WebGPU example…
marlyx May 26, 2023
0b2f9b6
Fix import confusion in Learn > Book > Getting Started > ECS (#644)
Selene-Amanita May 31, 2023
71379c0
Fixed small spelling mistake. (#646)
leonardogattidev Jun 4, 2023
a7be2e4
Update Keygen sponsor logo (#647)
ezekg Jun 7, 2023
9ff62fb
update example screenshots (#650)
mockersf Jun 21, 2023
bf7facd
Bump openssl from 0.10.48 to 0.10.55 in /generate-assets (#652)
dependabot[bot] Jun 21, 2023
922fa86
Properly handle plurals and code blocks (#649)
mattfbacon Jun 22, 2023
af7bedb
new screenshots for new examples (#653)
mockersf Jun 24, 2023
cbea037
Adapt release notes generator to use merge state instead of bors (#654)
cart Jun 27, 2023
dbdd9b1
Clarify what the cargo-binutils is doing (#668)
Jul 7, 2023
4d5958f
Migration guide 0.10 -> 0.11 (#655)
IceSentry Jul 9, 2023
63dc14c
Add image-compare widget (#689)
ickk Jul 9, 2023
564f71c
News: Release 0.11 (#657)
cart Jul 9, 2023
5dc99e3
Fix webgpu examples link
cart Jul 9, 2023
6c6c7cc
0.11 release: Fix attribution
cart Jul 9, 2023
9c06fda
0.11: occlusion clarity
cart Jul 9, 2023
898ddc4
fix aspect-ratio of tonemapping section images (#692)
ickk Jul 9, 2023
ef3b2f9
0.11: fix more attributions
cart Jul 9, 2023
68dbf60
0.11: encode parallax video as mp4
cart Jul 9, 2023
425acaa
Add missing breaking change PRs without label to 0.10 -> 0.11 migrati…
Selene-Amanita Jul 10, 2023
19b289b
Better bevy version/license algorithm for asset generation (#648)
Selene-Amanita Jul 10, 2023
2cc6e0f
Add missing details for UI in Migration Guide 0.10 -> 0.11 (#700)
Selene-Amanita Jul 10, 2023
2ed570d
Fix grammar in 0.11 news release (name -> names) (#702)
Dot32Dev Jul 10, 2023
3e6cad5
Migration guide for TypePath required for generic types (#698)
paul-hansen Jul 10, 2023
51d548d
Improve image-compare widget (#703)
ickk Jul 10, 2023
e6930f2
Add link to examples-wgpu in the examples page (#697)
ameknite Jul 10, 2023
95ddea6
Migration guide 0.10 -> 0.11 Audio API FIX (#704)
IDEDARY Jul 10, 2023
7ca7093
0.11: gizmo creds (#706)
cart Jul 11, 2023
fc8e208
Remove outdated notice in WebGPU examples (#709)
nakedible Jul 12, 2023
f118c22
Update Bevy Book for 0.11 (#712)
cart Jul 12, 2023
64c9a88
Expand upon the 0.11 tonemapping migration guide (#713)
Elabajaba Jul 13, 2023
f3af43d
Fix typo in getting-started/ecs (#715)
Unarmed Jul 14, 2023
8d168bb
Comment and reorganize the asset generation algorithm (#716)
Selene-Amanita Jul 14, 2023
f2cb98c
Add note on 2D entities with negative Z being culled (#714)
opstic Jul 14, 2023
a3936b4
workflow to build examples (#721)
mockersf Jul 18, 2023
3efcc43
Examples update (#720)
mockersf Jul 19, 2023
26be4b8
Improve note on const styles (#718)
SpecificProtagonist Jul 21, 2023
026a87b
fix range input min/max handling on vivaldi (#717)
ickk Jul 21, 2023
1d34ce7
Update examples screenshots from CI (#722)
mockersf Jul 24, 2023
c4c6173
Fix typo `constrast` to `contrast` (#723)
gardengim Jul 30, 2023
a6f7c4d
Add public draft feature (#725)
NiseVoid Aug 7, 2023
f2c0383
News: Bevy's Third Birthday (#729)
cart Aug 10, 2023
bc0fae2
Fix typo in Bevy's Third Birthday post
cart Aug 10, 2023
62c7ee4
Fix typo in Bevy's Third Birthday post
cart Aug 10, 2023
3472bd5
fix link to bevy-jam-2 (#731)
ameknite Aug 11, 2023
3433c0c
Clean up old sponsors (#732)
cart Aug 11, 2023
a0c8a46
Showcase PlaybackMode in the Bevy 0.11 changelog (#733)
hate Aug 19, 2023
6c50953
Asset page filtering (#734)
d-bucur Aug 23, 2023
08d1aeb
Remove old sponsors (#738)
cart Sep 1, 2023
caa2704
Add simple 404 page (#737)
rparrett Sep 1, 2023
693f1bb
Fix 404 page logo (#739)
lewiszlw Sep 4, 2023
5928f89
Align the type of the first System's Query to that of the first Compo…
skindstrom Sep 5, 2023
9118153
Add Wunder Software GmbH as bronze sponsor (#741)
Sep 6, 2023
6f20076
Add Search on Examples page (#742)
ameknite Sep 9, 2023
34bfd89
News: Community Reflection on Bevy's Third Year (#743)
cart Sep 21, 2023
0d62320
Grammar: "api" -> "API" (#747)
wackbyte Oct 4, 2023
201f416
Add Troubleshooting: Unable to debug dynamically linked Bevy applicat…
alexmadeathing Oct 9, 2023
6aa0faa
Changed bevy_core to bevy_time (#752)
kshitijaucharmal Oct 12, 2023
87a7248
Remove the bit about DefaultPlugins being equivalent to... (#762)
SIGSTACKFAULT Oct 16, 2023
448cbbe
Reverse migration guide ordering (#767)
IceSentry Oct 27, 2023
3396265
Bump webpki from 0.22.0 to 0.22.2 in /generate-assets (#748)
dependabot[bot] Oct 28, 2023
4b9fbbf
Bump webpki from 0.22.0 to 0.22.2 in /generate-release (#749)
dependabot[bot] Oct 28, 2023
ee1a6ef
Check all PRs for migration guides (#779)
IceSentry Oct 28, 2023
1f8ad4d
add lld/mold install instructions for Fedora Linux (#745)
mattdm Oct 28, 2023
89e8601
update info on mold availability on Windows and MacOS. (#781)
miketwenty1 Oct 29, 2023
8179536
Roids Sponsor Section (#784)
Braymatter Oct 30, 2023
b45c168
Foresight Update (#787)
aevyrie Oct 31, 2023
2dc511a
Fix broken link (#788)
JMS55 Oct 31, 2023
87e1c1b
Cosmetic changes to _index.md (#794)
softmoth Nov 3, 2023
3066f7c
0.11 to 0.12 migration guide (#756)
IceSentry Nov 3, 2023
a29c65c
Add migration guides from recent PRs (#798)
IceSentry Nov 3, 2023
460cf48
Fix typos in migration guide (#799)
rparrett Nov 4, 2023
44ae2cd
Remove migration guide section on NamedTypePathDef which was not pub …
rparrett Nov 4, 2023
676db11
News: Release 0.12 (#754)
cart Nov 4, 2023
e9ca557
Update book to Bevy 0.12 (#803)
alice-i-cecile Nov 4, 2023
200bf8f
display Bevy logo if an image is missing (#804)
mockersf Nov 4, 2023
93019a9
Fix image resize spaces (#806)
mockersf Nov 4, 2023
1344f0a
0.12: add some clarity in a couple of places (#808)
cart Nov 4, 2023
fd3800e
0.12: Randomize contributor list (#809)
cart Nov 4, 2023
a0911f5
Add fps values to instancing performance graphs (#812)
superdump Nov 5, 2023
03cbb99
Add clang to install directions for mold (#805)
hankjordan Nov 5, 2023
6039456
Update Examples Screenshots (#807)
github-actions[bot] Nov 5, 2023
e5161ac
Remove black frame migration guide (#802)
IceSentry Nov 5, 2023
4f8b74d
0.12 migration guide: AssetPath::new() -> AssetPath::from() (#815)
cart Nov 5, 2023
24fd93b
Expand on migration guide for PR 9416 (#816)
rparrett Nov 6, 2023
abb37e3
Add migration guide for the default clearcolor change (#817)
rparrett Nov 6, 2023
bf681ad
Update _index.md (#819)
Nov 6, 2023
80a090b
Add migration guide notes on asset hot reloading (#818)
alice-i-cecile Nov 8, 2023
a149320
Fix up sentences in animation section (#823)
rparrett Nov 8, 2023
169d4f8
Update migration guide for PRs 9419 and 9604 (#822)
rparrett Nov 8, 2023
4673619
0.12 Migration: multi-threaded feature is not just for bevy_ecs and b…
rparrett Nov 12, 2023
bc36590
:pencil2: Fix typo "API api" in bevy-0.12 article (#833)
homersimpsons Nov 18, 2023
f44cf82
News: SME Announcements (#838)
cart Dec 12, 2023
15c5f1d
Increase Foresight sponsorship to Diamond (#839)
cart Dec 12, 2023
7b032d7
add version filter to assets (#832)
SET001 Jan 2, 2024
704d9e6
ignore http errors when loading assets (#840)
mockersf Jan 2, 2024
f7b9428
Docs/mut query (#845)
TheBlckbird Jan 5, 2024
4de4166
Fix missing closing parenthesis (#850)
RomainMazB Jan 5, 2024
d41b564
Add plugin development chapter to book (#848)
TrialDragon Jan 7, 2024
51bce06
Fix some wording in the ECS chapter (#851)
TheBlckbird Jan 8, 2024
0320341
Add BFH to sponsors (#854)
cart Jan 9, 2024
aec6b6b
Update Godot Rust link (#859)
conways-glider Jan 10, 2024
a9df95c
Fix minor typo (#860)
davidepaci Jan 12, 2024
e1c4f85
Plugin guidelines makeover (#861)
rparrett Jan 14, 2024
dcda330
Update landing page audio feature description (#865)
TrialDragon Jan 16, 2024
d509aa7
Merge branch 'main' into sync-new-book-to-main
TrialDragon Jan 18, 2024
6ddb08c
Change rust_type shortcode usage to reference link
TrialDragon Jan 18, 2024
381db48
Migrate from book_section to docs_section
TrialDragon Jan 18, 2024
6c30d08
Add index file to quick-start
TrialDragon Jan 18, 2024
b4609f4
Move next steps and plugin-development to quick-start
TrialDragon Jan 18, 2024
5dd16da
Resolve missed merge conflicts in getting-started
TrialDragon Jan 18, 2024
8d5ba88
Fix markdown linting error
TrialDragon Jan 18, 2024
78da36c
Fix code validation checking
TrialDragon Jan 18, 2024
2dc230d
Correct errors in code blocks
TrialDragon Jan 18, 2024
8fe279b
Resolve migration guide merge conflict
TrialDragon Jan 18, 2024
17d8c4e
Fix issue caused by negligent merge conflict resolution
TrialDragon Jan 18, 2024
77c1122
Fix earlier markdown lint issue
TrialDragon Jan 18, 2024
6075bbf
Clean up merge conflict resolution artifacts
TrialDragon Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
86 changes: 86 additions & 0 deletions .github/workflows/build-wasm-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Build WASM Examples

on:
workflow_dispatch:

env:
PER_PAGE: 50

jobs:
wasm-examples:
name: Build WASM Examples
runs-on: macos-latest
strategy:
matrix:
# if all examples are not built, add a new page here
page: [0, 1, 2]
api: [webgl2, webgpu]
steps:

- name: Checkout Bevy latest tag
uses: actions/checkout@master
with:
repository: 'bevyengine/bevy'
ref: 'latest'

# temporary: fetch tools from main branch
- name: Checkout Bevy Tools
uses: actions/checkout@master
with:
repository: 'bevyengine/bevy'
ref: 'main'
path: 'bevy-tools'
- name: Copy Bevy tools to latest
run: |
cp -r bevy-tools/tools/ tools
rm -rf bevy-tools

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown,x86_64-apple-darwin

- name: Install WASM tooling
run: |
cargo install --force wasm-bindgen-cli
mkdir ./binaryen
wget -qO- https://github.com/WebAssembly/binaryen/releases/download/version_114/binaryen-version_114-x86_64-macos.tar.gz | tar xvz --strip-components 1 -C ./binaryen binaryen-version_114

- name: Build WASM Examples
run: |
export PATH=$PATH:`pwd`/binaryen/bin
cargo run -p example-showcase -- --per-page ${{ env.PER_PAGE }} --page ${{ matrix.page }} build-wasm-examples --content-folder wasm-examples --api ${{ matrix.api }} --website-hacks --optimize-size

- name: Upload Generated Files
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.api }}-examples-${{ matrix.page }}
path: wasm-examples

cloudflare-upload:
name: Upload to Cloudflare
runs-on: ubuntu-latest
needs: wasm-examples
strategy:
matrix:
api: [webgl2, webgpu]
steps:

- name: Download all artifacts
uses: actions/download-artifact@v3

- name: Group examples in one folder
run: |
mkdir ${{ matrix.api }}
for file in ${{ matrix.api }}-examples-*
do
rsync -a $file/* ${{ matrix.api }}/
done

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES }}
accountId: 0e862a54d5c283c78d8d56adb6159df8
projectName: bevy-${{ matrix.api }}-examples
directory: ${{ matrix.api }}
26 changes: 18 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
pull_request:
merge_group:
push:
branches:
- 'staging'
Expand Down Expand Up @@ -95,14 +96,12 @@ jobs:
content/examples/**/*.wasm
key: ${{ runner.os }}-generate-wasm-examples-${{ hashFiles('generate-wasm-examples/bevy/Cargo.toml') }}

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: "Build Bevy Examples"
run: >
cargo install --force wasm-bindgen-cli &&
run: |
cd generate-wasm-examples &&
./generate_wasm_examples.sh

Expand All @@ -112,6 +111,12 @@ jobs:
path: content/examples
retention-days: 1

- uses: actions/upload-artifact@master
with:
name: generated-wasm-examples-webgpu
path: content/examples-webgpu
retention-days: 1

generate-community:
needs: [markdownlint, test-code]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -142,7 +147,7 @@ jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand All @@ -151,7 +156,7 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: true
DEFAULT_BRANCH: master
DEFAULT_BRANCH: main

test-code:
runs-on: ubuntu-latest
Expand All @@ -172,7 +177,7 @@ jobs:

build-website:
runs-on: ubuntu-latest
needs: [generate-assets, generate-errors, generate-wasm-examples, generate-community]
needs: [markdownlint, generate-assets, generate-errors, generate-wasm-examples, generate-community]

steps:
- uses: actions/checkout@master
Expand All @@ -191,13 +196,18 @@ jobs:
name: generated-wasm-examples
path: content/examples

- uses: actions/download-artifact@master
with:
name: generated-wasm-examples-webgpu
path: content/examples-webgpu

- uses: actions/download-artifact@master
with:
name: generated-community
path: content/community/people

- name: "Build website"
uses: shalzz/zola-deploy-action@master
uses: shalzz/zola-deploy-action@v0.16.1-1
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy

on:
push:
branches: [master]
branches: [main]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
Expand Down Expand Up @@ -34,17 +34,16 @@ jobs:
- name: "Build Bevy Community"
run: cd generate-community && ./generate_community.sh

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: wasm32-unknown-unknown

- name: "Build Bevy Examples"
run: cargo install wasm-bindgen-cli && cd generate-wasm-examples && ./generate_wasm_examples.sh
run: cd generate-wasm-examples && ./generate_wasm_examples.sh

- name: "Build and deploy website"
if: github.repository_owner == 'bevyengine'
uses: shalzz/zola-deploy-action@master
uses: shalzz/zola-deploy-action@v0.16.1-1
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
Expand Down
97 changes: 97 additions & 0 deletions .github/workflows/update-screenshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Update Screenshots

on:
workflow_dispatch:

env:
PER_PAGE: 20

jobs:
take-screenshots:
name: Take Screenshots
runs-on: ubuntu-latest
strategy:
matrix:
# if all examples are not built, add a new page here
page: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
steps:

- name: Checkout Bevy latest tag
uses: actions/checkout@master
with:
repository: 'bevyengine/bevy'
ref: 'latest'

# temporary: fetch tools from main branch
- name: Checkout Bevy Tools
uses: actions/checkout@master
with:
repository: 'bevyengine/bevy'
ref: 'main'
path: 'bevy-tools'
- name: Copy Bevy tools to latest
run: |
rm -rf tools
cp -r bevy-tools/tools/ tools
rm -rf bevy-tools

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable

- name: Install Bevy dependencies
run: |
sudo apt-get update;
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -yq \
libasound2-dev libudev-dev;

- name: install xvfb, llvmpipe and lavapipe
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers

- name: Take Screenshots
run: |
xvfb-run cargo run -p example-showcase -- --page ${{ matrix.page }} --per-page ${{ env.PER_PAGE }} run --screenshot --in-ci

- name: Upload Generated Files
uses: actions/upload-artifact@v3
with:
name: screenshots-${{ matrix.page }}
path: screenshots

prepare-pr:
name: Prepare Screenshots Update PR
runs-on: ubuntu-latest
needs: take-screenshots
permissions:
pull-requests: write
contents: write
steps:

- name: Clone bevy-website repo
uses: actions/checkout@master

- name: Download all artifacts
uses: actions/download-artifact@v3

- name: Move examples to the correct folder
run: |
rm -rf static/screenshots
mkdir static/screenshots
for file in screenshots-*
do
rsync -a $file/* static/screenshots/
rm -rf $file
done

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
delete-branch: true
branch-suffix: random
title: Update Examples Screenshots
body: |
This PR updates the screenshots of the examples with latest version from Bevy.
It was automatically generated by a GitHub Action.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ public
content/assets
content/learn/errors
content/examples
content/examples-webgpu
content/community/people
content/community/donate
static/assets/examples
static/processed_images
.vscode/
Expand Down
4 changes: 0 additions & 4 deletions ROADMAP.md

This file was deleted.

8 changes: 5 additions & 3 deletions code-validation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
//! The modules represents the folder structure of the website.

mod learn {
#[doc = include_str!("../../content/learn/quick-start/_index.md")]
mod quick_start {
#[doc = include_str!("../../content/learn/quick-start/next-steps/_index.md")]
mod next_steps {}
}
#[doc = include_str!("../../content/learn/book/_index.md")]
mod book {
#[doc = include_str!("../../content/learn/book/assets/_index.md")]
Expand Down Expand Up @@ -126,9 +131,6 @@ mod learn {
// Not testing migration guides, because of breaking api changes.
mod migration_guides {}

#[doc = include_str!("../../content/learn/book/next-steps/_index.md")]
mod next_steps {}

#[doc = include_str!("../../content/learn/book/performance-optimizations/_index.md")]
mod performance_optimizations {
#[doc = include_str!("../../content/learn/book/performance-optimizations/component-storage/_index.md")]
Expand Down
2 changes: 1 addition & 1 deletion content/community/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Community"
title = "Bevy Community"
template = "community.html"
[extra]
header_message = "Community"
Expand Down
Loading
Loading