Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
static/sass/*.css linguist-vendored
peps/tests/fake_pep_repo/*.html linguist-vendored
static/js/libs/*.js linguist-vendored
static/js/plugins/*.js linguist-vendored
27 changes: 0 additions & 27 deletions docs/source/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,3 @@ Command-line options
.. option:: --app-label <app_label>

Create initial data with the *app_label* provided.

.. _command-generate-pep-pages:

generate_pep_pages
------------------

This command generates ``pages.Page`` objects from the output
of the existing PEP repository generation process. You run it like::

$ ./manage.py generate_pep_pages

To get verbose output, specify ``--verbosity`` option::

$ ./manage.py generate_pep_pages --verbosity=2

It uses the conversion code in the ``peps/converters.py`` file, in an
attempt to normalize the formatting for display purposes.

.. _command-dump-pep-pages:

dump_pep_pages
--------------

This command simply dumps our PEP related pages as JSON to :attr:`sys.stdout`.
You can run like::

$ ./manage.py dump_pep_pages
1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Contents:
install.md
contributing
administration
pep_generation
commands

Indices and tables
Expand Down
34 changes: 0 additions & 34 deletions docs/source/pep_generation.rst

This file was deleted.

4 changes: 0 additions & 4 deletions env_sample
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
DATABASE_URL=postgres:///pythondotorg
SEARCHBOX_SSL_URL=http://127.0.0.1:9200/

# development optional
#PEP_REPO_PATH=None

# production required
SECRET_KEY=
ALLOWED_HOSTS=127.0.0.1,
Expand All @@ -13,7 +10,6 @@ EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=
DEFAULT_FROM_EMAIL=
PEP_ARTIFACT_URL=
FASTLY_API_KEY=
SENTRY_DSN=
SOURCE_VERSION=
Expand Down
3 changes: 0 additions & 3 deletions pydotorg/settings/cabotage.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = config('DEFAULT_FROM_EMAIL')

PEP_REPO_PATH = None
PEP_ARTIFACT_URL = config('PEP_ARTIFACT_URL')

# Fastly API Key
FASTLY_API_KEY = config('FASTLY_API_KEY')

Expand Down
9 changes: 0 additions & 9 deletions pydotorg/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

# Set the local pep repository path to fetch PEPs from,
# or none to fallback to the tarball specified by PEP_ARTIFACT_URL.
PEP_REPO_PATH = config('PEP_REPO_PATH', default=None) # directory path or None

# Set the path to where to fetch PEP artifacts from.
# The value can be a local path or a remote URL.
# Ignored if PEP_REPO_PATH is set.
PEP_ARTIFACT_URL = os.path.join(BASE, 'peps/tests/peps.tar.gz')

# Use Dummy SASS compiler to avoid performance issues and remove the need to
# have a sass compiler installed at all during local development if you aren't
# adjusting the CSS at all. Comment this out or adjust it to suit your local
Expand Down
48 changes: 0 additions & 48 deletions static/sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@

.container,
.row,
.pep-list-header,
.pep-index-list li,
.info-key,
.listing-company,
.list-recent-jobs li { @extend %pie-clearfix; }

Expand Down Expand Up @@ -377,43 +374,12 @@

.most-recent-posts { @include span-columns( 9 ); }

.pep-widget,
.psf-widget,
.python-needs-you-widget {
padding: 1.5em 1.75em;
clear: both;
}

/* PEP landing page */
.pep-list-header,
.pep-index-list li,
.info-key { margin: 0 -.5em; }

.pep-list-header { display: block; }

.pep-index-list {

.label { display: none; }
a { display: block; }
li {
border-bottom: 1px solid darken($grey-lighterest, 5%);
margin-bottom: 0;
}
}

.pep-type,
.pep-num,
.pep-title,
.pep-owner {
float: left;
border-bottom: 0;
}

.pep-type { width: 15%; }
.pep-num { width: 10%; }
.pep-title { width: 50%; }
.pep-owner { width: 25%; }

/* Jobs landing page */
.jobs-intro { padding-top: 2em; padding-bottom: 2em; }

Expand Down Expand Up @@ -1099,7 +1065,6 @@
}
}

.pep-widget,
.psf-widget,
.python-needs-you-widget {
padding: 1.5em 1.75em;
Expand Down Expand Up @@ -1141,19 +1106,6 @@
}
}

.pep-widget {

.widget-title {
position: relative;
padding-right: 6em;
}
}

.rss-link {
position: absolute;
top: 0; right: 0;
}

/* Footer */
.sitemap {

Expand Down
59 changes: 0 additions & 59 deletions static/sass/mq.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,11 @@
/* Other elements */
.container,
.row,
.pep-list-header,
.pep-index-list li,
.info-key,
.listing-company,
.list-recent-jobs li {
*zoom: 1; }
.container:after,
.row:after,
.pep-list-header:after,
.pep-index-list li:after,
.info-key:after,
.listing-company:after,
.list-recent-jobs li:after {
content: "";
Expand Down Expand Up @@ -338,17 +332,11 @@ html[xmlns] .slides { display: block; }
/* Other elements */
.container,
.row,
.pep-list-header,
.pep-index-list li,
.info-key,
.listing-company,
.list-recent-jobs li {
*zoom: 1; }
.container:after,
.row:after,
.pep-list-header:after,
.pep-index-list li:after,
.info-key:after,
.listing-company:after,
.list-recent-jobs li:after {
content: "";
Expand Down Expand Up @@ -1423,48 +1411,11 @@ html[xmlns] .slides { display: block; }
float: left;
margin-right: 2.12766%; }

.pep-widget,
.psf-widget,
.python-needs-you-widget {
padding: 1.5em 1.75em;
clear: both; }

/* PEP landing page */
.pep-list-header,
.pep-index-list li,
.info-key {
margin: 0 -.5em; }

.pep-list-header {
display: block; }

.pep-index-list .label {
display: none; }
.pep-index-list a {
display: block; }
.pep-index-list li {
border-bottom: 1px solid #e3e7ec;
margin-bottom: 0; }

.pep-type,
.pep-num,
.pep-title,
.pep-owner {
float: left;
border-bottom: 0; }

.pep-type {
width: 15%; }

.pep-num {
width: 10%; }

.pep-title {
width: 50%; }

.pep-owner {
width: 25%; }

/* Jobs landing page */
.jobs-intro {
padding-top: 2em;
Expand Down Expand Up @@ -2298,7 +2249,6 @@ html[xmlns] .slides { display: block; }
display: inline;
visibility: visible; }

.pep-widget,
.psf-widget,
.python-needs-you-widget {
padding: 1.5em 1.75em; }
Expand Down Expand Up @@ -2345,15 +2295,6 @@ html[xmlns] .slides { display: block; }
zoom: 1;
display: inline; }

.pep-widget .widget-title {
position: relative;
padding-right: 6em; }

.rss-link {
position: absolute;
top: 0;
right: 0; }

/* Footer */
.sitemap a {
text-align: left; }
Expand Down
Loading