diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-04-23 13:37:57 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-04-23 13:40:53 +0000 |
commit | c294486339c617fb29f030ba85158ceaf34ee983 (patch) | |
tree | aa2da0b67a8768477274c333790c485393f98d0b | |
parent | 82494b8daf84eff8293e21a824e56ad3a543b043 (diff) | |
download | spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar.gz spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar.bz2 spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar.lz spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar.xz spectrum-c294486339c617fb29f030ba85158ceaf34ee983.tar.zst spectrum-c294486339c617fb29f030ba85158ceaf34ee983.zip |
Documentation: use source blocks where appropriate
I think it makes sense for anything that's supposed to be file contents or a shell session to be a source block.
-rw-r--r-- | Documentation/binary-cache.adoc | 1 | ||||
-rw-r--r-- | Documentation/development.adoc | 1 | ||||
-rw-r--r-- | Documentation/getting-spectrum.adoc | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/binary-cache.adoc b/Documentation/binary-cache.adoc index 07529da..16c73e9 100644 --- a/Documentation/binary-cache.adoc +++ b/Documentation/binary-cache.adoc @@ -42,6 +42,7 @@ substituter, and tells Nix to trust builds signed with its public key. Add the following configuration to /etc/nix/nix.conf: +[source] ---- substituters = https://cache.dataaturservice.se/spectrum/ https://cache.nixos.org/ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= spectrum-os.org-1:rnnSumz3+Dbs5uewPlwZSTP0k3g/5SRG4hD7Wbr9YuQ= diff --git a/Documentation/development.adoc b/Documentation/development.adoc index 23616a0..1f97c14 100644 --- a/Documentation/development.adoc +++ b/Documentation/development.adoc @@ -17,6 +17,7 @@ host/rootfs directory (which automatically sets up a virtio-vsock device), the running this command on the development Linux system will listen for a core file from Spectrum, and write it to a file: +[source,shell] ---- socat -u VSOCK-LISTEN:1129271877 CREATE:spectrum.core ---- diff --git a/Documentation/getting-spectrum.adoc b/Documentation/getting-spectrum.adoc index 3de25e9..fc41c3a 100644 --- a/Documentation/getting-spectrum.adoc +++ b/Documentation/getting-spectrum.adoc @@ -19,6 +19,7 @@ If you want to try Spectrum out to get a feel for it, without installing it, you can run it in a development VM with some example applications. +[source,shell] ---- git clone https://spectrum-os.org/git/spectrum git clone https://github.com/NixOS/nixpkgs @@ -33,6 +34,7 @@ still take a very long time. == Building an installer +[source,shell] ---- git clone https://spectrum-os.org/git/spectrum nix-build spectrum/img/combined \ |