Skip to content

Commit 988ab1f

Browse files
committed
rename swift-6-beta to swift-6
1 parent 805fed6 commit 988ab1f

File tree

189 files changed

+14
-14
lines changed

Some content is hidden

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

189 files changed

+14
-14
lines changed

.github/workflows/deploy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- name: Get swift version
2727
run: swift --version
2828
- name: Build
29-
run: xcrun docc convert swift-6-beta.docc --output-path ./docs --transform-for-static-hosting --experimental-enable-custom-templates
29+
run: xcrun docc convert swift-6.docc --output-path ./docs --transform-for-static-hosting --experimental-enable-custom-templates
3030
- name: Copy Redirects
31-
run: cp swift-6-beta.docc/_redirects ./docs/_redirects
31+
run: cp swift-6.docc/_redirects ./docs/_redirects
3232
- name: Publish
3333
uses: cloudflare/pages-action@v1
3434
with:

README.md

+4-4

add_issue.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ async function main() {
124124
console.log(`Found ${existingIssues.size} existing issues.`);
125125

126126
const directories = [
127-
"swift-6-beta.docc/GuidedTour",
128-
"swift-6-beta.docc/LanguageGuide",
129-
"swift-6-beta.docc/ReferenceManual"
127+
"swift-6.docc/GuidedTour",
128+
"swift-6.docc/LanguageGuide",
129+
"swift-6.docc/ReferenceManual"
130130
];
131131

132132
for (const dir of directories) {

add_metadata.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const path = require('path');
55
const jsonData = require('./swift_docs_structure.json');
66

77
// 根目录路径
8-
const rootDir = './swift-6-beta.docc';
8+
const rootDir = './swift-6.docc';
99

1010
// GitHub 仓库的基础 URL
11-
const githubBaseUrl = 'https://github.com/SwiftGGTeam/the-swift-programming-language-in-chinese/blob/swift-6-beta-translation/swift-6-beta.docc';
11+
const githubBaseUrl = 'https://github.com/SwiftGGTeam/the-swift-programming-language-in-chinese/blob/swift-6-beta-translation/swift-6.docc';
1212

1313
// 递归遍历目录
1414
function traverseDirectory(dir) {

swift-6-beta.docc/GuidedTour/GuidedTour.md renamed to swift-6.docc/GuidedTour/GuidedTour.md

+1-1
File renamed without changes.

swift-6-beta.docc/ReferenceManual/GenericParametersAndArguments.md renamed to swift-6.docc/ReferenceManual/GenericParametersAndArguments.md

+1-1

swift-6-beta.docc/ReferenceManual/Statements.md renamed to swift-6.docc/ReferenceManual/Statements.md

+1-1
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)