diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5eb99a8a..46e8136e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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: diff --git a/README.md b/README.md index 91cb6ecc..ba18ea65 100644 --- a/README.md +++ b/README.md @@ -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! 🙌 diff --git a/source/architecture.md b/source/architecture.md index 1238649a..1f9b61d3 100644 --- a/source/architecture.md +++ b/source/architecture.md @@ -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 diff --git a/source/coding-the-legislation/writing_yaml_tests.md b/source/coding-the-legislation/writing_yaml_tests.md index ba0668a8..932338a5 100644 --- a/source/coding-the-legislation/writing_yaml_tests.md +++ b/source/coding-the-legislation/writing_yaml_tests.md @@ -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 diff --git a/source/conf.py b/source/conf.py index 72565ac1..1bcfd205 100644 --- a/source/conf.py +++ b/source/conf.py @@ -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'] diff --git a/source/contribute/documentation.md b/source/contribute/documentation.md index 4ea6fa0b..6135f316 100644 --- a/source/contribute/documentation.md +++ b/source/contribute/documentation.md @@ -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). diff --git a/source/simulate/profile-simulation.md b/source/simulate/profile-simulation.md index c3f001cd..9696b30d 100644 --- a/source/simulate/profile-simulation.md +++ b/source/simulate/profile-simulation.md @@ -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.