Commit Graph

2361 Commits

Author SHA1 Message Date
Philipp Oppermann
b3b263db2a Improve and extend section about BIOS booting 2021-01-24 14:00:04 +01:00
Philipp Oppermann
a8ef154d03 Improve note block style 2021-01-14 16:02:40 +01:00
Philipp Oppermann
957855a18e Improve note block style 2021-01-14 15:52:22 +01:00
Philipp Oppermann
ec1f80416b Make chapters sections to avoid rendering them
Instead of redirecting the chapter pages to a 404 site.
2021-01-07 20:07:43 +01:00
Philipp Oppermann
2e52b681ec Move edition info to subtitle for third edition 2021-01-03 15:22:54 +01:00
Philipp Oppermann
8fbdf53598 Increase margin after chapter introduction 2021-01-03 15:16:07 +01:00
Philipp Oppermann
72e4851bc7 Improve introduction for booting post 2021-01-03 15:13:23 +01:00
Philipp Oppermann
76090f6656 Reduce margin around light switch 2021-01-03 15:08:24 +01:00
Philipp Oppermann
cd7ac05395 Remove comments for old status update pages
New status updates are published on rust-osdev.com and there were only very few comments on the old posts, so that it's not worth keeping them.
2021-01-03 15:04:34 +01:00
Philipp Oppermann
d56f51a2d3 Move macros
Each edition now has their own macros, so create a macros.html for the third edition too. Since the utterances theme differs between editions, we need to move it from snippets.html to the edition-specific macros.html too.
2021-01-03 15:03:49 +01:00
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