From 275282198f3b062766f348d371748babe3a35220 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Fri, 20 Jan 2023 23:11:01 +0700 Subject: [PATCH 1/2] WEB: Make all links in the website relative --- web/pandas/_templates/layout.html | 2 +- web/pandas/about/citing.md | 12 ++++---- web/pandas/about/governance.md | 2 +- web/pandas/about/roadmap.md | 4 +-- web/pandas/about/team.md | 6 ++-- web/pandas/community/blog/index.html | 4 +-- web/pandas/config.yml | 46 ++++++++++++++-------------- web/pandas/contribute.md | 12 ++++---- web/pandas/getting_started.md | 6 ++-- web/pandas/index.html | 26 ++++++++-------- web/pandas/try.md | 21 ------------- web/pandas_web.py | 11 +++---- 12 files changed, 64 insertions(+), 88 deletions(-) delete mode 100644 web/pandas/try.md diff --git a/web/pandas/_templates/layout.html b/web/pandas/_templates/layout.html index 3cad22bf938b0..7b41478613f19 100644 --- a/web/pandas/_templates/layout.html +++ b/web/pandas/_templates/layout.html @@ -12,7 +12,7 @@ pandas - Python Data Analysis Library - + - + - + @@ -57,10 +57,10 @@ The official logos of _pandas_ are: @@ -70,10 +70,10 @@ The official logos of _pandas_ are: diff --git a/web/pandas/about/governance.md b/web/pandas/about/governance.md index 92923db6e6763..0bb61592d7e5d 100644 --- a/web/pandas/about/governance.md +++ b/web/pandas/about/governance.md @@ -3,7 +3,7 @@ The official version of this document, along with a list of individuals and institutions in the roles defined in the governance section below, is contained in the -[Project governance](https://pandas.pydata.org/about/governance.html) +[Project governance]({{ base_url }}about/governance.html) page of the pandas website. ## The Project diff --git a/web/pandas/about/roadmap.md b/web/pandas/about/roadmap.md index 64e730fc42eed..4c12e3e786a32 100644 --- a/web/pandas/about/roadmap.md +++ b/web/pandas/about/roadmap.md @@ -17,7 +17,7 @@ tracked on our [issue tracker](https://github.com/pandas-dev/pandas/issues). The roadmap is defined as a set of major enhancement proposals named PDEPs. For more information about PDEPs, and how to submit one, please refer to -[PEDP-1](/pdeps/0001-purpose-and-guidelines.html). +[PEDP-1]({{ base_url }}pdeps/0001-purpose-and-guidelines.html). ## PDEPs @@ -27,7 +27,7 @@ For more information about PDEPs, and how to submit one, please refer to