Skip to content

Commit

Permalink
manual: correct the codeblock directive
Browse files Browse the repository at this point in the history
it should start with three backticks not four of them. otherwise
sphinx warns like:

```
/home/kefu/dev/scylla-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]>
  • Loading branch information
tchaikov committed Jul 13, 2024
1 parent 04d1a58 commit 3311fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/mapper/daos/getentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3311fc8

Please sign in to comment.