Commit Graph

1680 Commits

Author SHA1 Message Date
Philipp Oppermann
ffb17617a1 Merge pull request #579 from phil-opp/azure-artifacts
Migrate from Netlify to Github Pages
2019-04-24 18:04:33 +02:00
Philipp Oppermann
65f48be964 Delete netlify.toml file 2019-04-24 17:54:21 +02:00
Philipp Oppermann
e4eee8c37f Revert "Mention GitHub, Zola, and Netlify in the footer"
This reverts commit 1ff397f568.
2019-04-24 17:54:21 +02:00
Philipp Oppermann
c1d7a7933b Link to base_url instead of /second-edition 2019-04-24 17:54:21 +02:00
Philipp Oppermann
e2504b1366 Build all branches 2019-04-24 17:54:21 +02:00
Philipp Oppermann
b17c06b47d Require azure pipelines for bors 2019-04-24 17:54:21 +02:00
Philipp Oppermann
5daa7269d6 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 17:54:21 +02:00
Philipp Oppermann
5995948310 Add a CNAME file for GitHub Pages 2019-04-24 17:54:21 +02:00
Philipp Oppermann
dcac2d118d Run Zola build on azure pipelines
Produce generated site as artifact.
2019-04-24 15:58:18 +02:00
Philipp Oppermann
a6b8252946 Revert "Use Zola's aliases feature instead of Netlify redirects"
This reverts commit fd2ac6ef18.
2019-04-24 15:57:06 +02:00
Philipp Oppermann
fd2ac6ef18 Use Zola's aliases feature instead of Netlify redirects
Makes the project less dependent on Netlify.
2019-04-24 12:07:00 +02:00
Philipp Oppermann
1ff397f568 Mention GitHub, Zola, and Netlify in the footer 2019-04-23 14:27:00 +02:00
Philipp Oppermann
8e6e5f7dcc Update copyright to 2019 2019-04-23 14:18:44 +02:00
Philipp Oppermann
f2335e8e72 Add a note that there must be no spaces in features string 2019-04-17 18:49:23 +02:00
Philipp Oppermann
ac16f2ed55 Link if let and shadowing chapters under keyboard code 2019-04-15 14:10:34 +02:00
Philipp Oppermann
0b9ca84735 Rewrite "A Freestanding Rust Binary" (#577)
- solve linker errors by compiling for thumbv7em-none-eabihf
- make old section about linker arguments optional content
- use different linker arguments on Windows and macOS to use the `_start` entry point on all OSs
- Add an (optional) section that explains how to set linker arguments in .cargo/config
- Add an (optional) section that discourages the linker arguments approach and recommends the `#[start]` attribute instead
- reorganize section levels
2019-04-11 15:28:51 +02:00
Philipp Oppermann
4c01a96eb1 Merge pull request #575 from phil-opp/update-bootloader-bootimage
Update to new bootloader 0.5.1 and bootimage 0.7.2
2019-04-06 17:53:18 +02:00
Philipp Oppermann
6015feb511 Update 'Paging Implementation' post for bootloader 0.5.1 2019-04-06 17:49:31 +02:00
Philipp Oppermann
b8667c45dd Update "Minimal Rust Kernel" to new bootloader 0.5.1 and bootimage 0.7.2 2019-04-06 16:46:10 +02:00
Philipp Oppermann
beb1306a1d Move warnings before toc to fix toc placement
The placement was off for pages with warnings.
2019-04-04 13:59:07 +02:00
Philipp Oppermann
042c934c6e Remove badges, mention Gitter in the text 2019-04-04 12:24:59 +02:00
Philipp Oppermann
6eb9c83345 Spell out post-* branch names in posts 2019-04-03 12:12:48 +02:00
Philipp Oppermann
bbe2fe000d Use <div> instead of <article> for post list
The <article> tag is for self-contained content, which the post list isn't really. I hope that this change makes search engines display the blog's introduction instead of the first post's introduction in their results.
2019-03-27 19:26:59 +01:00
Philipp Oppermann
84c539df67 Update Readme: Advanced Paging was replaced by Paging Implementation 2019-03-26 12:36:20 +01:00
Philipp Oppermann
8397cae2be Update to zola 0.6.0 2019-03-26 12:34:36 +01:00
Philipp Oppermann
11ae72b2e2 Use toc-aside id in first edition too so that CSS is applied again 2019-03-26 12:34:05 +01:00
Philipp Oppermann
6a07fea2d7 Fix ToC resizing
The `#toc` id was renamed to `#toc-aside`.
2019-03-20 23:37:56 +01:00
Philipp Oppermann
5cd435b755 Add a small margin after the ToC Heading 2019-03-19 13:24:59 +01:00
Philipp Oppermann
0605fc54df Move the ToC of Paging Implementation after the aside 2019-03-19 13:24:41 +01:00
Philipp Oppermann
48d96243ea Add an inline table of contents to all posts 2019-03-19 13:01:25 +01:00
Philipp Oppermann
6055a2e342 Add an inline table of contents for small screens
This ToC is only shown when the screen is too small for the sticky sidebar ToC.

We use a `<!-- toc -->` comment and the `replace` function to allow inserting the ToC at well defined points of the page. We don't use the shortcode feature of Zola because of https://github.com/getzola/zola/issues/584.
2019-03-19 12:58:15 +01:00
Philipp Oppermann
d0c0cd8ed7 Use non-breaking spaces for subtitle 2019-03-19 12:52:59 +01:00
Philipp Oppermann
fe19af668d Make table of contents sticky instead of fixed
Fixed looks a bit strange with the new `All Posts` link.
2019-03-19 12:52:31 +01:00
Philipp Oppermann
06ec0dbf25 Rename id of ToC aside from toc to toc-aside 2019-03-19 12:51:43 +01:00
Philipp Oppermann
06b334396a Provide an All Posts link on posts that points back to the index page 2019-03-18 10:27:54 +01:00
Philipp Oppermann
cc0f68448b Fix swapped changelog links 2019-03-15 10:46:30 +01:00
Philipp Oppermann
fc5fd7f86b Remove unneeded into_iter call in Paging Implementation post 2019-03-14 13:21:02 +01:00
Philipp Oppermann
82256aaa2f Use zola's page_template feature 2019-03-14 12:58:10 +01:00
Philipp Oppermann
c655a61290 Point bootloader doc links to version 0.4.0 2019-03-14 11:20:48 +01:00
Philipp Oppermann
7b88ebcaf6 Update bootloader dependency in post to 0.4.0 2019-03-14 11:20:36 +01:00
Philipp Oppermann
2e9e8d7f45 Merge pull request #567 from phil-opp/paging-implementation
New Post: "Paging Implementation"
2019-03-14 10:51:33 +01:00
Philipp Oppermann
b496f835dc Set publish date 2019-03-14 10:13:04 +01:00
Philipp Oppermann
5ce8eabffb Fix code link to current HEAD of post-10 branch
The code in the post-10 branch will be replaced with the code of the new "Paging Implementation" post.
2019-03-13 15:10:32 +01:00
Philipp Oppermann
c069cdde69 Minor improvements 2019-03-13 15:01:07 +01:00
Philipp Oppermann
c734bc472f Link to the page table flag list of the previous post 2019-03-13 15:01:07 +01:00
Philipp Oppermann
42d94c3d50 Fix missing imports in code examples 2019-03-13 15:01:07 +01:00
Philipp Oppermann
154f10c3a0 Add missing unsafe in code example 2019-03-13 15:01:07 +01:00
Philipp Oppermann
1041754c71 Provide more context in code example 2019-03-13 15:01:07 +01:00
Philipp Oppermann
b8a3bb44df Simplify the active_level_4_table function 2019-03-13 15:01:07 +01:00
Philipp Oppermann
23e70e0e9c Add a second temporary mapping to figure to make things clearer 2019-03-13 15:01:07 +01:00