Skip to content

Commit

Permalink
Switch master branch to main (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko authored Oct 1, 2024
2 parents c434a5b + 29f60c0 commit 5a8cbb3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy
on:
workflow_dispatch: # triggered by Core to rebuild the documentation when code comments change
push:
branches: [ master ]
branches: [ main ]

jobs:
validate:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Once you're done, push your changes:
git push origin `git branch --show-current`
```

Finally, open a [pull request](https://github.com/openfisca/openfisca-doc/compare/master...fix-doc).
Finally, open a [pull request](https://github.com/openfisca/openfisca-doc/compare/main...fix-doc).

That's it! 🙌

Expand Down
2 changes: 1 addition & 1 deletion source/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Depending on your goals, you will interact with one or several components of OpenFisca.

[![OpenFisca architecture](https://cdn.rawgit.com/openfisca/openfisca-doc/master/source/static/img/architecture.svg)](https://github.com/openfisca/openfisca-doc/blob/master/source/static/img/architecture.svg)
[![OpenFisca architecture](https://cdn.jsdelivr.net/gh/openfisca/openfisca-doc@main/source/static/img/architecture.svg)](https://github.com/openfisca/openfisca-doc/blob/main/source/static/img/architecture.svg)

## Country Packages

Expand Down
2 changes: 1 addition & 1 deletion source/coding-the-legislation/writing_yaml_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Values can be arithmetic expressions too.
- module.of.second_reform
```

You can find examples of YAML tests of tax and benefit systems with reforms applied on the [country template](https://github.com/openfisca/country-template/tree/master/openfisca_country_template/tests/reforms).
You can find examples of YAML tests of tax and benefit systems with reforms applied on the [country template](https://github.com/openfisca/country-template/tree/main/openfisca_country_template/tests/reforms).

## Running a test

Expand Down
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

myst_heading_anchors = 5 # https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#auto-generated-header-anchors

github_doc_root = 'https://github.com/openfisca/openfisca-doc/tree/master/'
github_doc_root = 'https://github.com/openfisca/openfisca-doc/tree/main/'

# 'config-cache' supresses: Warning cannot cache unpickable configuration value: 'recommonmark_config' (because it contains a function, class, or module object)
suppress_warnings = ['image.nonlocal_uri','config.cache']
Expand Down
2 changes: 1 addition & 1 deletion source/contribute/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ accepted if relevant.

## Build it yourself

Check this [documentation's README](https://github.com/openfisca/openfisca-doc/blob/master/README.md).
Check this [documentation's README](https://github.com/openfisca/openfisca-doc/blob/main/README.md).
2 changes: 1 addition & 1 deletion source/simulate/profile-simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ open performance_graph.html

You'll be greeted by a very nice looking flame graph like this one:

[![Performance graph](https://cdn.rawgit.com/openfisca/openfisca-doc/master/source/static/img/performance_graph.png)](https://github.com/openfisca/openfisca-doc/blob/master/source/static/img/performance_graph.png)
[![Performance graph](https://cdn.jsdelivr.net/gh/openfisca/openfisca-doc@main/source/static/img/performance_graph.png)](https://github.com/openfisca/openfisca-doc/blob/main/source/static/img/performance_graph.png)

Looking at the graph, we now know that the `impots_directs` formula takes quite a lot of time.

Expand Down

0 comments on commit 5a8cbb3

Please sign in to comment.