docs: Move all images to a subdirectory

This unclutters the top-level docs directory.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2021-12-21 12:11:25 +01:00
parent 19cc4e0eb8
commit 630f376bc0
31 changed files with 37 additions and 24 deletions

View File

@ -260,6 +260,6 @@ rules and guidelines. In order to add new API functionality follow the
instructions regarding `implementing a new API in instructions regarding `implementing a new API in
libvirt <api_extension.html>`__. libvirt <api_extension.html>`__.
.. |first class objects exposed by the API| image:: libvirt-object-model.png .. |first class objects exposed by the API| image:: images/libvirt-object-model.png
.. |The libvirt driver architecture| image:: libvirt-driver-arch.png .. |The libvirt driver architecture| image:: images/libvirt-driver-arch.png
.. |The libvirt daemon and remote architecture| image:: libvirt-daemon-arch.png .. |The libvirt daemon and remote architecture| image:: images/libvirt-daemon-arch.png

View File

@ -15,7 +15,7 @@
virtualized machine provided by the hypervisor</li> virtualized machine provided by the hypervisor</li>
</ul> </ul>
<p class="image"> <p class="image">
<img alt="Hypervisor and domains running on a node" src="node.gif"/> <img alt="Hypervisor and domains running on a node" src="images/node.gif"/>
</p> </p>
<p>Now we can define the goal of libvirt: <b> to provide a common and <p>Now we can define the goal of libvirt: <b> to provide a common and
stable layer sufficient to securely manage domains on a node, possibly stable layer sufficient to securely manage domains on a node, possibly

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

24
docs/images/meson.build Normal file
View File

@ -0,0 +1,24 @@
docs_image_files = [
'event_loop_simple.png',
'event_loop_worker.png',
'libvirt-daemon-arch.png',
'libvirt-driver-arch.png',
'libvirt-object-model.png',
'libvirt-virConnect-example.png',
'migration-managed-direct.png',
'migration-managed-p2p.png',
'migration-native.png',
'migration-tunnel.png',
'migration-unmanaged-direct.png',
'node.gif',
]
install_data(docs_image_files, install_dir: docs_html_dir / 'images')
foreach file : docs_image_files
# This hack enables us to view the web pages
# from within the uninstalled build tree
configure_file(input: file, output: file, copy: true)
install_web_files += '@0@:@1@'.format(meson.current_source_dir() / file, docs_html_dir / 'images')
endforeach

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -35,7 +35,7 @@
<p class="image"> <p class="image">
<img alt="virConnectOpen calling sequence" <img alt="virConnectOpen calling sequence"
src="libvirt-virConnect-example.png"/> src="images/libvirt-virConnect-example.png"/>
</p> </p>
<ul> <ul>
<li>"virsh -c qemu:///system list --all" <li>"virsh -c qemu:///system list --all"

View File

@ -29,7 +29,7 @@
not waiting for direct user input and have no graphical not waiting for direct user input and have no graphical
interface. Such as Libvirt.</p> interface. Such as Libvirt.</p>
<img alt="event loop" src="../event_loop_simple.png"/> <img alt="event loop" src="../images/event_loop_simple.png"/>
<p>In Libvirt this approach is used in combination with <p>In Libvirt this approach is used in combination with
<code>poll(2)</code> as all the communication with its <code>poll(2)</code> as all the communication with its
@ -70,7 +70,7 @@
acceptable for Libvirt. Therefore we have came up with the acceptable for Libvirt. Therefore we have came up with the
following solution.</p> following solution.</p>
<img alt="event loop" src="../event_loop_worker.png"/> <img alt="event loop" src="../images/event_loop_worker.png"/>
<p>The event loop does only necessary minimum and hand over <p>The event loop does only necessary minimum and hand over
message processing to another thread. In fact, there can be message processing to another thread. In fact, there can be

View File

@ -10,27 +10,15 @@ docs_assets = [
'android-chrome-256x256.png', 'android-chrome-256x256.png',
'apple-touch-icon.png', 'apple-touch-icon.png',
'browserconfig.xml', 'browserconfig.xml',
'event_loop_simple.png',
'event_loop_worker.png',
'favicon.ico', 'favicon.ico',
'favicon-16x16.png', 'favicon-16x16.png',
'favicon-32x32.png', 'favicon-32x32.png',
'generic.css', 'generic.css',
'libvirt.css', 'libvirt.css',
'libvirt-daemon-arch.png',
'libvirt-driver-arch.png',
'libvirt-object-model.png',
'libvirt-virConnect-example.png',
'main.css', 'main.css',
'manifest.json', 'manifest.json',
'migration-managed-direct.png',
'migration-managed-p2p.png',
'migration-native.png',
'migration-tunnel.png',
'migration-unmanaged-direct.png',
'mobile.css', 'mobile.css',
'mstile-150x150.png', 'mstile-150x150.png',
'node.gif',
] ]
docs_html_in_files = [ docs_html_in_files = [
@ -303,6 +291,7 @@ html_xslt_gen = []
subdir('fonts') subdir('fonts')
subdir('go') subdir('go')
subdir('html') subdir('html')
subdir('images')
subdir('internals') subdir('internals')
subdir('js') subdir('js')
subdir('kbase') subdir('kbase')

View File

@ -478,13 +478,13 @@ guest doing a lot of I/O to a local fast storage the
synchronously written to the destination. This may harm I/O performance during synchronously written to the destination. This may harm I/O performance during
the migration. the migration.
.. |Migration native path| image:: migration-native.png .. |Migration native path| image:: images/migration-native.png
:class: diagram :class: diagram
.. |Migration tunnel path| image:: migration-tunnel.png .. |Migration tunnel path| image:: images/migration-tunnel.png
:class: diagram :class: diagram
.. |Migration direct, managed| image:: migration-managed-direct.png .. |Migration direct, managed| image:: images/migration-managed-direct.png
:class: diagram :class: diagram
.. |Migration peer-to-peer| image:: migration-managed-p2p.png .. |Migration peer-to-peer| image:: images/migration-managed-p2p.png
:class: diagram :class: diagram
.. |Migration direct, unmanaged| image:: migration-unmanaged-direct.png .. |Migration direct, unmanaged| image:: images/migration-unmanaged-direct.png
:class: diagram :class: diagram