Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and fixup the "taxonomy" #148

Merged
merged 9 commits into from May 23, 2020
3 changes: 3 additions & 0 deletions devices/families/README.adoc
@@ -0,0 +1,3 @@
= Device families

_See the documentation in <<../../doc/in-depth/devices.adoc#,Notes about devices>>._
2 changes: 1 addition & 1 deletion devices/qemu-x86_64/default.nix
Expand Up @@ -64,7 +64,7 @@ in
ram = 1024 * 2;
};

mobile.system.type = "kernel-initrd";
mobile.system.type = "qemu-startscript";
mobile.boot.stage-1 = {
kernel = {
modular = true;
Expand Down
60 changes: 60 additions & 0 deletions doc/_support/styles/asciidoc.less
Expand Up @@ -32,8 +32,68 @@

.imageblock {
margin-bottom: 1em;
#screen-xs-max({
img {
display: block;
margin: auto;
}
});
#screen-sm-min({
&.right {
float: right;
padding-left: @gutter;
}
&.left {
float: left;
padding-right: @gutter;
}
});
}

.image-halfwidth {
img {
#screen-sm-min({
max-width: 50vw;
});
}
}

// Use when the image is *intended* to be scaled regardless of text.
// If you want the text inside an svg image to stay as big as
.image-scalable {
&.image-halfwidth {
#screen-sm-min({
width: 50%;
});
img {
max-width: 100%;
width: 50vw;
}
}
#screen-xs-max({
&, &.image-halfwidth {
img {
max-width: 100%;
width: 100vw;
}
}
});
}

table.stretch {
width: 100%;
}

.clear-floats {
clear: both;
}

#footnotes {
&:before {
display: block;
content: "";
width: 30%;
border-top: 1px solid #666;
margin-bottom: @gutter/2;
}
}
1 change: 1 addition & 0 deletions doc/_support/styles/layout.less
Expand Up @@ -65,6 +65,7 @@ body.index {
}
}

body > #footnotes,
body > #content {
overflow: auto;
background-color: #fff;
Expand Down
2 changes: 2 additions & 0 deletions doc/default.nix
Expand Up @@ -73,6 +73,8 @@ stdenv.mkDerivation {
--output-dir="$out"

rsync --prune-empty-dirs --verbose --archive \
--exclude="*.src.svg" \
--include="*.svg" \
--include="*.jpeg" \
--include="*.png" \
--include="*/" --exclude="*" . $out/
Expand Down
233 changes: 233 additions & 0 deletions doc/in-depth/devices-taxonomy.src.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.