Commit Graph

2351 Commits

Author SHA1 Message Date
Philipp Oppermann
ae4c53fa75 Merge branch 'master' into edition-3 2021-01-03 14:48:32 +01:00
Philipp Oppermann
c20d7b534d Add (english) description for translated index pages again 2021-01-03 14:35:38 +01:00
Philipp Oppermann
b9cc0a47c6 Merge pull request #899 from phil-opp/index-template
Make index page translatable
2021-01-03 14:30:35 +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
de71899d19 Rename second post to 'Booting' 2021-01-03 14:27:13 +01:00
Philipp Oppermann
6b1c01477c Change icon 2021-01-03 14:26:52 +01:00
Philipp Oppermann
8e0f531334 Style gh repo box for dark mode 2021-01-03 10:57:16 +01:00
Philipp Oppermann
a6b8623468 Clarify license for bootstrap icons 2021-01-03 10:30:14 +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
57bbb13e41 Create a top-level _index.md file 2020-12-30 18:53:38 +01:00
Philipp Oppermann
3dfc7ee84f Use translations list instead of constructing links manually on index pages 2020-12-30 18:52:03 +01:00
Philipp Oppermann
c97c27f4e6 Remove unused title in index frontmatter 2020-12-30 18:51:25 +01:00
Philipp Oppermann
4aa5981252 Add placeholders posts for 'Basic I/O' chapter 2020-12-30 18:15:07 +01:00
Philipp Oppermann
b5bd0296bd Add icons to posts 2020-12-30 18:14:17 +01:00
Philipp Oppermann
7e0911b42e Add copy of freestanding binary post to third edition 2020-12-30 16:09:12 +01:00
Philipp Oppermann
4027e61dab Rename post to 'Minimal Kernel' 2020-12-30 16:08:49 +01:00
Philipp Oppermann
5e3062407f Link to second and first edition from index page 2020-12-30 16:08:06 +01:00
Philipp Oppermann
fd623fd033 Add '(Second Edition)' to second edition title 2020-12-30 16:07:48 +01:00
Philipp Oppermann
d56977598e Use Iosevka font for code blocks 2020-12-30 15:44:23 +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
Philipp Oppermann
73b42d4747 Add redirect-to-404 template (needed for chapter pages) 2020-12-28 20:48:10 +01:00
Philipp Oppermann
4a86515a8d Autoformat javascript 2020-12-28 20:47:32 +01:00
Philipp Oppermann
300a6f452a Implement a switch for switching between light and dark mode 2020-12-28 20:47:17 +01:00
Philipp Oppermann
eb767523a5 Tweak chapter colors in dark mode 2020-12-28 20:45:55 +01:00
Philipp Oppermann
ece6a9bb9d Increase margin to right aside 2020-12-28 19:49:56 +01:00
Philipp Oppermann
5c3015acc3 Display posts of chapter as list 2020-12-28 19:48:47 +01:00
Philipp Oppermann
7cc3d5e3b9 Adjust border color 2020-12-28 19:48:11 +01:00
Philipp Oppermann
376ce0ad95 Don't render chapter pages
Disabling the rendering completely is not possible, so we instead redirect to a 404 page.
2020-12-28 19:17:13 +01:00
Philipp Oppermann
d9f3558b34 Hide first edition posts in Readme by default 2020-12-27 15:27:11 +01:00
16yuki0702
3ef243f342 Add filepath to code blocks in Testing post (#893) 2020-12-23 11:50:17 +01: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
b353866952 Set chapter title separately
We avoid the anchor link on mouse-over this way.
2020-12-16 20:23:48 +01:00
Philipp Oppermann
50683507da Clarify on index page that 3rd edition is an alpha release 2020-12-16 20:21:54 +01:00
Philipp Oppermann
60a0b3bc28 Create an initial style for 3rd edition with dark mode support 2020-12-16 20:18:22 +01:00
Philipp Oppermann
798d5c58c5 Set up posts properly 2020-12-16 20:16:29 +01:00
Philipp Oppermann
e6c099ee5b Avoid Zola errors in new 3rd edition draft 2020-12-16 16:00:09 +01:00
Philipp Oppermann
874f9dbaed Restore original second edition post 2020-12-16 15:55:41 +01:00
Philipp Oppermann
d45572f9fb Move updated post to new edition-3 subfolder 2020-12-16 15:55:18 +01:00