Skip to content

Commit

Permalink
chore: remove 2.10~2.15 versions (halo-dev#431)
Browse files Browse the repository at this point in the history
移除 2.10~2.15 的文档,已经将 2.10~2.15 的文档转移到 https://v2.archive-docs.halo.run/

```release-note
None
```
  • Loading branch information
ruibaby authored Oct 15, 2024
1 parent 9876911 commit 06e5cb2
Show file tree
Hide file tree
Showing 800 changed files with 2 additions and 70,871 deletions.
18 changes: 1 addition & 17 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,7 @@ const config = {
sitemap: {
changefreq: "weekly",
priority: 0.5,
ignorePatterns: [
"/2.10/**",
"/2.11/**",
"/2.12/**",
"/2.13/**",
"/2.14/**",
"/2.15/**",
"/2.16/**",
"/2.17/**",
"/2.18/**",
],
ignorePatterns: ["/2.16/**", "/2.17/**", "/2.18/**", "/2.19/**"],
},
googleAnalytics: {
trackingID: "UA-110780416-7",
Expand Down Expand Up @@ -239,12 +229,6 @@ const config = {
createRedirects(existingPath) {
if (existingPath.startsWith("/2.20.0-SNAPSHOT/")) {
return [
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.10.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.11.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.12.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.13.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.14.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.15.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.16.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.17.0-SNAPSHOT/"),
existingPath.replace("/2.20.0-SNAPSHOT/", "/2.18.0-SNAPSHOT/"),
Expand Down
16 changes: 0 additions & 16 deletions versioned_docs/version-2.10/about.md

This file was deleted.

28 changes: 0 additions & 28 deletions versioned_docs/version-2.10/contribution/issue.md

This file was deleted.

110 changes: 0 additions & 110 deletions versioned_docs/version-2.10/contribution/pr.md

This file was deleted.

26 changes: 0 additions & 26 deletions versioned_docs/version-2.10/contribution/sponsor.md

This file was deleted.

89 changes: 0 additions & 89 deletions versioned_docs/version-2.10/developer-guide/annotations-form.md

This file was deleted.

Loading

0 comments on commit 06e5cb2

Please sign in to comment.