From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E79042D12; Wed, 21 Jun 2023 11:57:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D8E642C54; Wed, 21 Jun 2023 11:57:47 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 2631142C54 for ; Wed, 21 Jun 2023 11:57:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687341465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xBv0hO06IHPOQPY/c89sUANXDusKs84FiMzQ2GJBiR8=; b=H16KhWUUHFKnF47S0YrOxnk5z0fEdJHV2NQXssBvQEVSpTHq0M3IBHMMJiHOzHfPddR7NR xg5It/QUKqJeGlDMdDoDayu0YKtAjtnSemvLVsWKsLtc7ABS3QSNAJMsgXUiAAsF58M33G zcAUO2FwSzaa04i20E47UPbL8lv0Ep0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-624-9cJtbBWGMme0ZIls8v6EjA-1; Wed, 21 Jun 2023 05:57:40 -0400 X-MC-Unique: 9cJtbBWGMme0ZIls8v6EjA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CFFF8803470; Wed, 21 Jun 2023 09:57:39 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id A19A31131F; Wed, 21 Jun 2023 09:57:38 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, stable@dpdk.org, Ajit Khaparde , Somnath Kotur , Kalesh AP Subject: [PATCH] doc: fix link to net/bnxt flow capabilities Date: Wed, 21 Jun 2023 11:57:36 +0200 Message-Id: <20230621095736.1626037-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Having an explicit link to the main repository documentation breaks other repositories documentation (like for LTS releases). Besides, the tables numerotation may change so add an explicit anchor to those tables and refer to them. Fixes: b845c295cd13 ("doc: update Broadcom bnxt guide") Cc: stable@dpdk.org Signed-off-by: David Marchand --- doc/guides/conf.py | 1 + doc/guides/nics/bnxt.rst | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index a55ce38800..0f7ff5282d 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -203,6 +203,7 @@ def generate_overview_table(output_filename, table_id, section, table_name, titl num_cols = len(header_names) print_table_css(outfile, table_id) + print('.. _' + table_name + ':', file=outfile) print('.. table:: ' + table_name + '\n', file=outfile) print_table_header(outfile, num_cols, header_names, title) print_table_body(outfile, num_cols, ini_files, ini_data, default_features) diff --git a/doc/guides/nics/bnxt.rst b/doc/guides/nics/bnxt.rst index 0b09b0c50a..871d14142c 100644 --- a/doc/guides/nics/bnxt.rst +++ b/doc/guides/nics/bnxt.rst @@ -1019,8 +1019,7 @@ Listed below are the rte_flow functions supported: rte_flow Items ~~~~~~~~~~~~~~ -Refer to "Table 1.2 rte_flow items availability in networking drivers" in -`Overview of Networking Drivers `. +Refer to :ref:`rte_flow items availability in networking drivers`. Listed below are the rte_flow items supported: @@ -1045,8 +1044,7 @@ Listed below are the rte_flow items supported: rte_flow Actions ~~~~~~~~~~~~~~~~ -Refer to "Table 1.3 rte_flow actions availability in networking drivers" in -`Overview of Networking Drivers `. +Refer to :ref:`rte_flow actions availability in networking drivers`. Listed below are the rte_flow actions supported: -- 2.40.1