eBPF-based security platform
docs: make macOS worktree setup expandable
Andrea Lattuada727d68272de2
diff --git a/Documentation/_themes/shirudo/static/shirudo.css b/Documentation/_themes/shirudo/static/shirudo.cssindex 55225e33..090b4498 100644--- a/Documentation/_themes/shirudo/static/shirudo.css+++ b/Documentation/_themes/shirudo/static/shirudo.css@@ -196,6 +196,9 @@ h4:hover > a.headerlink, a.headerlink:focus-visible { visibility: visible; }.body dl dt { font-weight: 600; }.body dl dd { margin: 0 0 .8em 1.4em; }.body blockquote { margin: 0 0 1em; padding-left: 1em; border-left: 2px solid var(--line); color: var(--muted); }+.body details { margin: 0 0 1em; }+.body details > summary { padding: .25em 0; cursor: pointer; }+.body details[open] > summary { margin-bottom: .5em; }/* code */div.highlight { position: relative; margin: 10px 0 18px; background: var(--code-bg); border-radius: 8px; }diff --git a/Documentation/start/quickstart-macos.rst b/Documentation/start/quickstart-macos.rstindex d49289dd..c9aa988c 100644--- a/Documentation/start/quickstart-macos.rst+++ b/Documentation/start/quickstart-macos.rst@@ -52,9 +52,13 @@ Create the VM$ limactl start --name=shirudo-dev --param checkout="$PWD" infra/lima/shirudo.yaml- A git worktree keeps its repository outside the checkout, and the- build asks git which files to copy into its container. Share the- repository too:+ .. raw:: html++ <details>+ <summary>Using a Git worktree</summary>++ If you're using a Git worktree, run the command below to share the+ repository too... code-block:: console@@ -62,6 +66,10 @@ Create the VM--mount="$(git rev-parse --path-format=absolute --git-common-dir)" \infra/lima/shirudo.yaml+ .. raw:: html++ </details>+The VM takes 8 GiB of memory and Lima's default of at most 4 CPUs.Add ``--cpus=<count>`` to give the VM more CPUs.@@ -82,9 +90,9 @@ Create the VM.. code-block:: console- operator$ test -r /dev/kvm && test -w /dev/kvm && echo kvm ok+ $ test -r /dev/kvm && test -w /dev/kvm && echo kvm okkvm ok- operator$ ulimit -l+ $ ulimit -lunlimitedContinue with the quickstart