8000 Update main branch · cp-algorithms/cp-algorithms@0bf15a6 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 0bf15a6

Browse files
committed
Update main branch
1 parent 2d27dd4 commit 0bf15a6

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

.github/workflows/deploy-cloud-function.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Cloud Function
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
deploy_cloud_function:

.github/workflows/deploy-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- 'main'
77
pull_request:
88

99
jobs:
@@ -83,7 +83,7 @@ jobs:
8383
github_token: ${{ secrets.GITHUB_TOKEN }}
8484
publish_dir: ./public
8585
publish_branch: gh-pages
86-
destination_dir: ${{ github.event.pull_request.number || 'master' }}/
86+
destination_dir: ${{ github.event.pull_request.number || 'main' }}/
8787

8888
- name: Update or create preview comment
8989
if: github.event_name == 'pull_request'

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- 'main'
66
pull_request:
77

88
jobs:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ If you are unfamiliar with the workflow, read [Step-by-step guide to contributin
2525

2626
If you're making a new article or moving existing one to a different place, please make sure that your changes are reflected in
2727

28-
- The list of all articles in [navigation.md](https://github.com/cp-algorithms/cp-algorithms/blob/master/src/navigation.md);
29-
- The list of new articles in [README.md](https://github.com/cp-algorithms/cp-algorithms/blob/master/README.md) (if it is a new article).
28+
- The list of all articles in [navigation.md](https://github.com/cp-algorithms/cp-algorithms/blob/main/src/navigation.md);
29+
- The list of new articles in [README.md](https://github.com/cp-algorithms/cp-algorithms/blob/main/README.md) (if it is a new article).
3030

3131
## Syntax
3232

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Contributors](https://img.shields.io/github/contributors/cp-algorithms/cp-algorithms.svg)](https://github.com/cp-algorithms/cp-algorithms/graphs/contributors)
44
[![Pull Requests](https://img.shields.io/github/issues-pr/cp-algorithms/cp-algorithms.svg)](https://github.com/cp-algorithms/cp-algorithms/pulls)
55
[![Closed Pull Requests](https://img.shields.io/github/issues-pr-closed/cp-algorithms/cp-algorithms.svg)](https://github.com/cp-algorithms/cp-algorithms/pulls?q=is%3Apr+is%3Aclosed)
6-
[![Build](https://img.shields.io/github/actions/workflow/status/cp-algorithms/cp-algorithms/test.yml)](https://github.com/cp-algorithms/cp-algorithms/actions?query=branch%3Amaster+workflow%3Atest)
6+
[![Build](https://img.shields.io/github/actions/workflow/status/cp-algorithms/cp-algorithms/test.yml)](https://github.com/cp-algorithms/cp-algorithms/actions?query=branch%3Amain+workflow%3Atest)
77
[![Translation Progress](https://img.shields.io/badge/translation_progress-85.2%25-yellowgreen.svg)](https://github.com/cp-algorithms/cp-algorithms/wiki/Translation-Progress)
88

99
The goal of this project is to translate the wonderful resource
@@ -22,7 +22,7 @@ Compiled pages are published at [https://cp-algorithms.com/](https://cp-algorith
2222
- October 31, 2022: It is now possible to select and copy $\LaTeX$ source code of formulas within the articles.
2323
- June 8, 2022: Tags are enabled. Each article is now marked whether it is translated or original, overall tag info is present in the [tag index](https://cp-algorithms.com/tags.html). For translated articles, clicking on `From: X` tag would lead to the original article.
2424
- June 7, 2022: Date of last commit and author list with contribution percentage is tracked for each page.
25-
- June 5, 2022: Enabled content tabs and sidebar navigation. The navigation is moved to a [separate page](https://cp-algorithms.com/navigation.html) and its structure should be adjusted in [navigation.md](https://github.com/cp-algorithms/cp-algorithms/blob/master/src/navigation.md) whenever a new article is created or an old one is moved.
25+
- June 5, 2022: Enabled content tabs and sidebar navigation. The navigation is moved to a [separate page](https://cp-algorithms.com/navigation.html) and its structure should be adjusted in [navigation.md](https://github.com/cp-algorithms/cp-algorithms/blob/main/src/navigation.md) whenever a new article is created or an old one is moved.
2626
- January 16, 2022: Switched to the [MkDocs](https://www.mkdocs.org/) site generator with the [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) theme, which give the website a more modern look, brings a couple of new features (dark mode, better search, ...), makes the website more stable (in terms of rendering math formulas), and makes it easier to contribute.
2727

2828
### New articles
@@ -40,7 +40,7 @@ Compiled pages are published at [https://cp-algorithms.com/](https://cp-algorith
4040
- (7 May 2022) [Knuth's Optimization](https://cp-algorithms.com/dynamic_programming/knuth-optimization.html)
4141
- (31 March 2022) [Continued fractions](https://cp-algorithms.com/algebra/continued-fractions.html)
4242

43-
Full list of updates: [Commit History](https://github.com/cp-algorithms/cp-algorithms/commits/master)
43+
Full list of updates: [Commit History](https://github.com/cp-algorithms/cp-algorithms/commits/main)
4444

4545
Full list of articles: [Navigation](https://cp-algorithms.com/navigation.html)
4646

mkdocs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ theme:
2828
- content.code.copy
2929
repo_url: https://github.com/cp-algorithms/cp-algorithms
3030
repo_name: cp-algorithms/cp-algorithms
31-
edit_uri: edit/master/src/
32-
copyright: Text is available under the <a href="https://github.com/cp-algorithms/cp-algorithms/blob/master/LICENSE">Creative Commons Attribution Share Alike 4.0 International</a> License<br/>Copyright &copy; 2014 - 2024 by <a href="https://github.com/cp-algorithms/cp-algorithms/graphs/contributors">cp-algorithms contributors</a>
31+
edit_uri: edit/main/src/
32+
copyright: Text is available under the <a href="https://github.com/cp-algorithms/cp-algorithms/blob/main/LICENSE">Creative Commons Attribution Share Alike 4.0 International</a> License<br/>Copyright &copy; 2014 - 2024 by <a href="https://github.com/cp-algorithms/cp-algorithms/graphs/contributors">cp-algorithms contributors</a>
3333
extra_javascript:
3434
- javascript/config.js
3535
- https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6
@@ -74,6 +74,7 @@ plugins:
7474
docs_path: src/
7575
token: !ENV MKDOCS_GIT_COMMITTERS_APIKEY
7676
enabled: !ENV [MKDOCS_ENABLE_GIT_COMMITTERS, False]
77+
branch: main
7778
- macros
7879
- rss
7980

0 commit comments

Comments
 (0)
0