Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch master branch to main #309

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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