From a59d5b71aeb6d10f7a61ff40c49d98c3a3b7a1e8 Mon Sep 17 00:00:00 2001 From: Myles Braithwaite Date: Fri, 19 Jan 2018 10:45:47 -0500 Subject: [PATCH] :rotating_light: Fix up some linter warnings in the README and Python file. --- README.md | 188 +++++++++++++++++++++++++++--------------------------- sort.py | 3 +- 2 files changed, 96 insertions(+), 95 deletions(-) diff --git a/README.md b/README.md index 7d10d7e..80c4d98 100644 --- a/README.md +++ b/README.md @@ -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) -- [Awesome Static Web Site Generators](#awesome-static-web-site-generators) - - [Blogs](#blogs) - - [CMS](#cms) - - [Documentation](#documentation) - - [Frameworks](#frameworks) - - [Photography](#photograpy) - - [Single Page](#single-page) - - [Wikis](#wikis) -- [Helpful Tools and Services](#helpful-tools-and-services) - - [Deploy](#deploy) - - [Web Hosts](#web-hosts) -- [Other Lists of Static Web Site Geneartors](#other-lists-of-static-web-site-generators) -- [Related Awesome](#related-awesome) -- [Static Web Site Generators in Other Awesome Lists](#static-web-site-generators-in-other-awesome-lists) +- [Awesome Static Web Site Generators](#awesome-static-web-site-generators) +- [Blogs](#blogs) + - [CMS](#cms) + - [Documentation](#documentation) + - [Frameworks](#frameworks) + - [Photography](#photograpy) + - [Single Page](#single-page) + - [Wikis](#wikis) +- [Helpful Tools and Services](#helpful-tools-and-services) + - [Deploy](#deploy) + - [Web Hosts](#web-hosts) +- [Other Lists of Static Web Site Geneartors](#other-lists-of-static-web-site-generators) +- [Related Awesome](#related-awesome) +- [Static Web Site Generators in Other Awesome Lists](#static-web-site-generators-in-other-awesome-lists) ### Blogs -* [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` -* [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` -* [Journey](https://github.com/kabukky/journey) - `#Go` -* [Nikola](https://getnikola.com/) - `#Python` -* [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` -* [Spress](https://github.com/spress/Spress/) - `#PHP` -* [Static](https://github.com/nakkaya/static) - Supports org-mode and markdown. - `#Clojure` -* [Tinkere](http://tinkerer.me/) - `#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` +* [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` +* [Journey](https://github.com/kabukky/journey) - `#Go` +* [Nikola](https://getnikola.com/) - `#Python` +* [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` +* [Spress](https://github.com/spress/Spress/) - `#PHP` +* [Static](https://github.com/nakkaya/static) - Supports org-mode and markdown. - `#Clojure` +* [Tinkere](http://tinkerer.me/) - `#Python` ### CMS -* [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` -* [Yellow](https://datenstrom.se/yellow/) - For people who make websites. - `#PHP` +* [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` +* [Yellow](https://datenstrom.se/yellow/) - For people who make websites. - `#PHP` ### Documentation -* [DocPad](https://github.com/docpad/docpad) - `#JavaScript` `#CoffeeScript` `#Node.js` -* [Docusaurus](https://docusaurus.io/) - Easy to maintain open source documentation websites. - `#JavaScript` `#React` -* [Slate](https://github.com/lord/slate) - `#Ruby` -* [Sphinx](http://sphinx-doc.org/) - `#Python` +* [DocPad](https://github.com/docpad/docpad) - `#JavaScript` `#CoffeeScript` `#Node.js` +* [Docusaurus](https://docusaurus.io/) - Easy to maintain open source documentation websites. - `#JavaScript` `#React` +* [Slate](https://github.com/lord/slate) - `#Ruby` +* [Sphinx](http://sphinx-doc.org/) - `#Python` ### Frameworks -* [Assemble](http://assemble.io/) - `#JavaScript` `#Node.js` -* [Cactus](http://cactusformac.com/) - `#MacOSX` -* [Cactus](https://github.com/koenbok/Cactus) - `#Python` -* [coil](https://github.com/badosu/coil) - `#elixir` -* [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` -* [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` -* [Gatsby](https://github.com/gatsbyjs/gatsby) - `#JavaScript` `#Node.js` `#React.js` -* [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` -* [Harp](http://harpjs.com/) - `#JavaScript` `#Node.js` -* [Hugo](https://github.com/spf13/hugo) - It is optimized for speed, easy use and configurability. - `#Go` -* [JBake](https://github.com/jbake-org/jbake) `#Java` -* [LambdaPad](https://github.com/gar1t/lambdapad) - `#Erlang` -* [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` -* [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` -* [obelisk](https://github.com/BennyHallett/obelisk) - `#elixir` -* [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` -* [Phrozn](http://phrozn.info/) - `#PHP` -* [React Static](https://github.com/nozzle/react-static) - A progressive static-site framework for React. - '#React.js' -* [Roots](http://roots.cx/) - `#Node.js` -* [Sculpin](https://sculpin.io/) - `#PHP` -* [Sitegen](https://github.com/leafo/sitegen) - `#Lua` `#MoonScript` -* [Tags](https://github.com/braceio/tags) - `#Python` -* [Urubu](http://urubu.jandecaluwe.com/) - `#Python` -* [webgen](http://webgen.gettalong.org/) - `#Ruby` -* [Wintersmith](https://github.com/jnordberg/wintersmith) - `#JavaScript` `#Node.js` -* [yst](https://github.com/jgm/yst) - Powered by YAML. - `#Haskell` +* [Assemble](http://assemble.io/) - `#JavaScript` `#Node.js` +* [Cactus](http://cactusformac.com/) - `#MacOSX` +* [Cactus](https://github.com/koenbok/Cactus) - `#Python` +* [coil](https://github.com/badosu/coil) - `#elixir` +* [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` +* [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` +* [Gatsby](https://github.com/gatsbyjs/gatsby) - `#JavaScript` `#Node.js` `#React.js` +* [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` +* [Harp](http://harpjs.com/) - `#JavaScript` `#Node.js` +* [Hugo](https://github.com/spf13/hugo) - It is optimized for speed, easy use and configurability. - `#Go` +* [JBake](https://github.com/jbake-org/jbake) `#Java` +* [LambdaPad](https://github.com/gar1t/lambdapad) - `#Erlang` +* [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` +* [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` +* [obelisk](https://github.com/BennyHallett/obelisk) - `#elixir` +* [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` +* [Phrozn](http://phrozn.info/) - `#PHP` +* [React Static](https://github.com/nozzle/react-static) - A progressive static-site framework for React. - '#React.js' +* [Roots](http://roots.cx/) - `#Node.js` +* [Sculpin](https://sculpin.io/) - `#PHP` +* [Sitegen](https://github.com/leafo/sitegen) - `#Lua` `#MoonScript` +* [Tags](https://github.com/braceio/tags) - `#Python` +* [Urubu](http://urubu.jandecaluwe.com/) - `#Python` +* [webgen](http://webgen.gettalong.org/) - `#Ruby` +* [Wintersmith](https://github.com/jnordberg/wintersmith) - `#JavaScript` `#Node.js` +* [yst](https://github.com/jgm/yst) - Powered by YAML. - `#Haskell` ### Photography -* [Expose](https://github.com/Jack000/Expose) - for photoessays - `#Bash` -* [Sigal](https://sigal.readthedocs.org/en/latest/) - `#Python` +* [Expose](https://github.com/Jack000/Expose) - for photoessays - `#Bash` +* [Sigal](https://sigal.readthedocs.org/en/latest/) - `#Python` ### 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 -* [Gollum](https://github.com/gollum/gollum) - Gollum is a simple wiki system built on top of Git. - `#Ruby` -* [ikiwiki](https://ikiwiki.info/) - `#Haskell` +* [Gollum](https://github.com/gollum/gollum) - Gollum is a simple wiki system built on top of Git. - `#Ruby` +* [ikiwiki](https://ikiwiki.info/) - `#Haskell` ## Helpful Tools and Services -* [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. -* [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. +* [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. +* [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 -* [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 -* [AWS S3](http://aws.amazon.com/s3/) -* [Divshot](https://divshot.com/) -* [Netlify](https://www.netlify.com/) +* [AWS S3](http://aws.amazon.com/s3/) +* [Divshot](https://divshot.com/) +* [Netlify](https://www.netlify.com/) ## Other Lists of Static Web Site Geneartors -* [Static Site Generators](http://staticsitegenerators.net/) -* [StaticGen](https://www.staticgen.com/) +* [Static Site Generators](http://staticsitegenerators.net/) +* [StaticGen](https://www.staticgen.com/) ## 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 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 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 -* [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) +* [Awesome Bootstrap](https://github.com/therebelrobot/awesome-bootstrap) - A curated list of free Bootstrap themes. +* [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 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 +* [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) ## Static Web Site Generators in Other Awesome Lists -* [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) -* [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) -* [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) -* [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) +* [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) +* [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) +* [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) +* [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) diff --git a/sort.py b/sort.py index 6a4f9e0..894b862 100644 --- a/sort.py +++ b/sort.py @@ -43,7 +43,8 @@ def main(): with open('README.md', 'w+') as sorted_file: # 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 sorted_file.write(''.join(blocks))