Hofer-Julian
5217bc27b7
Add missing and ( #1093 )
2022-04-07 19:08:10 +02:00
Philipp Oppermann
f365ade976
Merge pull request #1096 from Programatic/patch-1
...
Set CS register with non-deprecated function
2022-04-07 19:07:17 +02:00
ruhuang
f6777e621d
Replace deprecated inclusive pattern syntax ( #1091 )
...
I am currently using rustc 1.61.0-nightly (10913c000 2022-03-03). The original English blog is correct but this translation is deprecated.
2022-04-07 19:05:25 +02:00
SilensAngelusNex
ee893a7ba0
Fix typo ( #1094 )
...
I think you mean "voluntarily" here?
2022-04-07 17:04:43 +00:00
Julien
58eca98ae1
Fix typo in '04-testing' ( #1095 )
2022-04-07 17:04:38 +00:00
Ford Smith
f56b4a0a32
Fix formatting and remove commented use statements
2022-03-19 13:03:40 -04:00
Ford Smith
c393e4442d
Update blog/content/edition-2/posts/06-double-faults/index.md
...
Accidentally forgot to update the use statements.
Co-authored-by: ruhuang <ruhuang2001@gmail.com >
2022-03-19 13:02:16 -04:00
Ford Smith
7954a9f424
Set CS register with non-deprecated function
...
set_cs is deprecated and CS::set_reg is preferred. Update the blog to reflect this change according to the docs.
2022-03-17 23:42:00 -04:00
Youngsuk Kim
0873c3ae1d
Korean translation for ch-01 ( #1079 )
2022-03-09 22:05:15 +00:00
Alexandre
daafb244d9
Updated list of french translators ( #1090 )
2022-03-07 13:38:23 +01:00
alaincao
b8272b53cf
Fix french in 01-freestanding-rust-binary ( #1089 )
2022-03-07 13:14:39 +01:00
Max Desiatov
5b2c60ece3
Fix typo in 02-minimal-rust-kernel ( #1080 )
...
`rerun the our build command` -> `rerun our build command`
2022-02-16 10:37:31 +00:00
Aleksey R. (aka EreTIk)
c1af4e31b1
Fix link to MS Docs ( #1077 )
2022-02-06 10:29:29 +01:00
Philipp Oppermann
c7eced8b49
Use proper HTML escaping for GitHub discussions link
2022-01-23 17:53:12 +01:00
Philipp Oppermann
6b241de81b
Fix HTML encoding of GitHub discussions link
2022-01-23 17:39:37 +01:00
Philipp Oppermann
09e0c5915b
Link to license in footer
2022-01-23 17:34:57 +01:00
Philipp Oppermann
64c1130908
Fix HTML error: <b> tags should go inside <li> tags
2022-01-23 17:34:46 +01:00
Philipp Oppermann
b24122a604
Remove dark mode warning again
...
There weren't any problems reported, so I guess it looks okay.
2022-01-23 17:30:06 +01:00
Philipp Oppermann
a26eeae82e
Don't minify html
2022-01-23 17:23:06 +01:00
Philipp Oppermann
0d42178666
Don't deploy license file
2022-01-23 16:51:18 +01:00
Philipp Oppermann
05acd376e9
Merge pull request #1061 from phil-opp/zola-update
...
Upgrade to zola 0.15.3
2022-01-23 16:41:53 +01:00
Philipp Oppermann
0d40ee3750
Fix interal links and work around errors for #comments links
...
Zola only checks the markdown source for link targets, so an error occurs if the target is in an template. This is the case for our `#comments` links, so we add a dummy target in a comment.
2022-01-23 16:40:54 +01:00
Philipp Oppermann
ce51e833a8
Update to zola v0.15.3
2022-01-23 16:38:21 +01:00
Tianxi Ku
c4f8477310
Add Chinese translation to _index.zh-CN.md ( #1067 )
2022-01-03 11:25:26 +01:00
Philipp Oppermann
44f51402f7
Upgrade to zola 0.14.1
2021-10-17 21:06:57 +02:00
Philipp Oppermann
5c750985a6
Wait 500ms before changing giscus theme on load to make sure that it's ready
2021-10-17 18:41:24 +02:00
Philipp Oppermann
d6bf1b2271
Revert "Use onload handler to set giscus theme as soon as it's loaded"
...
This reverts commit 7eb1426e1f .
2021-10-17 18:35:45 +02:00
Philipp Oppermann
7eb1426e1f
Use onload handler to set giscus theme as soon as it's loaded
2021-10-17 18:31:40 +02:00
Philipp Oppermann
ebbc6381d7
Fix front matter syntax
2021-10-17 18:19:54 +02:00
Philipp Oppermann
456ed398e8
Merge pull request #1053 from Alekzus/main
...
Adding French translation for the first post
2021-10-17 18:17:28 +02:00
Philipp Oppermann
195d40080a
Don't spellcheck french translations (lots of false positives)
2021-10-17 18:10:09 +02:00
Philipp Oppermann
18f7cb16b9
Merge branch 'main' into main
2021-10-17 18:07:57 +02:00
Philipp Oppermann
1095dc33f4
Merge pull request #1060 from phil-opp/ci-typo-check
...
Use `crate-ci/typos` action to check for typos
2021-10-17 17:38:43 +02:00
Philipp Oppermann
a41d3236b8
Check translated files too
2021-10-17 17:37:55 +02:00
Philipp Oppermann
53e3578e34
Use crate-ci/typos action to check for typos
...
The misspell tool that we used previously has no exclude switch for ignoring translated files. Also, it looks like it is not maintained anymore.
In addition to changing our spell checker, this commit renames the `Build Site` workflow to `Blog` (to be consistent with our `Code` workflow).
2021-10-17 17:31:43 +02:00
Philipp Oppermann
ac8f0175a7
Merge pull request #1059 from phil-opp/dark-mode
...
Remember chosen theme in `localStorage`, add a switch for going back to system theme, improve layout
2021-10-17 16:45:34 +02:00
Philipp Oppermann
0fa31a0e15
Fix: don't assume that light mode is active on initial theme switch
2021-10-17 16:34:59 +02:00
Philipp Oppermann
5ff1aab7b5
Improve layout on mobile and clean up sass code
2021-10-17 16:34:24 +02:00
Philipp Oppermann
76b6c445e4
Add a switch for going back to system theme
2021-10-17 15:40:48 +02:00
Philipp Oppermann
69917e234c
Remember chosen theme in localStorage
...
This way, the selected theme is kept when changing pages, and for subsequent visits. To prevent flickering, we set the selected theme in a blocking script directly on load. To speed things up further, we now use a `data-theme` attribute instead of classes on the body tag, this way we don't need to wait until the body element is loaded.
2021-10-17 15:05:11 +02:00
Philipp Oppermann
3281df3a41
Merge pull request #1058 from phil-opp/dark-mode
...
Implement a switch for switching between light and dark mode
2021-10-17 14:21:18 +02:00
Philipp Oppermann
96ab77fd1e
Implement a switch for switching between light and dark mode
2021-10-17 14:20:08 +02:00
Philipp Oppermann
9d7c0ead07
Merge pull request #1057 from phil-opp/dark-mode
...
Initial Dark Mode Support
2021-10-16 17:31:49 +02:00
Philipp Oppermann
adaaa3238a
Add meta tag that we support both light and dark mode
2021-10-16 17:27:48 +02:00
Philipp Oppermann
d8c27c7fcc
Add a note that dark mode is experimental
2021-10-16 17:27:33 +02:00
Philipp Oppermann
990169b631
Make the background less dark to be easier on the eyes
2021-10-16 17:27:13 +02:00
Philipp Oppermann
9b02a5e77a
Force a white background for all images for now
...
Our current images with transparency assume a white background.
2021-10-16 17:26:55 +02:00
Philipp Oppermann
874f79a8f9
Change colors depending on preferred color scheme
2021-10-16 16:41:36 +02:00
Philipp Oppermann
faae44a477
Add fonts heading and autoformat
2021-10-16 16:25:12 +02:00
Philipp Oppermann
b16c0c861f
Migrate CSS files to SASS to prepare for dark mode
2021-10-16 16:23:23 +02:00