[PATCH 2/5] docs: Update link to the php bindings project webpage

Peter Krempa pkrempa at redhat.com
Wed Mar 15 12:58:20 UTC 2023


The page for the libvirt-php project is now hosted via gitlab pages and
available at https://php.libvirt.org/

Additionally drop the docs/php.rst(html) page which has only redundant
information.

Redirects will be set up to make sure old links still work.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/bindings.rst  |  4 ++--
 docs/docs.rst      |  2 +-
 docs/downloads.rst |  2 +-
 docs/meson.build   |  1 -
 docs/php.rst       | 23 -----------------------
 docs/testapi.rst   |  2 +-
 6 files changed, 5 insertions(+), 29 deletions(-)
 delete mode 100644 docs/php.rst

diff --git a/docs/bindings.rst b/docs/bindings.rst
index 522d443d50..1a96b9e56a 100644
--- a/docs/bindings.rst
+++ b/docs/bindings.rst
@@ -21,7 +21,7 @@ other languages:
    bindings <https://search.cpan.org/dist/Sys-Virt/>`__.

 -  **PHP**: Radek Hladik started developing `PHP
-   bindings <https://libvirt.org/php>`__ in 2010.
+   bindings <https://php.libvirt.org/>`__ in 2010.

    In February 2011 the binding development has been moved to the
    libvirt.org website as libvirt-php project.
@@ -29,7 +29,7 @@ other languages:
    The project is now maintained by Michal Novotny and it's heavily
    based on Radek's version. For more information, including information
    on posting patches to libvirt-php, please refer to the `PHP
-   bindings <https://libvirt.org/php>`__ site.
+   bindings <https://php.libvirt.org/>`__ site.

 -  **Python**: Libvirt's python bindings are split to a separate
    `package <https://gitlab.com/libvirt/libvirt-python>`__ since version
diff --git a/docs/docs.rst b/docs/docs.rst
index ea14555575..daa0234fa6 100644
--- a/docs/docs.rst
+++ b/docs/docs.rst
@@ -84,7 +84,7 @@ Application development
    `ocaml <https://libvirt.org/ocaml/>`__,
    `perl <https://search.cpan.org/dist/Sys-Virt/>`__,
    `python <python.html>`__,
-   `php <php.html>`__,
+   `php <https://php.libvirt.org>`__,
    `ruby <https://libvirt.org/ruby/>`__
    and integration API modules for
    `D-Bus <dbus.html>`__
diff --git a/docs/downloads.rst b/docs/downloads.rst
index 04aaa5b4eb..c7d4237f66 100644
--- a/docs/downloads.rst
+++ b/docs/downloads.rst
@@ -78,7 +78,7 @@ Language bindings
     - `issues <https://gitlab.com/libvirt/libvirt-perl/-/issues>`__
     - `github <https://github.com/libvirt/libvirt-perl>`__
     - `api ref <https://metacpan.org/release/Sys-Virt/>`__
-      `changes <https://libvirt.org/git/?p=libvirt-perl.git;a=blob;f=Changes;hb=HEAD>`__
+      `changes <https://gitlab.com/libvirt/libvirt-perl/-/blob/master/Changes>`__

   * - PHP
     - `libvirt <https://download.libvirt.org/php/>`__
diff --git a/docs/meson.build b/docs/meson.build
index 864abf0ba5..8f84d08912 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -95,7 +95,6 @@ docs_rst_files = [
   'nss',
   'pci-addresses',
   'pci-hotplug',
-  'php',
   'platforms',
   'programming-languages',
   'python',
diff --git a/docs/php.rst b/docs/php.rst
deleted file mode 100644
index 36f7c44bed..0000000000
--- a/docs/php.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-================
-PHP API bindings
-================
-
-The libvirt-php, originally called php-libvirt, is the PHP API bindings for the
-libvirt virtualization toolkit originally developed by Radek Hladik.
-
-Getting the source
-------------------
-
-The PHP bindings code source is now maintained in a
-`git <https://git-scm.com/>`__ repository available on
-`gitlab.com <https://gitlab.com/libvirt/libvirt-php>`__:
-
-::
-
-   git clone https://gitlab.com/libvirt/libvirt-php.git
-
-Project pages
--------------
-
-Since February 2011 the project has its own pages hosted at libvirt.org. For
-more information on the project please refer to https://libvirt.org/php.
diff --git a/docs/testapi.rst b/docs/testapi.rst
index 9aa0afb761..5f02e2872f 100644
--- a/docs/testapi.rst
+++ b/docs/testapi.rst
@@ -24,7 +24,7 @@ using one or more test case to define a given test scenario.
 For more details you can look at:

 -  A `documentation
-   PDF <https://libvirt.org/sources/libvirt-test-API/Libvirt-test-API.pdf>`__
+   PDF <https://download.libvirt.org/libvirt-test-API/Libvirt-test-API.pdf>`__
    file describing the test suite and how to write test cases and test
    scenarios.

-- 
2.39.2



More information about the libvir-list mailing list