Commit Graph

1332 Commits

Author SHA1 Message Date
Philipp Oppermann
a28ad5eba2 Minor casing fix 2021-01-08 10:33:59 +01:00
Philipp Oppermann
247965c1b7 Merge pull request #901 from hamidrezakp/improve-multilingual-support
Improve multilingual support and Persian translation
2021-01-08 10:27:05 +01:00
Hamid R. K. Pishghadam
f60883071e Fix typo and wrong indention using tabs 2021-01-04 17:50:02 +03:30
nanai
3ca2ef760f Fix typo (#900)
computer-builtins-mem -> compiler-builtins-mem
Learning a lot from this blog. Thank you 🌱
2021-01-04 12:21:29 +01:00
Hamid R. K. Pishghadam
f779303472 Add translation for post warning and some minor fix 2021-01-03 21:52:56 +03:30
Hamid R. K. Pishghadam
fad609f744 Fix wrong translations and add font for Persian 2021-01-03 20:53:29 +03:30
Hamid R. K. Pishghadam
478b4cb808 using trans for most common short texts 2021-01-03 19:00:14 +03:30
Hamid R. K. Pishghadam
63d9828213 translate index page to persian 2021-01-03 18:58:59 +03:30
Philipp Oppermann
c20d7b534d Add (english) description for translated index pages again 2021-01-03 14:35:38 +01:00
Philipp Oppermann
4d4a2e5ae8 Revert "Add example for a Persian translation of introduction"
This reverts commit 36c4e6a7fe.
2021-01-03 14:29:38 +01:00
Philipp Oppermann
36c4e6a7fe Add example for a Persian translation of introduction 2021-01-02 18:14:21 +01:00
Philipp Oppermann
d2daf9dc48 Move section template to edition-2 subfolder 2021-01-02 18:11:07 +01:00
Philipp Oppermann
5a86a715c9 Move introduction from index template to markdown file
To allow translations.
2021-01-02 18:09:47 +01:00
Philipp Oppermann
aa227c7dc6 Restructure macros
- Split macros.html in per-edition files
- Create new snippets.html macro file with utterances snippet
- Move support.html to snippets.html as new macro
- Create new `latest_post` macro in 2nd edition macros.html
2021-01-02 18:09:06 +01:00
Philipp Oppermann
ee1ca9fa61 Point index page directly to edition-2/index.html template 2021-01-02 18:05:01 +01:00
Philipp Oppermann
22255d12a9 Create a top-level _index.md file 2021-01-02 17:33:16 +01:00
Hamid R. K. Pishghadam
68d12a7839 Fix layout or rtl in homepage and tables (#896) 2021-01-02 17:21:24 +01:00
Byron Hambly
a3bb0d3469 Remove unused import in code example (#898) 2021-01-02 17:19:15 +01:00
Byron Hambly
924da318c0 Improve explanation for BootInfoFrameAllocator::usable_frames (#897) 2021-01-02 17:18:36 +01:00
Byron Hambly
ceb52ac411 Minor grammar fixes (#894)
2 small fixes 

"we don't have implemented" -> "we haven't implemented"  

and 

"We use lazy_static again, because Rust's const evaluator is not powerful enough yet" -> "As before, we use lazy_static again." 

just to remove what has already been said a few paragraphs up. 

Thank you for this amazing resource!
2020-12-31 12:53:41 +01:00
Philipp Oppermann
b6ff79ac32 Remove unused font-face 2020-12-30 15:39:06 +01:00
Philipp Oppermann
85d97bd362 Fix font-family for code blocks in first edition 2020-12-30 15:38:17 +01:00
16yuki0702
3ef243f342 Add filepath to code blocks in Testing post (#893) 2020-12-23 11:50:17 +01:00
woodyZootopia
5f5fdaf902 Set configurations of the post to pass the compile 2020-12-19 23:47:53 +09:00
woodyZootopia
009d0ceaa5 Just copied the file 2020-12-19 23:45:50 +09:00
Philipp Oppermann
dce5c9825b The second-edition folder was renamed to edition-2 2020-12-17 12:41:48 +01:00
Philipp Oppermann
b5a1360a72 Merge pull request #887 from woodyZootopia/translate_post_03
Translate post-03 to Japanese
2020-12-17 12:40:17 +01:00
woodyZootopia
183872e362 Add JohnTitor as a co-translator 2020-12-17 11:53:57 +09:00
Philipp Oppermann
f692c5b377 Rename second-edition subfolder to `edition-2 2020-12-16 14:56:36 +01:00
Philipp Oppermann
4a9ea6c503 Rename first-edition subfolder to edition-1 2020-12-16 14:38:59 +01:00
Shu W. Nakamura
e6c510cba6 Apply suggestions from code review by @JohnTitor
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-12-16 22:12:55 +09:00
woodyZootopia
d36c041a9c Translate post 03 2020-12-11 23:11:22 +09:00
Yuki Okushi
f6416c1e6b Fix broken QEMU link (#888) 2020-12-11 12:08:30 +01:00
Brian Kung
e8f5ee95c6 Emphasize moving code (#883)
This prevents people from having duplicate code and potentially encountering errors. If both copies are kept the compiler may complain `error: cannot find macro `serial_println` in this scope` in `main.rs`
2020-11-20 10:20:16 +01:00
Hamid R. K. Pishghadam
165a83efae adding persian language name 2020-11-13 02:04:51 +03:30
Hamid R. K. Pishghadam
a6be039bdb Post 04 translation done 2020-11-13 02:03:39 +03:30
Hamid R. K. Pishghadam
6b0f9290ea Post 03 translation done 2020-11-13 02:03:39 +03:30
Hamid R. K. Pishghadam
1ba70ef398 Post 02 translation done 2020-11-13 02:03:38 +03:30
Hamid R. K. Pishghadam
c39b1e2b3c Post 01 translation done 2020-11-13 02:03:38 +03:30
Hamid R. K. Pishghadam
a1bb75850d Adding persian support 2020-11-13 02:03:24 +03:30
Philipp Oppermann
19bf93a59d Use languages names in language list 2020-11-11 13:31:04 +01:00
Philipp Oppermann
106be64a1a Provide language names for all lang codes 2020-11-11 13:17:18 +01:00
Philipp Oppermann
8fd8e42490 Remove margins in language selector list 2020-11-11 13:16:40 +01:00
Philipp Oppermann
668c903c02 Show all available languages
Not just languages enabled in the browser. This makes the translations more discoverable.
2020-11-11 10:29:17 +01:00
Arseniy Pendryak
307916d1fe Fix some links in 02-minimal-rust-kernel (#877)
Previously:
"`mem` feature" led to wrong feature
"`memcpy` etc. implementations" had redundant parenthesis that prevented proper rendering
2020-11-01 20:33:10 +01:00
Hamid Reza
caecc2c98e Adding Right-to-Left support for template (#875) 2020-11-01 10:54:57 +01:00
Philipp Oppermann
b17b3d40da GitHub no longer matches sponsorships, but they still charge no fees 2020-10-31 21:27:49 +01:00
Shu W. Nakamura
85b7d4b5c1 translate post 02 to Japanese (#871)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-10-23 12:18:03 +02:00
Philipp Oppermann
7212ffaa83 Add an example why it is dangerous to implement memcpy yourself 2020-10-10 11:58:20 +02:00
Toothbrush
a65bf32d57 Removed message about rustfmt (#870)
Removed message about recent Rust nightlies not containing `rustfmt`.
2020-10-08 18:06:38 +02:00