Bug 1092351
Summary: | RFE: code switchery for brand | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Joshua Wulf <jwulf> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Deepti Navale <dnavale> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | future | CC: | aigao, ddomingo, lcarlon, rlandman |
Target Milestone: | 4.2 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.2.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-01 03:40:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joshua Wulf
2014-04-29 07:05:54 UTC
Do we have an example of a book with multi language examples like this? http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_MRG/3/html/Messaging_Programming_Reference/index.html content spec id: 8025 I'd like to go for a simpler structure in the XML. e.g. <informalexample role="switchery"> <programlisting langauge="Perl"> ... some perl code </programlisting> <programlisting langauge="C++"> ... some C++ code </programlisting> <programlisting langauge="Java"> ... some Java code </programlisting> </informalexample> Added code language switch, including cookie to set default language. Example at: http://jfearn.fedorapeople.org/HTML5_Test/html/pref-Publican-Users_Guide-Introduction.html To ssh://git.fedorahosted.org/git/publican.git 1e53c5e..6652bcf devel -> devel Tested https://bugzilla.redhat.com/show_bug.cgi?id=1092351#c3 sample on common-db5 brand. The generated example shows a tabbed code box where users can switch between the languages: http://file.bne.redhat.com/~ddomingo/tests/bz1092351/ Setting as VERIFIED. A fix for this shipped in Publican 4.2.0. |