mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-12-10 21:49:07 -05:00
Correct code-block lexers
Changing `bash` lexer to `console` because it is appropriate most of the time. Then after a manual review, some lexer have been changed. I used `text` each time I was unsure, and for prompt outputs. The page `/developer/building/qubes-iso-building.rst` still need to be reviewed (look for lines starting with `$ #`). I'm not sure about the Windows pages, should we use [doscon](https://pygments.org/docs/lexers/#pygments.lexers.shell.MSDOSSessionLexer) or `powershell`? Is there an appropriate lexer for `guid.conf` content? **Statistics - Before** 870 bash 9 python 9 c 2 yaml **Statistics - After** 684 console 111 text 44 bash 16 yaml 9 systemd 9 c 8 python 4 ini 4 doscon 2 markdown 2 desktop 1 xorg.conf 1 xml+jinja 1 xml 1 kconfig 1 html This suggests that the default lexer should be `console`.
This commit is contained in:
parent
a252dc4338
commit
4212c5eda8
98 changed files with 1022 additions and 1029 deletions
|
|
@ -15,7 +15,7 @@ Successfully installed in legacy mode, but had to change some xen parameters
|
|||
|
||||
2. Open a terminal and enter the command ``sudo su -``. Use your preferred text editor (e.g ``vi``) to edit your xen config (``EFI/BOOT/grub.cfg``):
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
vi EFI/BOOT/grub.cfg
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ Some Dell systems and probably others have `another bug in UEFI firmware <https:
|
|||
|
||||
3. Execute:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ Or if you have already rebooted after the first stage install and have encounter
|
|||
|
||||
4. Execute:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
sed -i -e 's/ucode=scan/\0 efi=attr=uc/' /mnt/sysimage/boot/efi/EFI/qubes/grub.cfg
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ Some firmware will not recognize the default Qubes EFI configuration. As such, i
|
|||
|
||||
4. Copy ``grubx64.efi`` to the fallback path:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
cp /mnt/sysimage/boot/efi/EFI/qubes/grubx64.efi /mnt/sysimage/boot/efi/EFI/BOOT/bootx64.efi
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ Some firmware will not recognize the default Qubes EFI configuration. As such, i
|
|||
|
||||
3. Create boot entry in EFI firmware (replace ``/dev/sda`` with your disk name and ``-p 1`` with ``/boot/efi`` partition number):
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
efibootmgr -v -c -u -L Qubes -l /EFI/qubes/grubx64.efi -d /dev/sda -p 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue