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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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/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/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ The purpose of this section is to bring together the clever solutions the commun
- [How to work on OpenFisca on a Windows without being administrator](./windows-no-admin.md)
- [How to test your changes on "ready to use" situations](./test_situations.md)

> You're welcome to share your tips on how to solve technical issues! Please update [this section](https://github.com/openfisca/openfisca-doc/edit/master/recipes.md) (in English) or this [wiki FAQ](https://github.com/openfisca/tutorial/wiki) in your preferred language.
> You're welcome to share your tips on how to solve technical issues! Please update [this section](https://github.com/openfisca/openfisca-doc/edit/main/recipes.md) (in English) or this [wiki FAQ](https://github.com/openfisca/tutorial/wiki) in your preferred language.
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