Skip to content

Commit 3348e51

Browse files
committed
update links with main branch
- links now point to the `main` branch
1 parent edacdde commit 3348e51

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/epidata_development.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ nav_order: 4
66
# Epidata API Development Guide
77

88
**Prerequisite:** this guide assumes that you have read the
9-
[frontend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/frontend_development.md).
9+
[frontend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/frontend_development.md).
1010

1111
This guide describes how to write and test code for the Epidata API. For
1212
preliminary steps,
13-
[install docker and create a virtual network](https://github.com/cmu-delphi/operations/blob/master/docs/frontend_development.md#setup).
13+
[install docker and create a virtual network](https://github.com/cmu-delphi/operations/blob/main/docs/frontend_development.md#setup).
1414

1515
After reading this guide, you may want to visit
1616
[the `fluview_meta` tutorial](new_endpoint_tutorial.md) for an example of how
@@ -28,7 +28,7 @@ You likely won't need to modify the `operations` repo, so cloning directly from
2828
`cmu-delphi` is usually sufficient. However, since you _are_ going to be
2929
modifying `delphi-epidata` sources, you'll first need to fork the repository
3030
and then clone your personal fork. For more details, see the Delphi-specific
31-
[discussion on forking and branching](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md#everyone).
31+
[discussion on forking and branching](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md#everyone).
3232

3333
Here's an example of how to setup your local workspace. Note that you will need
3434
to use your own GitHub username where indicated.
@@ -124,9 +124,9 @@ docker run --rm -p 127.0.0.1:10080:80 \
124124
Unit tests are self-contained, and do not depend on external services like
125125
databases or web servers. You can run unit tests at any time according to the
126126
instructions in the
127-
[backend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md).
127+
[backend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md).
128128

129-
First, [build the `delphi_python` image](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md#creating-an-image).
129+
First, [build the `delphi_python` image](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md#creating-an-image).
130130
Your test sources will live in, and be executed from within, this image.
131131

132132
Then run the tests in a container based on that image:
@@ -242,7 +242,7 @@ point for additional tests. For example, see the tests for the
242242

243243
To run the existing tests and any new tests that you write, you must
244244
follow the
245-
[backend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md)
245+
[backend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md)
246246
_within the same workspace_, so that the `delphi_python` image is created with
247247
any changes you have made (e.g. adding new integration tests). That image will
248248
contain the test driver and the source code of your integration tests. Then,
@@ -259,7 +259,7 @@ More concretely, you can run Epidata API integration tests like this:
259259
above.
260260

261261
3. Build the `delphi_python` image per the
262-
[backend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md#creating-an-image).
262+
[backend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md#creating-an-image).
263263
Your test sources will live in, and be executed from within, this image.
264264

265265
4. Run integration tests in a container based on the `delphi_python` image:
@@ -297,7 +297,7 @@ This allows your code changes to be reflected immediately, without needing to
297297
rebuild containers.
298298

299299
There are some drawbacks however, as discussed in the
300-
[Epicast development guide](https://github.com/cmu-delphi/www-epicast/blob/master/docs/epicast_development.md#develop).
300+
[Epicast development guide](https://github.com/cmu-delphi/www-epicast/blob/main/docs/epicast_development.md#develop).
301301
For example:
302302

303303
- Code running in the container is able to read (and possibly also write) your local filesystem.

docs/new_endpoint_tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In this tutorial we'll create a brand new endpoint for the Epidata API:
2121
# setup
2222

2323
Follow
24-
[the backend guide](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md)
24+
[the backend guide](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md)
2525
and [the epidata guide](epidata_development.md) to install Docker and get your
2626
workspace ready for development. Before continuing, your workspace should look
2727
something like the following:
@@ -174,7 +174,7 @@ Now that we've changed several files, we need to make sure that the changes
174174
work as intended _before_ submitting code for review or committing code to the
175175
repository. Given that the code spans multiple components and languages, this
176176
needs to be an integration test. See more about integration testing in Delphi's
177-
[frontend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/frontend_development.md#integration).
177+
[frontend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/frontend_development.md#integration).
178178
179179
Create an integration test for the new endpoint by creating a new file
180180
`integrations/server/test_fluview_meta.py`. There's a good amount of
@@ -245,7 +245,7 @@ the following row in the appropriate place (i.e. next to the row for
245245
Finally, we just need to run all new and existing tests. It is recommended to
246246
start with the unit tests because they are faster to build, run, and either
247247
succeed or fail. Follow the
248-
[backend development guide](https://github.com/cmu-delphi/operations/blob/master/docs/backend_development.md#running-a-container).
248+
[backend development guide](https://github.com/cmu-delphi/operations/blob/main/docs/backend_development.md#running-a-container).
249249
In summary:
250250

251251
```bash

0 commit comments

Comments
 (0)