doc: fix build with Sphinx 4
authorThomas Monjalon <thomas@monjalon.net>
Mon, 10 May 2021 20:45:37 +0000 (22:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 11 May 2021 21:01:06 +0000 (23:01 +0200)
commit86ff0663639417f9d25907d09343a5c231e32a51
treebd4a91f50ced79120ebd3a6d80d60a3b923dff2c
parent1657e1f871a68b420e216fc15092d0e40b7e41fa
doc: fix build with Sphinx 4

Sphinx 4.0 became stricter with permalink configuration:
"
html_add_permalinks has been deprecated since v3.5.0.
Please use html_permalinks and html_permalinks_icon instead.
"

The new variable is used while keeping compatibility
with older Sphinx versions.

Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
doc/guides/conf.py