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

use dioxus ssg; fix 404 route, upgrade to 0.6.0-alpha.2 #277

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
762637c
bump dioxus; fix 404 route
ealmloff May 23, 2024
108120c
fix a few more doc examples
ealmloff May 23, 2024
659b983
Update state.md
ealmloff Aug 13, 2024
5437e91
wip: migrate to 0.6.0-alpha.2
jkelleyrtp Aug 13, 2024
46aeedd
bump material-icons to git so patch works!
jkelleyrtp Aug 13, 2024
da25f81
compiling on 0.6.0-alpha
jkelleyrtp Aug 14, 2024
ba366a2
switch back to main dioxus
jkelleyrtp Aug 15, 2024
26accf4
small tweaks to project layout, remove weird homepage sections
jkelleyrtp Aug 15, 2024
07a15e2
bump stats
jkelleyrtp Aug 15, 2024
62445ae
Merge branch 'main' into fix-404
jkelleyrtp Aug 15, 2024
14871e7
start reactivity reference
ealmloff Aug 16, 2024
05f7881
fix formatting
ealmloff Aug 16, 2024
f4a029e
Clean up reactivity demo UI
ealmloff Aug 16, 2024
e194284
Show UI over time for components just like memos
ealmloff Aug 16, 2024
22e04e8
Fix component UI log order
ealmloff Aug 16, 2024
f73d09b
Make UI iterator include the current UI
ealmloff Aug 16, 2024
1f8105f
Add a component with props to the reactivity page
ealmloff Aug 16, 2024
984da40
Add a section about working with untracked state to the reactivity guide
ealmloff Aug 16, 2024
f8a79b7
fix playground
jkelleyrtp Aug 16, 2024
572a685
Add a section about moving state around
ealmloff Aug 16, 2024
3778ec0
One state reference to rule them all
ealmloff Aug 16, 2024
d39c2f6
Start a component lifecycle guide
ealmloff Aug 17, 2024
4b60f3b
refactor guide a bit
jkelleyrtp Aug 17, 2024
4032513
remove extra reactivity link
jkelleyrtp Aug 17, 2024
b81f9e1
clean up old cruft out of docsite
jkelleyrtp Aug 17, 2024
f0ac43e
fix cmd+click by simply not supporting multilang
jkelleyrtp Aug 17, 2024
ba425c6
Fill in the missing sections of the lifecycle guide
ealmloff Aug 19, 2024
a40f88e
add a section about mutating state while rendering
ealmloff Aug 19, 2024
a98ed8e
Add a section about breaking out of dioxus
ealmloff Aug 20, 2024
ffafa9e
add a section about building uis with rsx
ealmloff Aug 21, 2024
b8ac7da
Merge branch 'main' into fix-404
ealmloff Sep 9, 2024
7f7dceb
restore feature flags
ealmloff Sep 9, 2024
364308e
clean up features
ealmloff Sep 9, 2024
05b9c48
Fix CodeBlock
ealmloff Sep 9, 2024
c0b5ae0
general improvements all across site
jkelleyrtp Oct 23, 2024
aedc163
mostly ish fixed with scroll
jkelleyrtp Oct 23, 2024
91d274d
scrolling woes are done
jkelleyrtp Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# [unstable.release]
# build-std = ["std", "panic_abort", "core", "alloc"]
# build-std-features = ["panic_immediate_abort"]

# [env]
# MANGANIS_SUPPORT = "true"

# [profile.dev]
# # rustflags = ["-Cdebuginfo=none", "-Cstrip=debuginfo"]
# # opt-level = "z"
# opt-level = "z" # Optimization level.
# debug = false # Include debug info.
# strip = "debuginfo" # Removes symbols or debuginfo.
# # split-debuginfo = '...' # Debug info splitting behavior.

[profile.dioxus-wasm]
inherits = "dev"
# opt-level = "z"
# debug = false
# strip = "debuginfo"

[profile.dioxus-server]
inherits = "dev"
opt-level = 2

[profile.dioxus-android]
inherits = "dev"
opt-level = 2
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
cancel-in-progress: true

jobs:
build-deploy:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
- name: Install CLI
run: cargo binstall dioxus-cli -y --force
- name: Build
run: dx build --release --features web
run: dx serve --release --features fullstack
- name: Build Static HTML
run: cargo run --release --features prebuild
- name: Create 404.html
run: cp docs/index.html docs/404.html
- name: Rebuild with search index
run: dx build --release --features web && cp docs/404.html docs/index.html
# rebuild web with the new search index and copy over the wasm file into the docs folder
run: dx build --release --features web && mv dist/assets/dioxus docs/assets/dioxus
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
/pkg
/static
/docs
/dist
/dioxus_search
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
"[html]": {
// so it doesn't break code blocks
"editor.formatOnSave": false
}
},
// "editor.formatOnSave": false
// "files.autoSaveDelay": 10
}
Loading