Skip to content

Commit 89d5624

Browse files
jukentkafitzgerald
andauthored
Fix foundations links by removing '.html' (#550)
* fix internal links * Update preamble/how-to-use.md Co-authored-by: Katelyn FitzGerald <[email protected]> --------- Co-authored-by: Katelyn FitzGerald <[email protected]>
1 parent 22ea07a commit 89d5624

File tree

13 files changed

+21
-21
lines changed

13 files changed

+21
-21
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Information on how to contribute to this repository can be found
2-
in the [Pythia Foundations Contributor's Guide](https://foundations.projectpythia.org/appendix/how-to-contribute.html).
2+
in the [Pythia Foundations Contributor's Guide](https://foundations.projectpythia.org/appendix/how-to-contribute).

appendix/how-to-contribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ To update all packages in the currently activated environment to their latest ve
5959
conda update --all
6060
```
6161

62-
[Contributing to Project Pythia]: https://projectpythia.org/contributing.html
62+
[Contributing to Project Pythia]: https://projectpythia.org/contributing

core/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Similarly, a group at the Atmospheric Radiation Measurement (ARM) Climate Resear
109109
have released their Python ARM Radar Toolkit ([Py-ART](http://arm-doe.github.io/pyart/))
110110
for analysing weather radar data.
111111

112-
A great place to start learning about use-cases for domain-specific libraries across the geosciences is the [Pythia Cookbook Gallery](https://cookbooks.projectpythia.org). Also check out the [Pythia Resource Gallery](https://projectpythia.org/resource-gallery.html) and try filtering by domain. The [Python for Atmosphere and Ocean Science (PyAOS) package index](https://pyaos.github.io/packages/)
112+
A great place to start learning about use-cases for domain-specific libraries across the geosciences is the [Pythia Cookbook Gallery](https://cookbooks.projectpythia.org). Also check out the [Pythia Resource Gallery](https://projectpythia.org/resource-gallery) and try filtering by domain. The [Python for Atmosphere and Ocean Science (PyAOS) package index](https://pyaos.github.io/packages/)
113113
attempt to keep track of the domain-specific libraries in these subfiels.
114114

115115

foundations/conda.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here we will cover:
1717

1818
| Concepts | Importance | Notes |
1919
| --------------------------------------------------------------------------------------------------------- | ---------- | ----- |
20-
| [Installing and Running Python](https://foundations.projectpythia.org/foundations/how-to-run-python.html) | Helpful | |
20+
| [Installing and Running Python](https://foundations.projectpythia.org/foundations/how-to-run-python) | Helpful | |
2121

2222
- **Time to learn**: 20 minutes
2323

foundations/getting-started-jupyter.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"\n",
131131
"You can launch JupyterLab from a terminal; it will open up in a web browser. The application will then be running in that web browser. When you open a notebook, Jupyter opens a kernel which can be tied to a specific coding language.\n",
132132
"\n",
133-
"To launch the JupyterLab interface in your browser, follow the instructions in [Installing and Running Python: Python in Jupyter](https://foundations.projectpythia.org/foundations/jupyter.html).\n",
133+
"To launch the JupyterLab interface in your browser, follow the instructions in [Installing and Running Python: Python in Jupyter](https://foundations.projectpythia.org/foundations/jupyter).\n",
134134
"\n",
135135
"![Local Execution Model](../images/local-execution-model.gif)"
136136
]

foundations/github/basic-git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ That's the first thing to understand. GitHub is a web-based platform for hosting
5454

5555
#### A little history and nomenclature
5656

57-
Git has been around [since the mid-2000s](https://en.wikipedia.org/wiki/Git). It was originally written by Linus Torvalds specifically for use in development of the Linux kernel. Git is [FOSS](https://foundations.projectpythia.org/foundations/github/what-is-github.html#free-and-open-source-software-foss) and comes pre-installed on many Linux and Mac OS systems.
57+
Git has been around [since the mid-2000s](https://en.wikipedia.org/wiki/Git). It was originally written by Linus Torvalds specifically for use in development of the Linux kernel. Git is [FOSS](https://foundations.projectpythia.org/foundations/github/what-is-github#free-and-open-source-software-foss) and comes pre-installed on many Linux and Mac OS systems.
5858

5959
There are many other VCSs out there. A few that you might encounter in scientific codebases include [Subversion](https://subversion.apache.org), [Mercurial](https://www.mercurial-scm.org), and [CVS](https://en.wikipedia.org/wiki/Concurrent_Versions_System). However, git is overwhelmingly the VCS of choice for open-source projects in the Scientific Python ecosystem these days (as well as among software developers more generally).
6060

foundations/github/contribute-to-pythia.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@
2929

3030
---
3131

32-
Now that you have become more familiar with how to use Git and GitHub, you might have an idea or some material that you want to contribute to Project Pythia! The [Project Pythia Contributor's Guide](https://projectpythia.org/contributing.html) describes the steps required to submit a PR to any of Project Pythia's repos. Here, we will go through an example of submitting a PR to `pythia-foundations`.
32+
Now that you have become more familiar with how to use Git and GitHub, you might have an idea or some material that you want to contribute to Project Pythia! The [Project Pythia Contributor's Guide](https://projectpythia.org/contributing) describes the steps required to submit a PR to any of Project Pythia's repos. Here, we will go through an example of submitting a PR to `pythia-foundations`.
3333

3434
## Suggest a change
3535

36-
One simple way to contribute is to fix a typo or suggest a change to one of the tutorials. For example, in the [Computations and Masks with Xarray tutorial](https://foundations.projectpythia.org/core/xarray/computation-masking.html), let's suggest a clarification that the sea surface temperature is called `tos` in the dataset we are using.
36+
One simple way to contribute is to fix a typo or suggest a change to one of the tutorials. For example, in the [Computations and Masks with Xarray tutorial](https://foundations.projectpythia.org/core/xarray/computation-masking), let's suggest a clarification that the sea surface temperature is called `tos` in the dataset we are using.
3737

3838
<img src="../../images/GitHubContrXarray.png" alt="Computations and Masks with Xarray">
3939

4040
We could open an issue to suggest this change in order to get feedback on the idea before we take the time to edit files, but since this is such a small change, let's just create a PR.
4141

4242
## Make the edits
4343

44-
We will follow the [Forking Workflow](https://foundations.projectpythia.org/foundations/github/github-workflows.html#forking-workflow) described in the previous section of this tutorial, assuming `pythia-foundations` has already been forked:
44+
We will follow the [Forking Workflow](https://foundations.projectpythia.org/foundations/github/github-workflows#forking-workflow) described in the previous section of this tutorial, assuming `pythia-foundations` has already been forked:
4545

4646
- Create a new branch with a descriptive name
4747
- Make the changes and commit them locally
@@ -78,7 +78,7 @@ Now, going to our remote repo on GitHub, forked from `pythia-foundations`, we se
7878

7979
<img src="../../images/GitHubContrFork.png" alt="GitHub Forked Repo">
8080

81-
Project Pythia has an automated reviewer system: when a PR is created, two members of the organization will be randomly chosen to review it. If your PR is not immediately ready to be approved and merged, open it as a draft to delay the review process. As shown in this [Git Branches section](https://foundations.projectpythia.org/foundations/github/git-branches.html#merging-branches), the "Draft pull request" button is found using the arrow on the "Create pull request" button.
81+
Project Pythia has an automated reviewer system: when a PR is created, two members of the organization will be randomly chosen to review it. If your PR is not immediately ready to be approved and merged, open it as a draft to delay the review process. As shown in this [Git Branches section](https://foundations.projectpythia.org/foundations/github/git-branches#merging-branches), the "Draft pull request" button is found using the arrow on the "Create pull request" button.
8282

8383
Let's add the `content` tag and open this one as a draft for now:
8484

foundations/github/github-repos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
| Concepts | Importance | Notes |
1515
| ----------------------------------------------------------------------------------------------- | ---------- | ----- |
16-
| [What is GitHub?](https://foundations.projectpythia.org/foundations/github/what-is-github.html) | Necessary | |
16+
| [What is GitHub?](https://foundations.projectpythia.org/foundations/github/what-is-github) | Necessary | |
1717

1818
- **Time to learn**: 15 minutes
1919

@@ -52,7 +52,7 @@ As you can see by the recent timestamps, these repositories are actively changin
5252
:class: tip
5353
Notice that each of the three *Repositories* each exist as part of their own *Organization*. In other words, the NumPy repository exists within the NumPy organization; the Xarray repo exists within the Pydata org, and so forth.
5454
55-
When you [create your own GitHub account](https://foundations.projectpythia.org/foundations/github/what-is-github.html), your user ID functions as the *organization*. Any repositories you create (and therefore, *own*) will exist within that org.
55+
When you [create your own GitHub account](https://foundations.projectpythia.org/foundations/github/what-is-github), your user ID functions as the *organization*. Any repositories you create (and therefore, *own*) will exist within that org.
5656
```
5757

5858
Another example is this project's [Pythia Foundations repository](https://github.com/ProjectPythia/pythia-foundations), on which this tutorial is stored. It is owned by the [Project Pythia organization](https://github.com/ProjectPythia). This organization also owns several other repositories that store the files needed to generate <https://projectpythia.org/>, among other things.

foundations/how-to-run-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This section provides an overview of different ways to run Python code, and quic
1313

1414
| Concepts | Importance | Notes |
1515
| -------------------------------------------------------------------------------- | ---------- | ----- |
16-
| [Why Python?](https://foundations.projectpythia.org/foundations/why-python.html) | Helpful | |
16+
| [Why Python?](https://foundations.projectpythia.org/foundations/why-python) | Helpful | |
1717

1818
- **Time to learn**: 20 minutes
1919

foundations/jupyter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You'd like to learn to run Python in a Jupyter session. Here we will cover:
1414

1515
| Concepts | Importance | Notes |
1616
| --------------------------------------------------------------------------------------------------------- | ---------- | ----- |
17-
| [Installing and Running Python](https://foundations.projectpythia.org/foundations/how-to-run-python.html) | Helpful | |
17+
| [Installing and Running Python](https://foundations.projectpythia.org/foundations/how-to-run-python) | Helpful | |
1818

1919
- **Time to learn**: 20 minutes
2020

0 commit comments

Comments
 (0)