Skip to content

Commit

Permalink
Merge branch 'main' into assets-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IMB11 authored Feb 12, 2024
2 parents b522a51 + e842428 commit d2a28fa
Show file tree
Hide file tree
Showing 6 changed files with 790 additions and 332 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build
on: [push, pull_request]

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
docs:
runs-on: ubuntu-22.04
Expand Down
6 changes: 5 additions & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ import { removeVersionedItems } from "./seo"
// https://www.npmjs.com/package/vitepress-versioning-plugin
export default defineVersionedConfig(__dirname, {
versioning: {
latestVersion: '1.20.4'
latestVersion: '1.20.4',
rewrites: {
localePrefix: 'translated'
}
},

rewrites: {
// Ensures that it's `/contributing` instead of `/CONTRIBUTING`.
'CONTRIBUTING.md': 'contributing.md',
'translated/:lang/(.*)': ':lang/(.*)'
},

title: "Fabric Documentation",
Expand Down
8 changes: 8 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
files:
- source: /**/*.md
ignore:
- /versions/**/*
- /translated/**/*
- LICENSE.md
- README.md
translation: /translated/%locale_with_underscore%/%original_path%/%original_file_name%
Empty file removed es/.gitkeep
Empty file.
Loading

0 comments on commit d2a28fa

Please sign in to comment.