MonoGame/docs.monogame.github.io

Reorganise the repo so support community localisation contributions.

Open

#113 建立於 2025年5月11日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C# (85 fork)auto 404
help wanted

倉庫指標

Star
 (18 star)
PR 合併指標
 (PR 指標待抓取)

描述

The current repo is organised so english is the only language we support. We should reorganise it so that it still supports english, but will allow for community contributions for other languages.

I'm not sure what this would look like but this might be a useful organisation.

/
├── docfx.json
├── en/
│   ├── toc.yml
│   └── articles/
│       └── intro.md
├── fr/
│   ├── toc.yml
│   └── articles/
│       └── intro.md
├── zh/
│   ├── toc.yml
│   └── articles/
│       └── intro.md

All the current content would need to move to the new en folder. The docfx.json would need to be updated as well to add files like so

{
        "files": ["**/*.md", "**/*.yml"],
        "src": "en",
        "dest": "en"
      },
      {
        "files": ["**/*.md", "**/*.yml"],
        "src": "fr",
        "dest": "fr"
      },
      {
        "files": ["**/*.md", "**/*.yml"],
        "src": "zh",
        "dest": "zh"
      }

More research is needed though.

貢獻者指南