This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new fcf819d7ed Fix deprecated set_class for documentation build (#9886)
fcf819d7ed is described below

commit fcf819d7ed45dea8529148fc757cb657529a2f21
Author: Jean Baptiste Favre <[email protected]>
AuthorDate: Tue Jun 27 01:49:16 2023 +0200

    Fix deprecated set_class for documentation build (#9886)
    
    Co-authored-by: Jean Baptiste Favre <[email protected]>
    (cherry picked from commit c374e0eb799d475ecb75901ef41e5d80c46a3294)
---
 doc/developer-guide/documentation/adding-domains.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/developer-guide/documentation/adding-domains.en.rst 
b/doc/developer-guide/documentation/adding-domains.en.rst
index 16afe6c4d3..cd3c5571be 100644
--- a/doc/developer-guide/documentation/adding-domains.en.rst
+++ b/doc/developer-guide/documentation/adding-domains.en.rst
@@ -209,7 +209,7 @@ Our variables domain might have the following ``run`` 
method:
         title['first'] = False
         title['objtype'] = node['objtype']
         self.add_name(title)
-        title.set_class('ts-variable-title')
+        title['classes'] = 'ts-variable-title'
 
         title += sphinx.addnodes.desc_name(var_name, var_name)
         node.append(title)

Reply via email to