Fix typos (#4109)
This commit is contained in:
parent
e0c1b869a6
commit
01bee60cd1
|
|
@ -1786,7 +1786,7 @@ class Installer:
|
||||||
for plugin in plugins.values():
|
for plugin in plugins.values():
|
||||||
if hasattr(plugin, 'on_add_bootloader'):
|
if hasattr(plugin, 'on_add_bootloader'):
|
||||||
# Allow plugins to override the boot-loader handling.
|
# Allow plugins to override the boot-loader handling.
|
||||||
# This allows for bot configuring and installing bootloaders.
|
# This allows for boot configuring and installing bootloaders.
|
||||||
if plugin.on_add_bootloader(self):
|
if plugin.on_add_bootloader(self):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class FormattedOutput:
|
||||||
capitalize: bool = False,
|
capitalize: bool = False,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""variant of as_table (subtly different code) which has two additional parameters
|
"""variant of as_table (subtly different code) which has two additional parameters
|
||||||
filter which is a list of fields which will be shon
|
filter which is a list of fields which will be shown
|
||||||
class_formatter a special method to format the outgoing data
|
class_formatter a special method to format the outgoing data
|
||||||
|
|
||||||
A general comment, the format selected for the output (a string where every data record is separated by newline)
|
A general comment, the format selected for the output (a string where every data record is separated by newline)
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ We begin by creating "`scripts`_:code:`/test_installer.py`". The placement here
|
||||||
This script can now already be called using :code:`python -m archinstall --script test_installer` after a successful installation of the library itself.
|
This script can now already be called using :code:`python -m archinstall --script test_installer` after a successful installation of the library itself.
|
||||||
But the script won't do much. So we'll do something simple like list all the hard drives as an example.
|
But the script won't do much. So we'll do something simple like list all the hard drives as an example.
|
||||||
|
|
||||||
To do this, we'll begin by importing :code:`archinstall` in our "`scripts`_:code:`/test_installer.py`" and call a function whtin ``archinstall``.
|
To do this, we'll begin by importing :code:`archinstall` in our "`scripts`_:code:`/test_installer.py`" and call a function within ``archinstall``.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
archinstall Documentation
|
archinstall Documentation
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
**archinstall** is library which can be used to install Arch Linux.
|
**archinstall** is a library which can be used to install Arch Linux.
|
||||||
The library comes packaged with different pre-configured installers, such as the default :ref:`guided` installer.
|
The library comes packaged with different pre-configured installers, such as the default :ref:`guided` installer.
|
||||||
|
|
||||||
Some of the features of Archinstall are:
|
Some of the features of Archinstall are:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue