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

absurdfarce pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/cassandra-java-driver.git


The following commit(s) were added to refs/heads/4.x by this push:
     new f4655ec56 manual: correct the codeblock directive
f4655ec56 is described below

commit f4655ec56f15cdcc984298019badbc9ef92f2cc4
Author: Kefu Chai <[email protected]>
AuthorDate: Fri Jul 12 09:37:06 2024 +0800

    manual: correct the codeblock directive
    
    it should start with three backticks not four of them. otherwise
    sphinx warns like:
    
    ```
    
/home/kefu/dev/cassandra-java-driver/docs/_source/manual/mapper/daos/getentity/index.md:111:
 WARNING: Lexing literal_block '@GetEntity\nProduct asProduct(Row 
row);\n\n@GetEntity\nProduct firstR
    owAsProduct(ResultSet resultSet);\n```\n\n' as "java" resulted in an error 
at token: '`'. Retrying in relaxed mode.
    ```
    
    in this change, let's use three backticks. and the warning disappears.
    
    Signed-off-by: Kefu Chai <[email protected]>
---
 manual/mapper/daos/getentity/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manual/mapper/daos/getentity/README.md 
b/manual/mapper/daos/getentity/README.md
index abb7cb076..de9a530b5 100644
--- a/manual/mapper/daos/getentity/README.md
+++ b/manual/mapper/daos/getentity/README.md
@@ -108,7 +108,7 @@ The method can return:
 * a single entity instance. If the argument is a result set type, the 
generated code will extract
   the first row and convert it, or return `null` if the result set is empty.
 
-    ````java
+    ```java
     @GetEntity
     Product asProduct(Row row);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to