Skip to content

KPilnacek/pep8.org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pep8.org

PEP 8, for Humans.

Developing

If you serve this locally from 0.0.0.0, the fonts will display properly. They are blocked on all domains except 0.0.0.0 and pep8.org.

An easy way to do this:

$ python -m SimpleHTTPServer #python2

or

$ python -m http.server      #python3

Syncing PEP 8 changes

pep8.org mirrors the original PEP 8 document at www.python.org/dev/peps/pep-0008/.

Whenever the original PEP 8 at python.org gets updated we need to migrate these changes to pep8.org. This process is difficult to automate because manual style and formatting tweaks were made to the original source material to create index.html.

To migrate the latest changes from the original PEP 8 source do the following:

  • Look at the source control history for the original PEP 8 and compare it with what's live on pep8.org. (As of 2017-05 we're tracking rev c451868df657.)

  • Apply the missing changes to index.html and create a pull-request to get them reviewed and live on pep8.org

Deploying

$ heroku buildpacks:set https://github.com/hone/heroku-buildpack-static.git

About

PEP 8, for Humans.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 92.1%
  • CSS 5.6%
  • JavaScript 2.2%
  • Shell 0.1%