Skip to content

Commit

Permalink
Update pygments.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevicenzi committed Jun 24, 2018
1 parent 598e0e4 commit 65cc7b2
Show file tree
Hide file tree
Showing 158 changed files with 687 additions and 102 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install pelican markdown
before_script:
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.2.0

TODO
- Update Pygments
- Bug fixes

## 2.1.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The code is available in this project inside `docs` folder.

Translate this theme to new languages at [Transifex](https://www.transifex.com/alexandrevicenzi/flex-pelican/).

![Translations](https://github.com/alexandrevicenzi/Flex/blob/master/translation_chart.png)
![Translations](https://github.com/alexandrevicenzi/Flex/blob/master/translations/translation_chart.png)

Read more about [Translation Support](https://github.com/alexandrevicenzi/Flex/wiki/Translations).

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/archives.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h1> Archives
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/author/alexandre-vicenzi.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1> Authors
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1> Categories
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/category/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
4 changes: 4 additions & 0 deletions docs/blog/feeds/all.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ Swap: 20480 1267 19213
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;ls *.jpg &lt;span class="p"&gt;|&lt;/span&gt; xargs -n1 -i cp &lt;span class="o"&gt;{}&lt;/span&gt; /external-hard-drive/directory
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The code block looks like GitHub’s colors.&lt;/p&gt;
&lt;p&gt;You can add tables too:&lt;/p&gt;
&lt;table&gt;
Expand Down
4 changes: 4 additions & 0 deletions docs/blog/feeds/news.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ Swap: 20480 1267 19213
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;ls *.jpg &lt;span class="p"&gt;|&lt;/span&gt; xargs -n1 -i cp &lt;span class="o"&gt;{}&lt;/span&gt; /external-hard-drive/directory
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The code block looks like GitHub’s colors.&lt;/p&gt;
&lt;p&gt;You can add tables too:&lt;/p&gt;
&lt;table&gt;
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/flex-pelican-theme-update-1-1-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h1 id="flex-pelican-theme-update-1-1-1">Flex 1.1.1</h1>
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -195,7 +195,7 @@ <h1 id="flex-pelican-theme-update-1-1-1">Flex 1.1.1</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/flex-pelican-theme-update-1-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1 id="flex-pelican-theme-update-1-1">New version of Flex: The responsive Pelic
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -200,7 +200,7 @@ <h1 id="flex-pelican-theme-update-1-1">New version of Flex: The responsive Pelic
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/flex-pelican-theme-update-1-2-0.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h1 id="flex-pelican-theme-update-1-2-0">Flex 1.2.0</h1>
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -199,7 +199,7 @@ <h1 id="flex-pelican-theme-update-1-2-0">Flex 1.2.0</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/flex-pelican-theme-update-2-0.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h1 id="flex-pelican-theme-update-2-0">Flex 2.0</h1>
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -212,7 +212,7 @@ <h1 id="flex-pelican-theme-update-2-0">Flex 2.0</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/flex-pelican-theme-update-2-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h1 id="flex-pelican-theme-update-2-1">Flex 2.1</h1>
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -210,7 +210,7 @@ <h1 id="flex-pelican-theme-update-2-1">Flex 2.1</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
8 changes: 6 additions & 2 deletions docs/blog/flex-pelican-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ <h1 id="flex-pelican-theme">Flex: Responsive Pelican theme</h1>
</pre></div>


<div class="highlight"><pre><span></span>ls *.jpg <span class="p">|</span> xargs -n1 -i cp <span class="o">{}</span> /external-hard-drive/directory
</pre></div>


<p><strong>Note:</strong> The code block looks like GitHub’s colors.</p>
<p>You can add tables too:</p>
<table>
Expand Down Expand Up @@ -233,7 +237,7 @@ <h6>This is heading 6</h6>
</div>


<div class="addthis_relatedposts_inline">
<div class="addthis_relatedposts_inline"></div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
Expand Down Expand Up @@ -272,7 +276,7 @@ <h6>This is heading 6</h6>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1 id="about">About</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/pages/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1 id="contact">Contact</h1>
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
3 changes: 0 additions & 3 deletions docs/blog/static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
.highlight {
color: #f8f8f2;
}
2 changes: 1 addition & 1 deletion docs/blog/tag/pelican.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/tag/python.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/tag/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2><a href="http://flex.alxd.me/blog/flex-pelican-theme.html#flex-pelican-theme
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h1> Tags
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
Expand Down
Binary file added docs/blog/theme/img/cc/by-nc-nd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/blog/theme/img/cc/by-nc-sa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/blog/theme/img/cc/by-nc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/blog/theme/img/cc/by-nd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/blog/theme/img/cc/by-sa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/blog/theme/img/cc/by.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions docs/blog/theme/pygments/abap.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.highlight { background-color: #ffffcc }
.c { color: #888888; font-style: italic } /* Comment */
.err { color: #FF0000 } /* Error */
.k { color: #0000ff } /* Keyword */
.n { color: #000000 } /* Name */
.ch { color: #888888; font-style: italic } /* Comment.Hashbang */
.cm { color: #888888; font-style: italic } /* Comment.Multiline */
.cp { color: #888888; font-style: italic } /* Comment.Preproc */
.cpf { color: #888888; font-style: italic } /* Comment.PreprocFile */
.c1 { color: #888888; font-style: italic } /* Comment.Single */
.cs { color: #888888; font-style: italic } /* Comment.Special */
.kc { color: #0000ff } /* Keyword.Constant */
.kd { color: #0000ff } /* Keyword.Declaration */
.kn { color: #0000ff } /* Keyword.Namespace */
.kp { color: #0000ff } /* Keyword.Pseudo */
.kr { color: #0000ff } /* Keyword.Reserved */
.kt { color: #0000ff } /* Keyword.Type */
.m { color: #33aaff } /* Literal.Number */
.s { color: #55aa22 } /* Literal.String */
.na { color: #000000 } /* Name.Attribute */
.nb { color: #000000 } /* Name.Builtin */
.nc { color: #000000 } /* Name.Class */
.no { color: #000000 } /* Name.Constant */
.nd { color: #000000 } /* Name.Decorator */
.ni { color: #000000 } /* Name.Entity */
.ne { color: #000000 } /* Name.Exception */
.nf { color: #000000 } /* Name.Function */
.nl { color: #000000 } /* Name.Label */
.nn { color: #000000 } /* Name.Namespace */
.nx { color: #000000 } /* Name.Other */
.py { color: #000000 } /* Name.Property */
.nt { color: #000000 } /* Name.Tag */
.nv { color: #000000 } /* Name.Variable */
.ow { color: #0000ff } /* Operator.Word */
.mb { color: #33aaff } /* Literal.Number.Bin */
.mf { color: #33aaff } /* Literal.Number.Float */
.mh { color: #33aaff } /* Literal.Number.Hex */
.mi { color: #33aaff } /* Literal.Number.Integer */
.mo { color: #33aaff } /* Literal.Number.Oct */
.sa { color: #55aa22 } /* Literal.String.Affix */
.sb { color: #55aa22 } /* Literal.String.Backtick */
.sc { color: #55aa22 } /* Literal.String.Char */
.dl { color: #55aa22 } /* Literal.String.Delimiter */
.sd { color: #55aa22 } /* Literal.String.Doc */
.s2 { color: #55aa22 } /* Literal.String.Double */
.se { color: #55aa22 } /* Literal.String.Escape */
.sh { color: #55aa22 } /* Literal.String.Heredoc */
.si { color: #55aa22 } /* Literal.String.Interpol */
.sx { color: #55aa22 } /* Literal.String.Other */
.sr { color: #55aa22 } /* Literal.String.Regex */
.s1 { color: #55aa22 } /* Literal.String.Single */
.ss { color: #55aa22 } /* Literal.String.Symbol */
.bp { color: #000000 } /* Name.Builtin.Pseudo */
.fm { color: #000000 } /* Name.Function.Magic */
.vc { color: #000000 } /* Name.Variable.Class */
.vg { color: #000000 } /* Name.Variable.Global */
.vi { color: #000000 } /* Name.Variable.Instance */
.vm { color: #000000 } /* Name.Variable.Magic */
.il { color: #33aaff } /* Literal.Number.Integer.Long */
1 change: 1 addition & 0 deletions docs/blog/theme/pygments/abap.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/blog/theme/pygments/algol.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
.nn { color: #666666; font-weight: bold; font-style: italic } /* Name.Namespace */
.nv { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable */
.ow { font-weight: bold } /* Operator.Word */
.sa { color: #666666; font-style: italic } /* Literal.String.Affix */
.sb { color: #666666; font-style: italic } /* Literal.String.Backtick */
.sc { color: #666666; font-style: italic } /* Literal.String.Char */
.dl { color: #666666; font-style: italic } /* Literal.String.Delimiter */
.sd { color: #666666; font-style: italic } /* Literal.String.Doc */
.s2 { color: #666666; font-style: italic } /* Literal.String.Double */
.se { color: #666666; font-style: italic } /* Literal.String.Escape */
Expand All @@ -34,6 +36,8 @@
.s1 { color: #666666; font-style: italic } /* Literal.String.Single */
.ss { color: #666666; font-style: italic } /* Literal.String.Symbol */
.bp { font-weight: bold; font-style: italic } /* Name.Builtin.Pseudo */
.fm { color: #666666; font-weight: bold; font-style: italic } /* Name.Function.Magic */
.vc { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Class */
.vg { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Global */
.vi { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Instance */
.vi { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Instance */
.vm { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Magic */
2 changes: 1 addition & 1 deletion docs/blog/theme/pygments/algol.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/blog/theme/pygments/algol_nu.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
.nn { color: #666666; font-weight: bold; font-style: italic } /* Name.Namespace */
.nv { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable */
.ow { font-weight: bold } /* Operator.Word */
.sa { color: #666666; font-style: italic } /* Literal.String.Affix */
.sb { color: #666666; font-style: italic } /* Literal.String.Backtick */
.sc { color: #666666; font-style: italic } /* Literal.String.Char */
.dl { color: #666666; font-style: italic } /* Literal.String.Delimiter */
.sd { color: #666666; font-style: italic } /* Literal.String.Doc */
.s2 { color: #666666; font-style: italic } /* Literal.String.Double */
.se { color: #666666; font-style: italic } /* Literal.String.Escape */
Expand All @@ -34,6 +36,8 @@
.s1 { color: #666666; font-style: italic } /* Literal.String.Single */
.ss { color: #666666; font-style: italic } /* Literal.String.Symbol */
.bp { font-weight: bold; font-style: italic } /* Name.Builtin.Pseudo */
.fm { color: #666666; font-weight: bold; font-style: italic } /* Name.Function.Magic */
.vc { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Class */
.vg { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Global */
.vi { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Instance */
.vi { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Instance */
.vm { color: #666666; font-weight: bold; font-style: italic } /* Name.Variable.Magic */
Loading

0 comments on commit 65cc7b2

Please sign in to comment.