Skip to content

Commit 57d1722

Browse files
hugovkambv
andauthored
Docs: Fix links (#2412)
* Fix link to licence * Update redirected links * Fix link to GitHub docs * Replace Travis CI with GitHub Actions --------- Co-authored-by: Łukasz Langa <lukasz@langa.pl>
1 parent 8048163 commit 57d1722

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python.org
22

3-
[![Build Status](https://travis-ci.org/python/pythondotorg.svg?branch=main)](https://travis-ci.org/python/pythondotorg)
3+
[![CI](https://github.com/python/pythondotorg/actions/workflows/ci.yml/badge.svg)](https://github.com/python/pythondotorg/actions/workflows/ci.yml)
44
[![Documentation Status](https://readthedocs.org/projects/pythondotorg/badge/?version=latest)](https://pythondotorg.readthedocs.io/?badge=latest)
55

66
### General information

docs/source/administration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Administration
66
Navigation
77
----------
88

9-
Navigation on the site is managed by the `Sitetree <https://pypi.org/pypi/django-sitetree>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
9+
Navigation on the site is managed by the `Sitetree <https://pypi.org/project/django-sitetree/>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
1010

1111
Many URLs are defined using `Django's URL system <https://docs.djangoproject.com/en/dev/topics/http/urls/>`_ however many are also simply defined as relative paths. When editing a particular item in the Sitetree in the *Additional Settings* fieldset there is an option named *URL as pattern*. If this option is checked the URL pattern is checked against the URLs defined by the Django applications. If it is left unchecked relative and absolute URLs can be entered.
1212

docs/source/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ already submitted it.
1111
Code
1212
----
1313

14-
The source for python.org is open and licensed under the `Apache 2 license <license>`_.
14+
The source for python.org is open and licensed under the `Apache 2 license <license_>`_.
1515
To contribute to either the code or documentation please fork the pythondotorg_
1616
repository and submit a pull request.
1717

docs/source/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ General information
1212
:IRC: ``#pydotorg`` on Freenode
1313
:Staging site: https://staging.python.org/ (``main`` branch)
1414
:Production configuration: https://github.com/python/psf-salt
15-
:Travis:
16-
.. image:: https://travis-ci.org/python/pythondotorg.svg?branch=main
17-
:target: https://travis-ci.org/python/pythondotorg
15+
:GitHub Actions:
16+
.. image:: https://github.com/python/pythondotorg/actions/workflows/ci.yml/badge.svg
17+
:target: https://github.com/python/pythondotorg/actions/workflows/ci.yml
1818
:License: Apache License
1919

2020
Contents:

docs/source/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Docker Compose will be installed by [Docker Mac](https://docs.docker.com/desktop
1212
Getting started
1313
---------------
1414

15-
To get the Pythondotorg source code, [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the repository on [GitHub](https://github.com/python/pythondotorg) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) it to your local machine:
15+
To get the Pythondotorg source code, [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) the repository on [GitHub](https://github.com/python/pythondotorg) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) it to your local machine:
1616

1717
```
1818
git clone git@github.com:YOUR-USERNAME/pythondotorg.git
1919
```
2020

21-
Add a [remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork) and [sync](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) regularly to stay current with the repository.
21+
Add a [remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-repository-for-a-fork) and [sync](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) regularly to stay current with the repository.
2222

2323
```
2424
git remote add upstream https://github.com/python/pythondotorg
@@ -33,7 +33,7 @@ Installing Docker
3333
Install [Docker Engine](https://docs.docker.com/engine/install/)
3434

3535
```{note}
36-
The best experience for building Pythondotorg on Windows is to use the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/)(WSL) in combination with both [Docker for Windows](https://docs.docker.com/desktop/install/windows-install/) and [Docker for Linux](https://docs.docker.com/engine/install/).
36+
The best experience for building Pythondotorg on Windows is to use the [Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/)(WSL) in combination with both [Docker for Windows](https://docs.docker.com/desktop/install/windows-install/) and [Docker for Linux](https://docs.docker.com/engine/install/).
3737
```
3838

3939
Verify that the Docker installation is successful by running: `docker -v`
@@ -197,7 +197,7 @@ Once you have it installed, update the URL value of `HAYSTACK_CONNECTIONS` set
197197
Generating CSS files automatically
198198
----------------------------------
199199

200-
Due to performance issues of [django-pipeline](https://github.com/cyberdelia/django-pipeline/issues/313), we are using a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode. To generate CSS files, use `sass` itself in a separate terminal window:
200+
Due to performance issues of [django-pipeline](https://github.com/jazzband/django-pipeline/issues/313), we are using a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode. To generate CSS files, use `sass` itself in a separate terminal window:
201201

202202
```
203203
$ cd static

docs/source/pep_generation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ This process runs periodically via cron to keep the PEP pages up to date.
3131

3232
See :ref:`management-commands` for all management commands.
3333

34-
.. _PEP Repository: https://github.com/python/peps.git
34+
.. _PEP Repository: https://github.com/python/peps

0 commit comments

Comments
 (0)