Merge lp:~marcoceppi/juju-core/fix-css-prettyprint into lp:juju-core/docs

Proposed by Marco Ceppi
Status: Merged
Approved by: Nick Veitch
Approved revision: no longer in the source branch.
Merge reported by: Nick Veitch
Merged at revision: not available
Proposed branch: lp:~marcoceppi/juju-core/fix-css-prettyprint
Merge into: lp:juju-core/docs
Diff against target: 24 lines (+5/-1)
2 files modified
htmldocs/authors-charm-writing.html (+1/-1)
htmldocs/css/main.css (+4/-0)
To merge this branch: bzr merge lp:~marcoceppi/juju-core/fix-css-prettyprint
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+183220@code.launchpad.net

Description of the change

Fix lang-yaml to not hightlight capitalized letters

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'htmldocs/authors-charm-writing.html'
2--- htmldocs/authors-charm-writing.html 2013-08-22 13:55:23 +0000
3+++ htmldocs/authors-charm-writing.html 2013-08-30 15:38:54 +0000
4@@ -104,7 +104,7 @@
5 <h2>Make some metadata.yaml</h2>
6 <p>The <strong>metadata.yaml</strong> file is really important. This is the file that Juju reads to find out what a charm is, what it does and what it needs to do it.</p>
7 <p>The yaml syntax is at once simple, but exact, so if you have any future problems with Juju not recognising your charm, this is the first port of call! the information is stored in simple <span class="pre">&LT;key&GT; : &LT;value&GT;</span> associations. The first four are pretty self explanitory:</p>
8- <pre class="prettyprint lang-basic">
9+ <pre class="prettyprint lang-yaml">
10 name: vanilla
11 summary: Vanilla is an open-source, pluggable, multi-lingual forum.
12 maintainer: Your Name &lt;your@email.tld&gt;
13
14=== modified file 'htmldocs/css/main.css'
15--- htmldocs/css/main.css 2013-08-22 13:48:21 +0000
16+++ htmldocs/css/main.css 2013-08-30 15:38:54 +0000
17@@ -429,3 +429,7 @@
18 position: relative;
19 z-index: 1;
20 }
21+
22+pre.lang-yaml .typ, pre.lang-yaml .kwd {
23+ color: #fff;
24+}

Subscribers

People subscribed via source and target branches