Skip to content

Commit

Permalink
Rename master to main (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Dec 3, 2021
1 parent e5c7822 commit e47f924
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages

on:
push:
branches: [master]
branches: [main]

jobs:
deploy-to-pages:
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Python Enhancement Proposals
============================

.. image:: https://travis-ci.org/python/peps.svg?branch=master
:target: https://travis-ci.org/python/peps
.. image:: https://github.com/python/peps/actions/workflows/build.yml/badge.svg
:target: https://github.com/python/peps/actions

The PEPs in this repo are published automatically on the web at
https://www.python.org/dev/peps/. To learn more about the purpose of
Expand Down Expand Up @@ -58,7 +58,7 @@ Generating HTML for python.org
python.org includes its own helper modules to render PEPs as HTML, with
suitable links back to the source pages in the version control repository.

These can be found at https://github.com/python/pythondotorg/tree/master/peps
These can be found at https://github.com/python/pythondotorg/tree/main/peps

When making changes to the PEP management process that may impact python.org's
rendering pipeline:
Expand All @@ -76,7 +76,7 @@ Rendering PEPs with Sphinx
==========================

There is a Sphinx-rendered version of the PEPs at https://python.github.io/peps/
(updated on every push to ``master``)
(updated on every push to ``main``).

**Warning:** This version is not, and should not be taken to be, a canonical
source for PEPs whilst it remains in preview (`please report any rendering bugs
Expand Down
4 changes: 2 additions & 2 deletions pep_sphinx_extensions/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

pep_stem = "pep-{:0>4}"
pep_url = f"{pep_stem}.html"
pep_vcs_url = "https://github.com/python/peps/blob/master/"
pep_commits_url = "https://github.com/python/peps/commits/master/"
pep_vcs_url = "https://github.com/python/peps/blob/main/"
pep_commits_url = "https://github.com/python/peps/commits/main/"
2 changes: 1 addition & 1 deletion pep_sphinx_extensions/pep_theme/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>Python Enhancement Proposals</h1>
<h2>Contents</h2>
{{ toc }}
<br />
<strong><a href="https://github.com/python/peps/blob/master/{{sourcename}}">Page Source (GitHub)</a></strong>
<strong><a href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a></strong>
</nav>
</section>
<script src="{{ pathto('_static/doctools.js', resource=True) }}"></script>
Expand Down

0 comments on commit e47f924

Please sign in to comment.