Skip to content

Commit 3520adc

Browse files
committed
Merge branch 'main' into example-consistency-fix
2 parents 72bf5bc + 64132c1 commit 3520adc

File tree

878 files changed

+104463
-24577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

878 files changed

+104463
-24577
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!--
2+
13
# READ ME PLEASE
24
35
> **TL;DR: Make sure to add your changes to versioned docs**
@@ -7,3 +9,5 @@ Thanks for opening a PR!
79
The docs cover several versions of `react-navigation`, and in some cases there are several files (for version 1, version 2 and etc.) that all describe a single page of the docs (eg. "Getting Started").
810
911
Please make sure that the edit you're making in `docs/file-you-edited.md` is also included in the file for the correct version, eg. `/versioned_docs/version-3.x/file-you-edited.md` for version 3. If such file doesn't exist, please create it. :+1:
12+
13+
-->

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ runs:
88
uses: actions/setup-node@v3
99
with:
1010
node-version-file: .nvmrc
11-
cache: 'npm'
1211

1312
- name: Cache dependencies
1413
id: yarn-cache
@@ -17,8 +16,9 @@ runs:
1716
path: |
1817
**/node_modules
1918
.yarn/install-state.gz
20-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
19+
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
2120
restore-keys: |
21+
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
2222
${{ runner.os }}-yarn-
2323
2424
- name: Install dependencies

.github/workflows/autofix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: autofix.ci
22

33
on:
4-
push:
5-
branches:
6-
- main
74
pull_request:
85
branches:
96
- main
@@ -22,7 +19,10 @@ jobs:
2219
uses: ./.github/actions/setup
2320

2421
- name: Fix lint issues
25-
run: yarn markdownlint-cli2-fix
22+
run: yarn markdownlint-cli2 --fix
23+
24+
- name: Prettify code
25+
run: yarn prettier --write .
2626

2727
- name: Autofix
28-
uses: autofix-ci/action@8106fde54b877517c9af2c3d68918ddeaa7bed64
28+
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ jobs:
1717
- name: Lint markdown
1818
run: yarn markdownlint-cli2
1919

20+
- name: Run tests
21+
run: yarn test
22+
2023
- name: Build pages
2124
run: yarn build

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Deploy
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@ node_modules
22
.DS_Store
33
.docusaurus
44
.history
5+
.idea
56

67
build/
78
translated_docs/
89

910
i18n/*
1011
!i18n/en.json
12+
13+
# Yarn
14+
.yarn/*
15+
!.yarn/patches
16+
!.yarn/plugins
17+
!.yarn/releases
18+
!.yarn/sdks
19+
!.yarn/versions
20+
21+
# AI
22+
.claude/

.markdownlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ MD013: false
55

66
# Disable checks for inline HTML
77
MD033: false
8+
9+
# Descriptive link text
10+
MD059: false

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.19.1
1+
lts/*

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build
2+
.yarn

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"tabWidth": 2,
44
"trailingComma": "es5",
55
"useTabs": false
6-
}
6+
}

0 commit comments

Comments
 (0)