Permalink
Browse files

Fixed link to Travis-CI to pugjs/pug (#2428)

  • Loading branch information...
1 parent 0483b76 commit c0e7a8c54cbd28b5daea8ff94ae1c5cf759e8d9a @OrlSan OrlSan committed with TimothyGu Aug 22, 2016
Showing with 42 additions and 42 deletions.
  1. +1 −1 1.11.0/api/index.html
  2. +1 −1 1.11.0/command-line/index.html
  3. +1 −1 1.11.0/index.html
  4. +1 −1 1.11.0/reference/attributes/index.html
  5. +1 −1 1.11.0/reference/case/index.html
  6. +1 −1 1.11.0/reference/code/index.html
  7. +1 −1 1.11.0/reference/comments/index.html
  8. +1 −1 1.11.0/reference/conditionals/index.html
  9. +1 −1 1.11.0/reference/doctype/index.html
  10. +1 −1 1.11.0/reference/extends/index.html
  11. +1 −1 1.11.0/reference/filters/index.html
  12. +1 −1 1.11.0/reference/includes/index.html
  13. +1 −1 1.11.0/reference/index.html
  14. +1 −1 1.11.0/reference/inheritance/index.html
  15. +1 −1 1.11.0/reference/interpolation/index.html
  16. +1 −1 1.11.0/reference/iteration/index.html
  17. +1 −1 1.11.0/reference/mixins/index.html
  18. +1 −1 1.11.0/reference/plain-text/index.html
  19. +1 −1 1.11.0/reference/tags/index.html
  20. +2 −2 api/index.html
  21. +2 −2 command-line/index.html
  22. +2 −2 index.html
  23. +1 −1 reference/attributes/index.html
  24. +1 −1 reference/case/index.html
  25. +1 −1 reference/code/index.html
  26. +1 −1 reference/comments/index.html
  27. +1 −1 reference/conditionals/index.html
  28. +1 −1 reference/doctype/index.html
  29. +1 −1 reference/extends/index.html
  30. +1 −1 reference/filters/index.html
  31. +1 −1 reference/includes/index.html
  32. +2 −2 reference/index.html
  33. +1 −1 reference/inheritance/index.html
  34. +1 −1 reference/interpolation/index.html
  35. +1 −1 reference/iteration/index.html
  36. +1 −1 reference/mixins/index.html
  37. +1 −1 reference/plain-text/index.html
  38. +1 −1 reference/tags/index.html
View
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="active"><a href="/1.11.0/api">API</a></li><li class="false"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://travis-ci.org/jadejs/jade">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><h1>API Documentation</h1><p>This page details how to render jade using the JavaScript API in node.js</p><h2>Installation</h2><p>via npm:</p><pre><code>npm install jade</code></pre><h2>Usage</h2><h3>options</h3><p>All API methods take the following set of options:</p><div class="code"><div>{</div><dl class="parameter-list"><dt>filename:</dt><dd class="type string">string</dd><dd class="description">Used in exceptions, and required for relative includes and extends</dd><dt>doctype:</dt><dd class="type string">string</dd><dd class="description">If the doctype is not specified as part of the template, you can specify it here. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes.</dd><dt>pretty:</dt><dd class="type">boolean | string</dd><dd class="description">Adds whitespace to the resulting html to make it easier for a human to read using <code>'&nbsp;&nbsp;'</code> as indentation. If a string is specified, that will be used as indentation instead (e.g. <code>'\t'</code>).</dd><dt>self:</dt><dd class="type boolean">boolean</dd><dd class="description">Use a <code>self</code> namespace to hold the locals (false by default)</dd><dt>debug:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, the tokens and function body is logged to stdout</dd><dt>compileDebug:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, the function source will be included in the compiled template for better error messages (sometimes useful in development). It is enabled by default unless used with express in production mode.</dd><dt>cache:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, compiled functions are cached. <code>filename</code> must be set as the cache key.</dd><dt>compiler:</dt><dd class="type function">class</dd><dd class="description">Override the default compiler</dd><dt>parser:</dt><dd class="type function">class</dd><dd class="description">Override the default parser</dd><dt>globals:</dt><dd class="type array">Array.&lt;string&gt;</dd><dd class="description">Add a list of global names to make accessible in templates</dd></dl><div>}</div></div><h3>jade.compile(source, options)</h3><p>Compile some jade source to a function which can be rendered multiple times with different locals.</p><dl class="parameter-list"><dt>source</dt><dd class="type string">string</dd><dd class="description">The source jade to compile</dd><dt>options</dt><dd class="type object">options</dd><dd class="description">An options object (see above)</dd></dl><dl class="returns"><dt>returns</dt><dd class="type function">function</dd><dd class="description">A function to generate the html from an object containing locals</dd></dl><pre data-control="input-js" class="cm-s-default"><code><span class="cm-keyword">var</span> <span class="cm-variable">jade</span> <span class="cm-operator">=</span> <span class="cm-variable">require</span>(<span class="cm-string">&#39;jade&#39;</span>);
+<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="active"><a href="/1.11.0/api">API</a></li><li class="false"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://https://travis-ci.org/pugjs/pug">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><h1>API Documentation</h1><p>This page details how to render jade using the JavaScript API in node.js</p><h2>Installation</h2><p>via npm:</p><pre><code>npm install jade</code></pre><h2>Usage</h2><h3>options</h3><p>All API methods take the following set of options:</p><div class="code"><div>{</div><dl class="parameter-list"><dt>filename:</dt><dd class="type string">string</dd><dd class="description">Used in exceptions, and required for relative includes and extends</dd><dt>doctype:</dt><dd class="type string">string</dd><dd class="description">If the doctype is not specified as part of the template, you can specify it here. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes.</dd><dt>pretty:</dt><dd class="type">boolean | string</dd><dd class="description">Adds whitespace to the resulting html to make it easier for a human to read using <code>'&nbsp;&nbsp;'</code> as indentation. If a string is specified, that will be used as indentation instead (e.g. <code>'\t'</code>).</dd><dt>self:</dt><dd class="type boolean">boolean</dd><dd class="description">Use a <code>self</code> namespace to hold the locals (false by default)</dd><dt>debug:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, the tokens and function body is logged to stdout</dd><dt>compileDebug:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, the function source will be included in the compiled template for better error messages (sometimes useful in development). It is enabled by default unless used with express in production mode.</dd><dt>cache:</dt><dd class="type boolean">boolean</dd><dd class="description">If set to true, compiled functions are cached. <code>filename</code> must be set as the cache key.</dd><dt>compiler:</dt><dd class="type function">class</dd><dd class="description">Override the default compiler</dd><dt>parser:</dt><dd class="type function">class</dd><dd class="description">Override the default parser</dd><dt>globals:</dt><dd class="type array">Array.&lt;string&gt;</dd><dd class="description">Add a list of global names to make accessible in templates</dd></dl><div>}</div></div><h3>jade.compile(source, options)</h3><p>Compile some jade source to a function which can be rendered multiple times with different locals.</p><dl class="parameter-list"><dt>source</dt><dd class="type string">string</dd><dd class="description">The source jade to compile</dd><dt>options</dt><dd class="type object">options</dd><dd class="description">An options object (see above)</dd></dl><dl class="returns"><dt>returns</dt><dd class="type function">function</dd><dd class="description">A function to generate the html from an object containing locals</dd></dl><pre data-control="input-js" class="cm-s-default"><code><span class="cm-keyword">var</span> <span class="cm-variable">jade</span> <span class="cm-operator">=</span> <span class="cm-variable">require</span>(<span class="cm-string">&#39;jade&#39;</span>);
<span class="cm-comment">// Compile a function</span>
<span class="cm-keyword">var</span> <span class="cm-variable">fn</span> <span class="cm-operator">=</span> <span class="cm-variable">jade</span>.<span class="cm-property">compile</span>(<span class="cm-string">&#39;string of jade&#39;</span>, <span class="cm-variable">options</span>);
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="false"><a href="/1.11.0/api">API</a></li><li class="active"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://travis-ci.org/jadejs/jade">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><div class="container"><div id="body"><h1 id="command-line">Command Line</h1>
+<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="false"><a href="/1.11.0/api">API</a></li><li class="active"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://https://travis-ci.org/pugjs/pug">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><div class="container"><div id="body"><h1 id="command-line">Command Line</h1>
<h2 id="installation">Installation</h2>
<p>via npm:</p>
<pre><code>$ npm install jade --global
View
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="false"><a href="/1.11.0/api">API</a></li><li class="false"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://travis-ci.org/jadejs/jade">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><div data-control="interactive" class="row"><div class="col-md-6"><pre data-control="input-jade" class="cm-s-default"><code><span class="cm-meta">doctype html</span>
+<!DOCTYPE html><html><head><meta charset="utf-8"><title>Jade - Template Engine</title><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style/bundle.css"></head><body></body><body><div id="wrap"><div id="content"><div class="logo-container"><a href="/1.11.0/"><img src="/style/jade-logo-header.svg" alt="Jade - Node Template Engine"></a></div><div class="navbar navbar-default navbar-static-top"><div class="container"><div class="navbar-header visible-sm visible-xs"><button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/1.11.0/" class="navbar-brand">JADE</a></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><li class="false"><a href="/1.11.0/reference">Language Reference</a></li><li class="false"><a href="/1.11.0/api">API</a></li><li class="false"><a href="/1.11.0/command-line">Command Line</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="false"><a href="/history">Change Log</a></li><li><a href="https://coveralls.io/r/jadejs/jade?branch=master">Code Coverage</a></li><li><a href="https://https://travis-ci.org/pugjs/pug">Test Results</a></li><li><a href="https://github.com/jadejs/jade">GitHub Repository</a></li></ul></div></div></div><div class="container"><div data-control="interactive" class="row"><div class="col-md-6"><pre data-control="input-jade" class="cm-s-default"><code><span class="cm-meta">doctype html</span>
<span class="cm-tag">html</span><span class="cm-punctuation">(</span><span class="cm-attribute">lang</span>=<span class="cm-string">&quot;en&quot;</span><span class="cm-punctuation">)</span>
<span class="cm-indent"> </span><span class="cm-tag">head</span>
<span class="cm-indent"> </span><span class="cm-tag">title</span><span class="cm-punctuation">=</span> <span class="cm-variable">pageTitle</span>
Oops, something went wrong.

0 comments on commit c0e7a8c

Please sign in to comment.