Add language info in doc samples

Bug #1360559 reported by Gauvain Pocentek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Gauvain Pocentek

Bug Description

The sphinx extension could provide language (yaml, json, hot) information in the code samples.

This could be used to add syntax highlighting to the docbook generated hot reference (docs BP heat-templates).

Changed in heat:
assignee: nobody → Gauvain Pocentek (gpocentek)
Changed in heat:
status: New → In Progress
Changed in heat:
importance: Undecided → Medium
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/111582
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=28231c1b188c6d9baf2ec9140662e3116ce9fa19
Submitter: Jenkins
Branch: master

commit 28231c1b188c6d9baf2ec9140662e3116ce9fa19
Author: Gauvain Pocentek <email address hidden>
Date: Sun Aug 3 16:49:10 2014 +0200

    Add language attribute to code samples

    Create the literal_block nodes with a 'language' attribute to add syntax
    highlighting in the generated documentation.

    This change is not visible in the HTML output, but is used when the
    generated XML is imported in the openstack-manuals hot-reference book
    (WIP).

    The 'hot' language is not currently supported in sphinx or in the
    manuals, but it doesn't hurt to have it and it could be implemented
    later.

    Change-Id: Ie5d4ab31665da812ccd7ec1232d3858786170477
    Implements: blueprint heat-templates
    Closes-Bug: #1360559

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-3 → 2014.2
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.