Code blocks display in italics if the first character of the line is #

Bug #1470789 reported by Meg McRoberts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Unassigned

Bug Description

In the new documentation CSS, code that is in a code block (:: section) plays out in italics if the first character in any line is #, signifying a command that requires superuser permissions. Lines that begin with $, signifying that only normal permissions are required, do not display in italics.

Revision history for this message
Meg McRoberts (dreidellhasa) wrote :
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

These code blocks should use "..code-block:: console" to proper formatting. The default is python source code.

Changed in openstack-manuals:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

To fix the bug: Adjust RST files.

Antonio Tsai (autonio-t)
Changed in openstack-manuals:
assignee: nobody → Antonio (autonio-t)
Antonio Tsai (autonio-t)
Changed in openstack-manuals:
assignee: Antonio Tsai (autonio-t) → nobody
Revision history for this message
Karen Bradshaw (kbhawkey) wrote :

It is my understanding that this is *not* a bug. As stated above, the default formatting expects python code
and a # (pound sign) indicates a code comment.
Use the 'console' argument to the ..code-block:: directive.

:: indicates literal text block.

I would consider this bug closed.

Changed in openstack-manuals:
assignee: nobody → KATO Tomoyuki (kato-tomoyuki)
status: Confirmed → In Progress
Changed in openstack-manuals:
assignee: KATO Tomoyuki (kato-tomoyuki) → venkatamahesh (venkatamaheshkotha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ha-guide (master)

Change abandoned by venkatamahesh (<email address hidden>) on branch: master
Review: https://review.openstack.org/258807

Revision history for this message
KATO Tomoyuki (kato-tomoyuki) wrote :

Already fixed.

Changed in openstack-manuals:
assignee: venkatamahesh (venkatamaheshkotha) → nobody
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.