cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-8814) Formatting of code blocks in CQL doc in github is a little messed up
Date Tue, 17 Feb 2015 23:54:12 GMT


Philip Thompson updated CASSANDRA-8814:
    Fix Version/s: 2.1.4

> Formatting of code blocks in CQL doc in github is a little messed up
> --------------------------------------------------------------------
>                 Key: CASSANDRA-8814
>                 URL:
>             Project: Cassandra
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Jack Krupansky
>            Priority: Minor
>             Fix For: 3.0, 2.0.13, 2.1.4
> Although the html version of the CQL doc on the website looks fine, the textile conversion
of the source files in github looks a little messed up. In particular, the "p." paragraph
directives that terminate "bc.." block code directives are not properly recognized and then
the following text gets subsumed into the code block. The directives look fine, as per my
read of the textile doc, but it appears that the textile converter used by github requires
that there be a blank line before the "p." directive to end the code block. It also requires
a space after the dot for "p. ".
> If you go to the github pages for the CQL doc for trunk, 2.1, and 2.0, you will see stray
"p." directives as well as "\_\_Sample\_\_" text in the code blocks, but only where the syntax
code block was multiple lines. This is not a problem where the "bc." directive is used with
a single dot for a single line, as opposed to the "bc.." directive used with a double dot
for a block of lines. Or in the case of the CREATE KEYSPACE section you see all of the notes
crammed into what should be the "Sample" box.
> See:
> This problem ("p." not recognized to terminate a code block unless followed by a space
and preceded by a blank line) actually occurs for the interactive textile formatter as well:

This message was sent by Atlassian JIRA

View raw message