Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manual: correct the codeblock directive #1940

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

tchaikov
Copy link

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.

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]>
Copy link
Contributor

@tolbertam tolbertam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍, good catch and thank you!

@tchaikov
Copy link
Author

@tolbertam hi Andrew, thank you for your approval. but i don't have the write permission to this repo. and the CI failures do not look like related. is there anything else i can do to get this change merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants