1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00
Commit Graph

44 Commits

Author SHA1 Message Date
Rob Ede
d0f91408ed
docs: remove actix_rt references 2024-06-01 16:09:51 +01:00
Hichem Fantar
ad4aeac34f
TypeScript compatibility (#379)
* Update file extensions and exports for TypeScript compatibility

* docs: fix typo in getting-started.md

* chore: add no-trailing-punctuation rule to VS Code settings

* feat: add @docusaurus/theme-mermaid for mermaid diagram support

* Update import paths for MermaidDiagram component

* remove redudndant check, use effect only runs after the component is mounted

* Update docusaurus.config.ts to fix syntax error

* bring back check because it's not possible to properly cancel a dynamic import

* feat: optimize dynamic import in CodeBlock component

* chore: update VS Code extensions.json with eslint recommendation

* Update docusaurus.config.ts to add GitHub repository link in header
2024-05-28 19:23:34 +00:00
Rob Ede
a0a2da114d
docs: enable shell-session syntax 2024-05-27 22:24:26 +01:00
Hichem Fantar
2aacdf2f70
Add extension recommendations, fix linting warnings, improve accessibility (#378)
* chore: add VS Code extension recommendations

* Update image URLs in README and documentation files

* chore: disable no-inline-html rule

* chore: use standard md/mdx syntax, and use .jsx for react components

* chore: fix email links in Code of Conduct

The commit message suggests fixing the email links in the Code of Conduct file to use the correct `mailto:` syntax.

* chore: update actix-web error helper links

Update the links to the `actix-web` error helper traits in the `databases.md` and `errors.md` files to use the correct URLs.

* chore: restore unused actix-web error helper links

* Update src/pages/community/coc.md

Co-authored-by: Rob Ede <robjtede@icloud.com>

* Update docs/getting-started.md

Co-authored-by: Rob Ede <robjtede@icloud.com>

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-27 20:55:31 +00:00
Senthil Nayagan
cef64ba5ea
Added a missing comma so that sentence make sense (#374)
Added a missing comma so that sentence make sense
2024-04-25 08:47:25 +00:00
Rob Ede
d160e0c390
docs: fix semi-broken link 2024-03-02 17:44:20 +00:00
Rob Ede
2f9e49c622
docs: use rustls in http/2 example 2024-03-02 17:30:56 +00:00
bigduu
4d2b9670b1
Fix sec-3-address.md run failed issue (#357)
The example run failed with below issue
```
`spawn_local` called from outside of a `task::LocalSet`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
2024-01-15 04:39:50 +00:00
Niklas Cathor
2606bb2f93
errors.md: fix type in ResponseError trait (#354) 2023-12-25 14:11:15 +00:00
Rob Ede
4c563311b6
mention serde derive feature on extractors page 2023-12-11 06:44:41 +00:00
Yuki Okushi
6fea6cd0ca
static-files: Fix warning annotation (#344) 2023-11-11 10:56:51 +00:00
igaul
f5e9e93b67
Update: deps, markdown syntax, docuCtx. Change default edit branch to 'main'. (#339)
* Update: deps, markdown syntax, docuCtx

* Update node version in actions
2023-11-02 00:46:56 +00:00
Rob Ede
0d0e7f4433
prettier markdown 2023-11-01 15:28:34 +00:00
Orhun Parmaksız
e72b12218a
Add hosting instructions for Shuttle (#334)
* Add hosting instructions for Shuttle

* move shuttle sample code to examples dir

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-01 15:08:40 +00:00
moy2010
248eff90eb
Fix Item associated type for Stream trait (#332)
The documentation shows incorrect syntax
2023-10-12 08:57:41 +00:00
Mikael Niemi
0598e20509
fix(docs) guard host link (#330) 2023-09-20 09:46:47 +00:00
Rob Ede
c5a9579193
update testing docs to give less precedence to unit testing 2023-09-10 02:56:48 +01:00
Hieu Nguyen
e67443f4e8
Update code example for sec-5-arbiter.md (#329) 2023-08-06 20:55:51 +01:00
noam stein
a2fefa5bea
Update middleware.md (#321) 2023-04-24 19:42:03 +01:00
Hussein Srour
58e2345c21
[docs] Update welcome.md (#320) 2023-04-01 16:15:51 +01:00
Olof Kasselstrand
77920d65fe
Update virtual hosting example to use guard::Host instead of guard::Header (#318) 2023-03-14 13:45:18 +00:00
Jonas Fassbender
9827030543
Added warning message for using regex tail matching with PathBuf and NamedFile (#317)
* warning message for using regex tail matching with PathBuf and NamedFile

* updated links and enhanced their formatting

* small grammar fix
2023-03-04 00:56:14 +00:00
Jonas Fassbender
04f6f0bd02
Fixed keep-alive on response example (#316)
* fixed keep-alive on response example

* fixed dead code and unused variable errors
2023-03-03 15:07:26 +00:00
Rob Ede
28b6c28381
fix lint error 2023-02-03 14:12:21 -05:00
Rob Ede
ac29615601
fix some broken links
closes #269
2023-02-03 14:11:14 -05:00
behkod
e873500721
Add CodeBlock support (#309)
Close https://github.com/actix/actix-website/issues/308
2023-02-03 00:28:14 +09:00
Peihao Yang
3ba8592c0f
Update middleware.md (#304)
correct a misaligned title
2023-01-05 13:46:24 +00:00
Kevin
faee3e8bdd
fix(welcome): broken links (#303)
* docs(welcome): provide full url to prevent 404

`welcome` could be accessed through ./docs and ./docs/welcome. When trying to navigate from ./docs, `getting-started` lead to ./getting-started instead of ./docs/getting-started

* docs(welcome): fix link name mismatch
2022-12-20 15:03:40 +00:00
Jonas Fassbender
28cb016092
Documentation: extractor page navigation bar is missing sections (#302) 2022-12-10 17:48:57 +00:00
Ritvik
f6b43d5efc
Replaced Invalid Link with the valid one (#301) 2022-11-21 21:02:04 +00:00
Yuki Okushi
1da84fca06
Port actix book (#297)
* Tweak GHA

Signed-off-by: Yuki Okushi <jtitor@2k36.org>

* Port actix book

Signed-off-by: Yuki Okushi <jtitor@2k36.org>

* Fix links

Signed-off-by: Yuki Okushi <jtitor@2k36.org>

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-11-10 13:09:51 +00:00
Ege
ea12a77d6e
mentioning required feature on the example code (#295)
Co-authored-by: Yuki Okushi <huyuumi.dev+love@gmail.com>
2022-11-10 10:02:31 +09:00
philpill
52ba8ea777
Clarify main.rs in Getting Started (#232) (#287)
Co-authored-by: philpill <philpill@gmail.com>
2022-09-24 13:24:35 +01:00
Rob Ede
d0df9ae503
apply changes from #286 2022-09-11 19:12:27 +01:00
Rob Ede
b230608545
update diesel docs to reference v2 as well 2022-09-11 19:00:38 +01:00
Rob Ede
1d338f74de
Fix outdated info in Server->Multi-Threading section of docs
taken from ##276
2022-07-30 18:12:15 +01:00
Rob Ede
f33180bf8a
Simplify cargo watch command
taken from #278
2022-07-30 18:10:39 +01:00
Kenneth Allen
bb42ca002c
Update information on Compress middleware (#279) 2022-07-19 11:11:45 +01:00
Santiago
8393aea71a
migrate to docusaurus (v2) (#266)
Co-authored-by: ibraheemdev <ibrah1440@gmail.com>
2022-07-16 18:59:20 +09:00
Armin Ronacher
be2e12d2d2 Update website 2018-05-22 23:15:08 +02:00
krircc
27142238cc change color 2018-01-13 14:45:30 +08:00
krircc
157da7ade7 update cobalt v0.11.1 2018-01-13 13:44:38 +08:00
krircc
920a48f0c5 add index.md 2018-01-07 12:57:15 +08:00
krircc
a33bfa306c init 2018-01-07 11:00:34 +08:00