Skip to content

Commit a3c743f

Browse files
committed
feat: add edit url
1 parent a3dc999 commit a3c743f

File tree

3 files changed

+43
-47
lines changed

3 files changed

+43
-47
lines changed

crowdin.yaml

+41-42
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,48 @@ base_path: "./"
44
preserve_hierarchy: true
55

66
files:
7-
-
8-
source: '/docs/*.md'
9-
translation: '/website/translated_docs/%locale%/%original_file_name%'
7+
- source: "/docs/*.md"
8+
translation: "/translated_docs/%locale%/%original_file_name%"
109
languages_mapping: &anchor
1110
locale:
12-
'af': 'af'
13-
'ar': 'ar'
14-
'bs-BA': 'bs-BA'
15-
'ca': 'ca'
16-
'cs': 'cs'
17-
'da': 'da'
18-
'de': 'de'
19-
'el': 'el'
20-
'es-ES': 'es-ES'
21-
'fa': 'fa-IR'
22-
'fi': 'fi'
23-
'fr': 'fr'
24-
'he': 'he'
25-
'hu': 'hu'
26-
'id': 'id-ID'
27-
'it': 'it'
28-
'ja': 'ja'
29-
'ko': 'ko'
30-
'mr': 'mr-IN'
31-
'nl': 'nl'
32-
'no': 'no-NO'
33-
'pl': 'pl'
34-
'pt-BR': 'pt-BR'
35-
'pt-PT': 'pt-PT'
36-
'ro': 'ro'
37-
'ru': 'ru'
38-
'sk': 'sk-SK'
39-
'sr': 'sr'
40-
'sv-SE': 'sv-SE'
41-
'tr': 'tr'
42-
'uk': 'uk'
43-
'vi': 'vi'
44-
'zh-CN': 'zh-CN'
45-
'zh-TW': 'zh-TW'
46-
'en-UD': 'en-UD'
47-
- source: '/website/versioned_docs/**/*.md'
48-
translation: '/website/translated_docs/%locale%/**/%original_file_name%'
11+
"af": "af"
12+
"ar": "ar"
13+
"bs-BA": "bs-BA"
14+
"ca": "ca"
15+
"cs": "cs"
16+
"da": "da"
17+
"de": "de"
18+
"el": "el"
19+
"es-ES": "es-ES"
20+
"fa": "fa-IR"
21+
"fi": "fi"
22+
"fr": "fr"
23+
"he": "he"
24+
"hu": "hu"
25+
"id": "id-ID"
26+
"it": "it"
27+
"ja": "ja"
28+
"ko": "ko"
29+
"mr": "mr-IN"
30+
"nl": "nl"
31+
"no": "no-NO"
32+
"pl": "pl"
33+
"pt-BR": "pt-BR"
34+
"pt-PT": "pt-PT"
35+
"ro": "ro"
36+
"ru": "ru"
37+
"sk": "sk-SK"
38+
"sr": "sr"
39+
"sv-SE": "sv-SE"
40+
"tr": "tr"
41+
"uk": "uk"
42+
"vi": "vi"
43+
"zh-CN": "zh-CN"
44+
"zh-TW": "zh-TW"
45+
"en-UD": "en-UD"
46+
- source: "/versioned_docs/**/*.md"
47+
translation: "/translated_docs/%locale%/**/%original_file_name%"
4948
languages_mapping: *anchor
50-
- source: '/website/i18n/en.json'
51-
translation: '/website/i18n/%locale%.json'
49+
- source: "/i18n/en.json"
50+
translation: "/i18n/%locale%.json"
5251
languages_mapping: *anchor

docusaurus.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ module.exports = {
114114
{
115115
docs: {
116116
sidebarPath: require.resolve("./sidebars.js"),
117+
editUrl:
118+
"https://github.com/electron-react-boilerplate/site/edit/master",
117119
},
118120
theme: {
119121
customCss: require.resolve("./src/css/custom.css"),

website/.gitignore

-5
This file was deleted.

0 commit comments

Comments
 (0)