-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise tutorials and add inline solutions
This commit works in conjunction with the updates in seL4/sel4-tutorials#106. Aim: To arrange the tutorial material such that it is clear and easy to follow. Solution: Inspired by the Rust book https://doc.rust-lang.org/book/, users can see the chapters in the index on the left, and go straight to the sections that they need. Specifically, updated tutorials with: - a streamlined guide to completing the tutorials - a streamlined "setting up your machine" page - a how-to page with solutions to tutorial questions - more organised landing page Changes: - Rename “Getting Started” block to “Resources” since this section of the docsite contains much more than a “Setting up your machine” page. - Change “Get Help” sections to “Contact” - In Make tutorials, filter out index.md; get-the-tutorials.md; how-to.md pathways.md; setting-up.md, which are docsite pages, and not in the tutorials repo - change most tutorial .md files in /Tutorials to layout: tutorial - Rearrange order of tutorials - Add relative links - Add html + css for displaying tutorials sidebar - Add css for displaying solutions - Add layout for tutorials overview page and tutorial pages - Add code to toggle solutions boxes; specifically to open solutions boxes when coming from how-to page - Rewrite landing page to reorder tutorials and include the how-to page, seL4 manual, API reference, Microkit and Rust Specific files: Tutorials/get-the-tutorials.md: - Add steps and code for running the tutorials Tutorials/how-to.md: - Add a quick solutions guide, which provides links to tutorial solutions as quick references for seL4 calls and methods Tutorials/index.md - Add an overview on the tutorials section of the docsite - Remove excessive detail about pathways through the tutorials. A new Tutorials/pathways.md page has been created instead, which follows on from index.md Tutorials/pathways.md - Add recommended pathways through tutorials, depending on development goals Tutorials/setting-up.md - Add simplified setting-up page to ease the user into running seL4 and the tutorials _includes/tutorial.md - Remove old capture paths Signed-off-by: Birgit Brecknell <[email protected]> Signed-off-by: Gerwin Klein <[email protected]>
- Loading branch information
Showing
50 changed files
with
953 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
toc: true | ||
title: Camkes Cross-VM communication | ||
title: Camkes cross-VM connectors | ||
tutorial: camkes-vm-crossvm | ||
description: walkthrough of adding communication between Linux guests in separate VMs | ||
tutorial-order: vm-2 | ||
description: walkthrough of adding communication between Linux guests in separate VMs. | ||
layout: tutorial | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2020 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
{% include tutorial.md %} | ||
|
||
{% include tutorial.md %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
toc: true | ||
title: Getting the tutorials | ||
layout: tutorial | ||
description: steps and code for getting tutorials | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2024 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
|
||
# Getting the tutorials | ||
## Python Dependencies | ||
The CAmkES python dependencies are required to build the [tutorials](ReworkedTutorials). To install you can run: | ||
``` | ||
pip3 install --user camkes-deps | ||
``` | ||
*Hint:* This step only needs to be done once, i.e. before doing your first tutorial. | ||
|
||
## Get the code | ||
All code for the tutorials is described in the <a href="https://github.com/seL4/sel4-tutorials-manifest">sel4-tutorials-manifest</a>. Get the code with: | ||
``` | ||
mkdir sel4-tutorials-manifest | ||
cd sel4-tutorials-manifest | ||
repo init -u https://github.com/seL4/sel4-tutorials-manifest | ||
repo sync | ||
``` | ||
|
||
`repo sync` may take a few moments to run | ||
|
||
*Hint:* The **Get the code** step only needs to be done once, i.e. before doing your first tutorial. | ||
|
||
<p> | ||
Next: <a href="hello-world">Hello world</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
--- | ||
toc: true | ||
title: Camkes | ||
title: Hello CAmkES | ||
tutorial: hello-camkes-0 | ||
tutorial-order: camkes-0 | ||
description: an introduction to Camkes concepts. | ||
layout: tutorial | ||
description: an introduction to CAmkES concepts | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2020 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
{% include tutorial.md %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
--- | ||
toc: true | ||
title: Camkes 1 | ||
title: Introduction to CAmkES | ||
tutorial: hello-camkes-1 | ||
tutorial-order: camkes-1 | ||
description: an introduction to Camkes concepts. | ||
layout: tutorial | ||
description: an introduction to CAmkES concepts | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2020 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
{% include tutorial.md %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
--- | ||
toc: true | ||
title: Camkes 2 | ||
title: Events in CAmkES | ||
tutorial: hello-camkes-2 | ||
tutorial-order: camkes-2 | ||
description: an introduction to Camkes concepts. | ||
layout: tutorial | ||
description: an introduction to CAmkES concepts | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2020 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
{% include tutorial.md %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
--- | ||
toc: true | ||
title: Camkes 3 | ||
title: CAmkES timer tutorial | ||
tutorial: hello-camkes-timer | ||
tutorial-order: camkes-3 | ||
description: introduce Camkes hardware components. | ||
layout: tutorial | ||
description: introduce CAmkES hardware components | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
SPDX-FileCopyrightText: 2020 seL4 Project a Series of LF Projects, LLC. | ||
--- | ||
{% include tutorial.md %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.