From 049d87a5f83d76cad78ac862a2614f6021dfc8f2 Mon Sep 17 00:00:00 2001 From: Matti Schneider Date: Mon, 20 May 2024 22:57:49 +0200 Subject: [PATCH] Switch master branch to main --- .github/workflows/deploy.yaml | 2 +- README.md | 2 +- source/architecture.md | 2 +- source/conf.py | 2 +- source/contribute/documentation.md | 2 +- source/installation/index.md | 2 +- source/simulate/profile-simulation.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) 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/conf.py b/source/conf.py index 42fa8925..cdd9dfd9 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/installation/index.md b/source/installation/index.md index 2b6919a8..ab0ef842 100644 --- a/source/installation/index.md +++ b/source/installation/index.md @@ -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. 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.