Commit graph

234 commits

Author SHA1 Message Date
Marco Godoy
9538cfe733
Update Docs CI with mdbook translation support (#516)
* Update Docs CI with mdbook translation support #514

* install mdbook with --rev
2022-08-04 10:26:04 -05:00
Marc Espín
df5338f4e6
Fix typos and update code (#513) 2022-07-30 07:20:49 -05:00
Jonathan Kelley
d090b24f8d chore: prevent reference from being uploaded 2022-07-18 13:52:01 -07:00
Breno Rocha
6ea076fa7f
Add PT-BR translations (#456)
* Translate final.md, hello_world.md, README.md, ROADMAP.md and SUMMARY.md

* Translatation complete

* Internationalization: move guide to en folder and preserve its history. (#494)

* Clean files and build mdBook with localization feature

* Rebase, remove leftovers and check book builds for every language: 

Co-authored-by: Jon Kelley <jkelleyrtp@gmail.com>
2022-07-11 13:28:12 -04:00
Jonathan Kelley
2369b0cc7f chore: remove outdated docs 2022-07-09 15:22:54 -04:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jon Kelley
c97ca7dff6
Internationalization: move guide to en folder and preserve its history. (#494)
* chore: move guide to en folder

* docs: add english as language
2022-07-09 12:31:46 -04:00
Reinis Mazeiks
6c323e9fc5
Rework Guide (#486)
* Move getting started to Guide

* Clean up summary and getting started

* Shorten intro by moving stuff to individual platform docs

* Make intro even shorter, summarize features

* Further cleanup; move development-related docs to separate section

* Make `guide` a crate. Turn code samples into examples so that we can check if they compile

* Rewrite "Describing the UI":

* Focus on RSX syntax (interactivity covered in later chapters); make sure samples are tested; concise language

* Move some "special attribute" samples to the `examples` directory

* Simplify introduction to components

* Simplify introduction to component props

* Document Prop features; add code samples

* Simplify component children docs

* Interactivity: better introduction to events

* Hooks: better introduction

* Remove outdated doc

* Introducs use_ref

* Simplify User Input chapter

* Document event handler props

* Meme editor example

* Meme editor walkthrough

* Add dark mode example

* Guide for context; dark mode example

* Guide: custom hooks

* Guide: conditional rendering

* Guide: rendering lists

* Guide: rendering lists + keys

* Move remaining infor from Reference to guide

* Delete reference book
2022-07-07 08:50:36 +00:00
Demonthos
4a5ae758ee
Allow Multiple dependencies for states in the RealDom (native core) (#412)
* WIP multable deps

* WIP: refactor and genralize state macro

* add traversable trait

* update tui to use elementid to index dom
2022-07-07 00:50:22 -04:00
Reinis Mazeiks
48d96869d3 Reference: remove empty and almost empty pages
(Avoids confusion and improves navigation)
2022-06-30 22:49:19 +03:00
Reinis Mazeiks
0ab2f38314 Guide: remove empty and almost empty pages
(Avoids confusion and improves navigation)
2022-06-30 22:39:34 +03:00
Reinis Mazeiks
f3fcec2bdf Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-events
 Conflicts:
	packages/html/src/events.rs
	packages/tui/src/hooks.rs
2022-06-28 21:09:20 +03:00
YuKun Liu
0af69f83f2 Rename hot_reload to hot-reload 2022-06-26 14:23:19 +08:00
Evan Almloff
9e7e5b0859 Merge remote-tracking branch 'upstream/master' into jk/rsx-refactor 2022-06-16 09:17:36 -05:00
Evan Almloff
d422a23c94 add a chapter in the refrence 2022-06-14 09:55:46 -05:00
xTeKc
af951f30ce
update dead link 2022-06-12 04:10:42 -04:00
xTeKc
287cef96b1
fix link 2022-06-12 04:02:21 -04:00
Jon Kelley
33eb59e21f
Merge pull request #431 from AOx0/master
Fix outdated guide section (React-like foo, set_foo)
2022-06-10 11:41:57 -04:00
Alejandro Osornio
6520b24d67
Update index.md
+ Fix outdated documentation
2022-06-01 15:52:43 -05:00
ZingerLittleBee
2cdd142c3e fix: desktop project name in docs 2022-05-23 00:56:08 +08:00
Reinis Mazeiks
45980f9a1e Update examples to avoid deprecated API 2022-05-12 15:00:43 +03:00
Jonathan Moore
21df7d2142
Fix typo 2022-05-05 17:49:08 -05:00
Jon Kelley
f7e67cb2d7
Merge pull request #329 from Demonthos/lazy_tui
Tui Lazy Attributes and Layout
2022-05-02 21:38:18 -04:00
Jon Kelley
1d42894599
Merge pull request #388 from Demonthos/tui_docs
change with_ctrl_c_quit to without_ctrl_c_quit for tui config
2022-05-02 12:12:30 -04:00
Evan Almloff
99fea74786 change with_ctrl_c_quit to without_ctrl_c_quit 2022-04-30 16:52:54 -05:00
YuKun Liu
00354c9b6a
Move cli docs to cli repo 2022-04-27 07:38:31 +08:00
Evan Almloff
159be32fd4 update documentation to refect tui changes 2022-04-21 13:48:11 -05:00
Evan Almloff
7c30d93a3d nested state 2022-04-19 20:12:57 -05:00
Demonthos
f4689a4e27
Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-17 08:48:39 -05:00
Evan Almloff
d9276bd64c clean up code and docs 2022-04-17 07:29:35 -05:00
Evan Almloff
4718668389 add docoumentation for custom_renderer 2022-04-17 07:10:15 -05:00
YuKun Liu
c9537a4c41
Update localstate.md 2022-04-17 12:27:41 +08:00
Erlend Sogge Heggen
5f17b6a849
Update mobile.md 2022-04-11 09:53:08 +02:00
Tim Lee
a5a5821aa5 Include optional public-url flag in build instruction within getting started docs 2022-04-08 15:32:07 +01:00
Demonthos
479c12725f
Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-04 12:10:18 -05:00
Evan Almloff
32b2e3a135 bugfixes, docs, and pass clippy 2022-04-02 16:46:46 -05:00
Jon Kelley
d8a6d61723
Merge pull request #335 from kdwarn/master 2022-04-02 14:50:37 -04:00
YuKun Liu
8e1e06d8c3
fix: docs 2022-03-28 13:11:33 +08:00
Kris Warner
e61fa44497 Make minor grammar, spelling, and style changes 2022-03-27 21:24:14 -04:00
Kris Warner
cb1e16c91c Fix name of later chapter 2022-03-26 10:58:54 -04:00
Kris Warner
36ccb835ab Clarify that expr in string literal limit of Rust 2022-03-26 10:52:55 -04:00
Kris Warner
55b818b08d Fix link to router guide 2022-03-26 00:04:58 -04:00
Kris Warner
2ffd90c98b Remove bullets from numbered list 2022-03-25 22:36:40 -04:00
Kris Warner
e57c0890ec Delete redundant sentence 2022-03-25 22:26:42 -04:00
Jon Kelley
d3ac3db296
Merge pull request #315 from Synphonyte/master
Option<...> props are optional by default.
2022-03-20 19:59:35 -04:00
Imbolc
1082472756
Update setup.md
A typo
2022-03-20 08:42:45 +03:00
Marc-Stefan Cassola
be55524e69
Change optional props docs 2022-03-15 19:49:16 +00:00
Jonathan Kelley
841ad91fe1 fix: dblclick instead of doubleclick 2022-03-11 10:49:38 -05:00
YuKun Liu
9620dc05af
Change trunk to dioxus-cli 2022-03-10 09:07:41 +08:00
Jonathan Kelley
60619a8380 post: update name 2022-03-09 18:13:50 -05:00
Jonathan Kelley
ff81f1c819 feat: update release posts 2022-03-09 18:11:40 -05:00
Jonathan Kelley
77c7713f55 feat: finish release psot 2022-03-09 14:59:18 -05:00
Jonathan Kelley
437716eaea wip: update with images 2022-03-09 14:45:34 -05:00
Jonathan Kelley
b0183b76cd release: add posts for releases 2022-03-09 14:27:01 -05:00
Jonathan Kelley
38d07f7111 docs: add some more to async 2022-03-09 12:33:28 -05:00
Jonathan Kelley
3e9023b131 docs: finish async 2022-03-09 10:22:12 -05:00
Jonathan Kelley
be2b4d36de fix: linking in attributions 2022-03-08 14:43:19 -05:00
Jonathan Kelley
c6fdd03a9d feat: add attributions for crates 2022-03-08 14:41:49 -05:00
Jonathan Kelley
3acd643afb docs: more docs and an errorhandling example 2022-03-08 14:15:18 -05:00
Jonathan Kelley
59f38839fa
Merge pull request #295 from DioxusLabs/jk/docsoverhaul
Docs: actually finish all of the documentation.
2022-03-08 00:56:44 -05:00
Jonathan Kelley
0f87ebb277 docs: even more docs 2022-03-06 20:37:57 -05:00
YuKun Liu
485f6f69f0
Update hooks.md 2022-03-06 15:05:21 +08:00
Jonathan Kelley
7805b1ad63 docs: add simple router book 2022-03-02 17:52:28 -05:00
Jonathan Kelley
94fedcbc91
Merge pull request #269 from mrxiaozhuox/master
Add `Dioxus-cli` Document
2022-02-27 02:33:54 -05:00
YuKun Liu
2df0e54d6a docs: commit docs 2022-02-27 08:22:31 +08:00
YuKun Liu
91c40f3b88 docs: commit docs 2022-02-27 08:22:00 +08:00
YuKun Liu
4480874ee2 docs: commit docs 2022-02-24 23:35:26 +08:00
Jörg Kurlbaum
cc0e2c4877 Add options for compilation on systems that lack libappindicator3 2022-02-24 14:32:43 +01:00
YuKun Liu
9301a55abf docs: commit docs 2022-02-22 19:21:23 +08:00
YuKun Liu
9fb5019929 docs: add commands 2022-02-21 21:25:58 +08:00
YuKun Liu
ff92b10055 docs: commit docs 2022-02-21 20:37:46 +08:00
Oliver Forral
d700850b70
fixing build warnings in hello world example
Fixing this warning when I try to compile

warning: function `App` should have a snake case name
 --> src/main.rs:7:4
  |
7 | fn App(cx: Scope) -> Element {
  |    ^^^ help: convert the identifier to snake case: `app`
  |
  = note: `#[warn(non_snake_case)]` on by default

Also changing edition from 2018 to 2021
2022-02-20 17:27:07 -07:00
YuKun Liu
ac808d31ad docs: add cli docs 2022-02-20 18:23:11 +08:00
YuKun Liu
6ca0a0a4f9 docs: add installation page 2022-02-20 11:28:22 +08:00
YuKun Liu
e039c5b001 docs: add introduction 2022-02-20 11:08:53 +08:00
YuKun Liu
5f36dd0ee3 docs: init cli docs 2022-02-20 10:19:02 +08:00
Jonathan Kelley
f3ad776430
Merge pull request #263 from malcolmrebughini/master
docs(reference/platforms/ssr): fixing example and commands
2022-02-18 11:40:59 -05:00
Malcolm Rebughini
d897d2148a docs(reference/platforms/ssr): fixing example and commands 2022-02-17 19:17:32 -08:00
Jonathan Kelley
d461ffc011 feat: integrate fermi 2022-02-17 10:38:51 -05:00
Miles Murgaw
2fea2fb13a Merge branch 'master' of https://github.com/DioxusLabs/dioxus 2022-02-15 13:39:02 -05:00
Dave Rolsky
7c2d911fbf Fix closure signature for use_ref example in interactivity docs
The example showed the closure accepting a single argument, but it accepts
none.
2022-02-15 09:54:32 -06:00
Miles Murgaw
1413631d30 update: match DioxusLabs/docs#3 2022-02-14 19:08:10 -05:00
dazmaks
3317b3aac5 fix: typo 2022-02-14 17:13:09 +03:00
Jonathan Kelley
a325c03dd9 fix: lifetimes again 2022-02-12 11:02:55 -05:00
Jonathan Kelley
0596088312 docs: fix lifetimes on children 2022-02-12 10:57:57 -05:00
Jonathan Kelley
84fb8cf6cf fix: add folder 2022-02-10 12:22:47 -05:00
Jonathan Kelley
13456ec00c ci: fire deploy 2022-02-10 12:21:38 -05:00
Jonathan Kelley
7c60260672 ci: fire deploy 2022-02-10 12:20:23 -05:00
Jonathan Kelley
8be5cb097b docs: try fire deploy 2022-02-10 12:01:34 -05:00
Reinis Mazeiks
f5907a682e Add a better introduction to what Components are. 2022-02-10 15:50:11 +02:00
Reinis Mazeiks
fc7d94b8d1 Proofread chapter 7 2022-02-10 13:28:54 +02:00
Reinis Mazeiks
ebc768932d Proofread chapter 6 2022-02-10 12:36:27 +02:00
Reinis Mazeiks
02d8e66f40 Refactor: move Component docs into the components directory to reflect how they are presented in the guide 2022-02-10 10:07:33 +02:00
Reinis Mazeiks
6727de447b Proofread & rephrase chapters 1-5 for readability 2022-02-09 19:35:56 +02:00
j1ngzoue
abbd0b8a39 fix: update the sample 2022-02-08 10:25:25 +09:00
Jonathan Kelley
8b402f946a docs: updaet hooks 2022-01-29 10:15:23 -05:00
Jonathan Kelley
3d75f1cb05 docs: fix some typos 2022-01-28 16:11:04 -05:00
Jonathan Kelley
b0fd034ae7 docs: add important hooks 2022-01-28 03:20:42 -05:00
Jonathan Kelley
564284f4be docs: add rules of hooks 2022-01-28 03:04:21 -05:00
Jonathan Kelley
4fb2221ee1 docs: buff up the theory of react 2022-01-28 02:44:13 -05:00