🚨 Fix up some linter warnings in the README and Python file.

This commit is contained in:
Myles Braithwaite
2018-01-19 10:45:47 -05:00
parent d10d2173a7
commit a59d5b71ae
2 changed files with 96 additions and 95 deletions

186
README.md
View File

@ -4,137 +4,137 @@ A static web site generator is an application that takes plain text files and co
[![Changelog Feed](https://mozorg.cdn.mozilla.net/media/img/trademarks/feed-icon-14x14.png)](https://github.com/myles/awesome-static-generators/commits/master/README.md.atom) [![Changelog Feed](https://mozorg.cdn.mozilla.net/media/img/trademarks/feed-icon-14x14.png)](https://github.com/myles/awesome-static-generators/commits/master/README.md.atom)
- [Awesome Static Web Site Generators](#awesome-static-web-site-generators) - [Awesome Static Web Site Generators](#awesome-static-web-site-generators)
- [Blogs](#blogs) - [Blogs](#blogs)
- [CMS](#cms) - [CMS](#cms)
- [Documentation](#documentation) - [Documentation](#documentation)
- [Frameworks](#frameworks) - [Frameworks](#frameworks)
- [Photography](#photograpy) - [Photography](#photograpy)
- [Single Page](#single-page) - [Single Page](#single-page)
- [Wikis](#wikis) - [Wikis](#wikis)
- [Helpful Tools and Services](#helpful-tools-and-services) - [Helpful Tools and Services](#helpful-tools-and-services)
- [Deploy](#deploy) - [Deploy](#deploy)
- [Web Hosts](#web-hosts) - [Web Hosts](#web-hosts)
- [Other Lists of Static Web Site Geneartors](#other-lists-of-static-web-site-generators) - [Other Lists of Static Web Site Geneartors](#other-lists-of-static-web-site-generators)
- [Related Awesome](#related-awesome) - [Related Awesome](#related-awesome)
- [Static Web Site Generators in Other Awesome Lists](#static-web-site-generators-in-other-awesome-lists) - [Static Web Site Generators in Other Awesome Lists](#static-web-site-generators-in-other-awesome-lists)
### Blogs ### Blogs
* [ABlog](http://ablog.readthedocs.org/) - A Sphinx extension that converts any documentation or personal website project into a full-fledged blog. - `#Python` * [ABlog](http://ablog.readthedocs.org/) - A Sphinx extension that converts any documentation or personal website project into a full-fledged blog. - `#Python`
* [Hexo](https://github.com/hexojs/hexo) - A fast, simple & powerful blog framework. - `#JavaScript` `#Node.js` * [Hexo](https://github.com/hexojs/hexo) - A fast, simple & powerful blog framework. - `#JavaScript` `#Node.js`
* [Hyde](https://github.com/hyde/hyde) - `#Python` * [Hyde](https://github.com/hyde/hyde) - `#Python`
* [Jekyll](https://github.com/jekyll/jekyll) - Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. - `#Ruby` * [Jekyll](https://github.com/jekyll/jekyll) - Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. - `#Ruby`
* [Journey](https://github.com/kabukky/journey) - `#Go` * [Journey](https://github.com/kabukky/journey) - `#Go`
* [Nikola](https://getnikola.com/) - `#Python` * [Nikola](https://getnikola.com/) - `#Python`
* [Octopress](https://github.com/imathis/octopress) - Similar to Jekyll but where everything you need is already setup. - `#Ruby` `#Jekyll` * [Octopress](https://github.com/imathis/octopress) - Similar to Jekyll but where everything you need is already setup. - `#Ruby` `#Jekyll`
* [Pelican](https://github.com/getpelican/pelican) - Uses Markdown or ReST for content and Jinja 2 for themes. - `#Python` * [Pelican](https://github.com/getpelican/pelican) - Uses Markdown or ReST for content and Jinja 2 for themes. - `#Python`
* [Spress](https://github.com/spress/Spress/) - `#PHP` * [Spress](https://github.com/spress/Spress/) - `#PHP`
* [Static](https://github.com/nakkaya/static) - Supports org-mode and markdown. - `#Clojure` * [Static](https://github.com/nakkaya/static) - Supports org-mode and markdown. - `#Clojure`
* [Tinkere](http://tinkerer.me/) - `#Python` * [Tinkere](http://tinkerer.me/) - `#Python`
### CMS ### CMS
* [Lektor](https://www.getlektor.com/) - An easy to use static CMS and blog engine. - `#Python` * [Lektor](https://www.getlektor.com/) - An easy to use static CMS and blog engine. - `#Python`
* [Tipe](https://tipe.io/) - An easy to use API-first CMS engine to generate static sites. - `#JavaScript` * [Tipe](https://tipe.io/) - An easy to use API-first CMS engine to generate static sites. - `#JavaScript`
* [Yellow](https://datenstrom.se/yellow/) - For people who make websites. - `#PHP` * [Yellow](https://datenstrom.se/yellow/) - For people who make websites. - `#PHP`
### Documentation ### Documentation
* [DocPad](https://github.com/docpad/docpad) - `#JavaScript` `#CoffeeScript` `#Node.js` * [DocPad](https://github.com/docpad/docpad) - `#JavaScript` `#CoffeeScript` `#Node.js`
* [Docusaurus](https://docusaurus.io/) - Easy to maintain open source documentation websites. - `#JavaScript` `#React` * [Docusaurus](https://docusaurus.io/) - Easy to maintain open source documentation websites. - `#JavaScript` `#React`
* [Slate](https://github.com/lord/slate) - `#Ruby` * [Slate](https://github.com/lord/slate) - `#Ruby`
* [Sphinx](http://sphinx-doc.org/) - `#Python` * [Sphinx](http://sphinx-doc.org/) - `#Python`
### Frameworks ### Frameworks
* [Assemble](http://assemble.io/) - `#JavaScript` `#Node.js` * [Assemble](http://assemble.io/) - `#JavaScript` `#Node.js`
* [Cactus](http://cactusformac.com/) - `#MacOSX` * [Cactus](http://cactusformac.com/) - `#MacOSX`
* [Cactus](https://github.com/koenbok/Cactus) - `#Python` * [Cactus](https://github.com/koenbok/Cactus) - `#Python`
* [coil](https://github.com/badosu/coil) - `#elixir` * [coil](https://github.com/badosu/coil) - `#elixir`
* [Complexity](http://complexity.readthedocs.org/en/latest/) - for those who like to work in HTML - `#Python` * [Complexity](http://complexity.readthedocs.org/en/latest/) - for those who like to work in HTML - `#Python`
* [Cuttlebelle](https://cuttlebelle.com/) - The react static site generator that separates editing and code concerns = `#JavaScript` `#Node.js` `#React.js` * [Cuttlebelle](https://cuttlebelle.com/) - The react static site generator that separates editing and code concerns = `#JavaScript` `#Node.js` `#React.js`
* [Flask-Frozen](https://github.com/SimonSapin/Frozen-Flask) - Freezes a Flask application into a set of static files. - `#Python` `#Flask` * [Flask-Frozen](https://github.com/SimonSapin/Frozen-Flask) - Freezes a Flask application into a set of static files. - `#Python` `#Flask`
* [Gaiden](https://github.com/kobo/gaiden) - A tool that makes it easy to create documentation with Markdown. - `#Groovy` * [Gaiden](https://github.com/kobo/gaiden) - A tool that makes it easy to create documentation with Markdown. - `#Groovy`
* [Gatsby](https://github.com/gatsbyjs/gatsby) - `#JavaScript` `#Node.js` `#React.js` * [Gatsby](https://github.com/gatsbyjs/gatsby) - `#JavaScript` `#Node.js` `#React.js`
* [Grain](https://github.com/sysgears/grain) - `#Groovy` * [Grain](https://github.com/sysgears/grain) - `#Groovy`
* [Hakyll](https://github.com/jaspervdj/hakyll) - Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration. - `#Haskell` * [Hakyll](https://github.com/jaspervdj/hakyll) - Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration. - `#Haskell`
* [Harp](http://harpjs.com/) - `#JavaScript` `#Node.js` * [Harp](http://harpjs.com/) - `#JavaScript` `#Node.js`
* [Hugo](https://github.com/spf13/hugo) - It is optimized for speed, easy use and configurability. - `#Go` * [Hugo](https://github.com/spf13/hugo) - It is optimized for speed, easy use and configurability. - `#Go`
* [JBake](https://github.com/jbake-org/jbake) `#Java` * [JBake](https://github.com/jbake-org/jbake) `#Java`
* [LambdaPad](https://github.com/gar1t/lambdapad) - `#Erlang` * [LambdaPad](https://github.com/gar1t/lambdapad) - `#Erlang`
* [m4-bakery](http://datagrok.github.io/m4-bakery/) - `#make` `#m4` * [m4-bakery](http://datagrok.github.io/m4-bakery/) - `#make` `#m4`
* [Metalsmith](https://github.com/segmentio/metalsmith) - An extremely simple, pluggable static site generator. - `#JavaScript` `#Node.js` * [Metalsmith](https://github.com/segmentio/metalsmith) - An extremely simple, pluggable static site generator. - `#JavaScript` `#Node.js`
* [MiddleMan](https://github.com/middleman/middleman) - Middleman is a static site generator using all the shortcuts and tools in modern web development. - `#Ruby` * [MiddleMan](https://github.com/middleman/middleman) - Middleman is a static site generator using all the shortcuts and tools in modern web development. - `#Ruby`
* [nanoc](https://github.com/nanoc/nanoc) - Felxiable support for small personal to large corporate web sites. - `#Ruby` * [nanoc](https://github.com/nanoc/nanoc) - Felxiable support for small personal to large corporate web sites. - `#Ruby`
* [obelisk](https://github.com/BennyHallett/obelisk) - `#elixir` * [obelisk](https://github.com/BennyHallett/obelisk) - `#elixir`
* [Pagegen](http://pagegen.phnd.net/) - `#Python` * [Pagegen](http://pagegen.phnd.net/) - `#Python`
* [Phenomic](https://phenomic.io/) - Modern static website generator based on the React and Webpack ecosystem. - `#Javascript` `#Node.js` `#React.js` * [Phenomic](https://phenomic.io/) - Modern static website generator based on the React and Webpack ecosystem. - `#Javascript` `#Node.js` `#React.js`
* [Phrozn](http://phrozn.info/) - `#PHP` * [Phrozn](http://phrozn.info/) - `#PHP`
* [React Static](https://github.com/nozzle/react-static) - A progressive static-site framework for React. - '#React.js' * [React Static](https://github.com/nozzle/react-static) - A progressive static-site framework for React. - '#React.js'
* [Roots](http://roots.cx/) - `#Node.js` * [Roots](http://roots.cx/) - `#Node.js`
* [Sculpin](https://sculpin.io/) - `#PHP` * [Sculpin](https://sculpin.io/) - `#PHP`
* [Sitegen](https://github.com/leafo/sitegen) - `#Lua` `#MoonScript` * [Sitegen](https://github.com/leafo/sitegen) - `#Lua` `#MoonScript`
* [Tags](https://github.com/braceio/tags) - `#Python` * [Tags](https://github.com/braceio/tags) - `#Python`
* [Urubu](http://urubu.jandecaluwe.com/) - `#Python` * [Urubu](http://urubu.jandecaluwe.com/) - `#Python`
* [webgen](http://webgen.gettalong.org/) - `#Ruby` * [webgen](http://webgen.gettalong.org/) - `#Ruby`
* [Wintersmith](https://github.com/jnordberg/wintersmith) - `#JavaScript` `#Node.js` * [Wintersmith](https://github.com/jnordberg/wintersmith) - `#JavaScript` `#Node.js`
* [yst](https://github.com/jgm/yst) - Powered by YAML. - `#Haskell` * [yst](https://github.com/jgm/yst) - Powered by YAML. - `#Haskell`
### Photography ### Photography
* [Expose](https://github.com/Jack000/Expose) - for photoessays - `#Bash` * [Expose](https://github.com/Jack000/Expose) - for photoessays - `#Bash`
* [Sigal](https://sigal.readthedocs.org/en/latest/) - `#Python` * [Sigal](https://sigal.readthedocs.org/en/latest/) - `#Python`
### Single Page ### Single Page
* [Flatdoc](http://ricostacruz.com/flatdoc/) - a small JavaScript file that fetches Markdown files and renders them as full pages. - `#JavaScript` * [Flatdoc](http://ricostacruz.com/flatdoc/) - a small JavaScript file that fetches Markdown files and renders them as full pages. - `#JavaScript`
### Wikis ### Wikis
* [Gollum](https://github.com/gollum/gollum) - Gollum is a simple wiki system built on top of Git. - `#Ruby` * [Gollum](https://github.com/gollum/gollum) - Gollum is a simple wiki system built on top of Git. - `#Ruby`
* [ikiwiki](https://ikiwiki.info/) - `#Haskell` * [ikiwiki](https://ikiwiki.info/) - `#Haskell`
## Helpful Tools and Services ## Helpful Tools and Services
* [Chartspree](http://chartspree.io/) - Creats svg based charts for your static web sites. * [Chartspree](http://chartspree.io/) - Creats svg based charts for your static web sites.
* [Formspree](http://www.formspree.io/) - Adds functional forms to your static web sites. * [Formspree](http://www.formspree.io/) - Adds functional forms to your static web sites.
* [git-annex](http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/) - Configure git-annex for a public repository for a static web site. * [git-annex](http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/) - Configure git-annex for a public repository for a static web site.
### Deploy ### Deploy
* [Harpoon](http://www.getharpoon.com/) - S3 based deploy with rollback and staging/production support. - `#Ruby` * [Harpoon](http://www.getharpoon.com/) - S3 based deploy with rollback and staging/production support. - `#Ruby`
### Web Hosts ### Web Hosts
* [AWS S3](http://aws.amazon.com/s3/) * [AWS S3](http://aws.amazon.com/s3/)
* [Divshot](https://divshot.com/) * [Divshot](https://divshot.com/)
* [Netlify](https://www.netlify.com/) * [Netlify](https://www.netlify.com/)
## Other Lists of Static Web Site Geneartors ## Other Lists of Static Web Site Geneartors
* [Static Site Generators](http://staticsitegenerators.net/) * [Static Site Generators](http://staticsitegenerators.net/)
* [StaticGen](https://www.staticgen.com/) * [StaticGen](https://www.staticgen.com/)
## Related Awesome ## Related Awesome
Awesome lists that help you with your new static web site. Awesome lists that help you with your new static web site.
* [Awesome Bootstrap](https://github.com/therebelrobot/awesome-bootstrap) - A curated list of free Bootstrap themes. * [Awesome Bootstrap](https://github.com/therebelrobot/awesome-bootstrap) - A curated list of free Bootstrap themes.
* [Awesome HTML5](https://github.com/diegocard/awesome-html5) * [Awesome HTML5](https://github.com/diegocard/awesome-html5)
* [Awesome Images](https://github.com/heyalexej/awesome-images) - A curated list of amazingly awesome free (stock) photo resources. * [Awesome Images](https://github.com/heyalexej/awesome-images) - A curated list of amazingly awesome free (stock) photo resources.
* [Awesome Static Hosting Providers](https://github.com/b-long/awesome-static-hosting) - A collection of awesome static hosting providers and related resources. * [Awesome Static Hosting Providers](https://github.com/b-long/awesome-static-hosting) - A collection of awesome static hosting providers and related resources.
* [Awesome Static Website Services](https://github.com/aharris88/awesome-static-website-services) - A curated list of awesome static websites services * [Awesome Static Website Services](https://github.com/aharris88/awesome-static-website-services) - A curated list of awesome static websites services
* [Creative Commons Media](https://github.com/shime/creative-commons-media) - A curated list of resources that provide media licensed under Creative Commons licenses. * [Creative Commons Media](https://github.com/shime/creative-commons-media) - A curated list of resources that provide media licensed under Creative Commons licenses.
* [Frontend Development](https://github.com/dypsilon/frontend-dev-bookmarks) * [Frontend Development](https://github.com/dypsilon/frontend-dev-bookmarks)
## Static Web Site Generators in Other Awesome Lists ## Static Web Site Generators in Other Awesome Lists
* [forhappy/awesome-lua - Static Site Generator](https://github.com/forhappy/awesome-lua#static-site-generator) * [forhappy/awesome-lua - Static Site Generator](https://github.com/forhappy/awesome-lua#static-site-generator)
* [h4cc/awesome-elixir - Static Page Generation](https://github.com/h4cc/awesome-elixir#static-page-generation) * [h4cc/awesome-elixir - Static Page Generation](https://github.com/h4cc/awesome-elixir#static-page-generation)
* [kdabir/awesome-groovy - Static Web](https://github.com/kdabir/awesome-groovy#static-web) * [kdabir/awesome-groovy - Static Web](https://github.com/kdabir/awesome-groovy#static-web)
* [markets/awesome-ruby - Static Site Generators](https://github.com/markets/awesome-ruby#static-site-generation) * [markets/awesome-ruby - Static Site Generators](https://github.com/markets/awesome-ruby#static-site-generation)
* [Sdogruyol/awesome-ruby - Static Page Generation](https://github.com/Sdogruyol/awesome-ruby#static-page-generation) * [Sdogruyol/awesome-ruby - Static Page Generation](https://github.com/Sdogruyol/awesome-ruby#static-page-generation)
* [sindresorhus/awesome-nodejs - Static Site Generators](https://github.com/sindresorhus/awesome-nodejs#static-site-generators) * [sindresorhus/awesome-nodejs - Static Site Generators](https://github.com/sindresorhus/awesome-nodejs#static-site-generators)
* [vinta/awesome-python - Static Site Generators](https://github.com/vinta/awesome-python#static-site-generator) * [vinta/awesome-python - Static Site Generators](https://github.com/vinta/awesome-python#static-site-generator)
* [ziadoz/awesome-php - Static Site Generators](https://github.com/ziadoz/awesome-php#static-site-generators) * [ziadoz/awesome-php - Static Site Generators](https://github.com/ziadoz/awesome-php#static-site-generators)

View File

@ -43,7 +43,8 @@ def main():
with open('README.md', 'w+') as sorted_file: with open('README.md', 'w+') as sorted_file:
# Then all of the blocks are sorted individually # Then all of the blocks are sorted individually
blocks = [''.join(sorted(block, key=lambda s: s.lower())) for block in blocks] blocks = [''.join(sorted(block, key=lambda s: s.lower()))
for block in blocks]
# And the result is written back to README.md # And the result is written back to README.md
sorted_file.write(''.join(blocks)) sorted_file.write(''.join(blocks))