java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

manual: correct the codeblock directive

Open tchaikov opened this issue 1 year ago • 2 comments

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.

tchaikov avatar Jul 12 '24 01:07 tchaikov

@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?

tchaikov avatar Nov 13 '24 09:11 tchaikov

@absurdfarce hi Bret, could you please take a look?

tchaikov avatar Apr 01 '25 03:04 tchaikov

@absurdfarce LGTM

bschoening avatar Aug 13 '25 19:08 bschoening

Apologies all.... too many balls in the air :(

Agreed on all counts... nice catch @tchaikov!

absurdfarce avatar Aug 13 '25 20:08 absurdfarce