mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 21:47:22 +00:00
Documentation: add 'make' to GSG and expand PATH for sphinx-build
Getting Started Guide: add one more bundle to be added on a Clear Linux development machine to make sure 'make' and other development packages are available. ACRN Documentation Generation: expand the 'PATH' variable to include '~/.local/bin' where 'sphinx-build' is installed. Tracked-On: #1650 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
4b3b11552d
commit
469496311c
@ -416,14 +416,12 @@ each with their own way to install development tools:
|
|||||||
ACRN uses ``menuconfig``, a python3 text-based user interface (TUI) for
|
ACRN uses ``menuconfig``, a python3 text-based user interface (TUI) for
|
||||||
configuring hypervisor options and using python's ``kconfiglib`` library.
|
configuring hypervisor options and using python's ``kconfiglib`` library.
|
||||||
|
|
||||||
* On a Clear Linux development system, install the ``os-clr-on-clr`` bundle to get
|
* On a Clear Linux development system, install the necessary tools:
|
||||||
the necessary tools:
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
$ sudo swupd bundle-add os-clr-on-clr
|
$ sudo swupd bundle-add os-clr-on-clr os-core-dev python3-basic
|
||||||
$ sudo swupd bundle-add python3-basic
|
$ pip3 install --user kconfiglib
|
||||||
$ sudo pip3 install kconfiglib
|
|
||||||
|
|
||||||
* On a Ubuntu/Debian development system:
|
* On a Ubuntu/Debian development system:
|
||||||
|
|
||||||
|
@ -137,6 +137,9 @@ Our documentation processing has been tested to run with:
|
|||||||
|
|
||||||
Depending on your Linux version, install the needed tools:
|
Depending on your Linux version, install the needed tools:
|
||||||
|
|
||||||
|
* For Clear Linux: follow the :ref:`getting-started-apl-nuc` to install
|
||||||
|
all the tools required
|
||||||
|
|
||||||
* For Ubuntu use:
|
* For Ubuntu use:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -150,7 +153,7 @@ Depending on your Linux version, install the needed tools:
|
|||||||
|
|
||||||
sudo dnf install doxygen python3-pip python3-wheel make graphviz
|
sudo dnf install doxygen python3-pip python3-wheel make graphviz
|
||||||
|
|
||||||
And for either Linux environment, install the remaining python-based
|
And for any of these Linux environments, install the remaining python-based
|
||||||
tools:
|
tools:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -158,6 +161,19 @@ tools:
|
|||||||
cd ~/projectacrn/acrn-hypervisor/doc
|
cd ~/projectacrn/acrn-hypervisor/doc
|
||||||
pip3 install --user -r scripts/requirements.txt
|
pip3 install --user -r scripts/requirements.txt
|
||||||
|
|
||||||
|
Add ``$HOME/.local/bin`` to the front of your ``PATH`` so the system will
|
||||||
|
find expected versions of python utilities such as ``sphinx-build`` and
|
||||||
|
``breathe``:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
printf "\nexport PATH=\$HOME/.local/bin:\$PATH" >> ~/.bashrc
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
You will need to open a new terminal for this change to be effective.
|
||||||
|
Adding this to your ``~/.bashrc`` file ensures it is set by default.
|
||||||
|
|
||||||
And with that you're ready to generate the documentation.
|
And with that you're ready to generate the documentation.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
Loading…
Reference in New Issue
Block a user