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 <kefu.chai@scylladb.com>
  • Loading branch information
tchaikov authored and Bouncheck committed Jul 24, 2024
1 parent bc7ed24 commit 6d7734b
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 6d7734b

Please sign in to comment.