From 947d4296882857b2ea5ba0c3f9b0ab720f510e02 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 5 Nov 2023 14:42:32 +1100 Subject: [PATCH] Build status table from CSV --- mkdocs-website/docs/en/roadmap.md | 26 +++++------------------ mkdocs-website/docs/zh/roadmap.md | 24 ++++----------------- mkdocs-website/mkdocs.yml | 7 +++++- mkdocs-website/requirements.insiders.txt | Bin 2020 -> 2150 bytes mkdocs-website/requirements.txt | Bin 0 -> 2080 bytes mkdocs-website/shared/status.csv | 16 ++++++++++++++ 6 files changed, 31 insertions(+), 42 deletions(-) create mode 100644 mkdocs-website/requirements.txt create mode 100644 mkdocs-website/shared/status.csv diff --git a/mkdocs-website/docs/en/roadmap.md b/mkdocs-website/docs/en/roadmap.md index ac2fdf7f..ac965272 100644 --- a/mkdocs-website/docs/en/roadmap.md +++ b/mkdocs-website/docs/en/roadmap.md @@ -1,4 +1,4 @@ -# Roadmap +**# Roadmap The roadmap is a living document and is subject to change. If you have any suggestions, please open an issue. Each milestone will have a set of goals that we are aiming to achieve. These are subject to change. @@ -14,27 +14,11 @@ The main goal is to get most of the examples working on all platforms. #### Status -- W - Working -- P - Partially working -- N - Not working +- :material-check-bold: - Working +- :material-minus: - Partially working +- :material-close: - Not working -| Example | Mac | Windows | Linux | -|---------------|-----|---------|-------| -| binding | W | W | | -| build | W | W | | -| clipboard | W | W | | -| context menus | W | W | | -| dialogs | P | W | | -| drag-n-drop | W | N | | -| events | W | W | | -| frameless | W | W | | -| keybindings | W | W | | -| plain | W | W | | -| screen | W | W | | -| systray | W | W | | -| video | | W | | -| window | P | W | | -| wml | W | W | | +{{ read_csv("status.csv") }} - Mac Dialogs work, however the file dialogs issue a warning that needs to be fixed. diff --git a/mkdocs-website/docs/zh/roadmap.md b/mkdocs-website/docs/zh/roadmap.md index 3d9a8dd7..c804f426 100644 --- a/mkdocs-website/docs/zh/roadmap.md +++ b/mkdocs-website/docs/zh/roadmap.md @@ -14,27 +14,11 @@ Alpha 1 是最初的发布版本。旨在收集关于新 API 的反馈,并让 #### 状态 -- W - 工作正常 -- P - 部分工作 -- N - 无法工作 +- :material-check-bold: - 工作正常 +- :material-minus: - 部分工作 +- :material-close: - 无法工作 -| 示例 | Mac | Windows | Linux | -|---------------|-----|---------|-------| -| binding | W | W | | -| build | W | W | | -| clipboard | W | W | | -| context menus | W | W | | -| dialogs | P | W | | -| drag-n-drop | W | N | | -| events | W | W | | -| frameless | W | W | | -| keybindings | W | W | | -| plain | W | W | | -| screen | W | W | | -| systray | W | W | | -| video | | W | | -| window | P | W | | -| wml | W | W | | +{{ read_csv("status.csv") }} - Mac 上的 Dialogs 可以工作,但是文件对话框会发出一个需要解决的警告。 diff --git a/mkdocs-website/mkdocs.yml b/mkdocs-website/mkdocs.yml index 71edd409..17fcc3d8 100644 --- a/mkdocs-website/mkdocs.yml +++ b/mkdocs-website/mkdocs.yml @@ -50,6 +50,9 @@ theme: name: Switch to light mode plugins: + - table-reader: + data_path: "shared" + allow_missing_files: False - i18n: docs_structure: folder languages: @@ -182,6 +185,8 @@ markdown_extensions: - pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg - +watch: + - overrides + - shared copyright: Copyright © 2023 Lea Anthony diff --git a/mkdocs-website/requirements.insiders.txt b/mkdocs-website/requirements.insiders.txt index a07ac4787838a0cf25b6b152e994f8c691783580..f51e415ed3bb6cfbfbd71edb3e02c66e739706cd 100644 GIT binary patch delta 225 zcmaFD|4d+l7^Cq-@%OC840;TPo4FaA85vC{PiE?6G~TSp{FYHPk0FI2k)fEumcf?6 z2&9HVkHKg%D{D5R;p9TrT1Ml^?^z?23m7UHN*Jo3stg#67(nKMZ~;R;Loq`MgW+Un zwq|aSh#`XkgC2wNPGH`)q5*bPvN*FR3(iln^au|vk@)=4Q z3K&el>P^5ZLAs0>KORU|W{G894WgqUE&V8CDmb{9yM5d+LNR67hAOp(mUU`S*rVkl-vWhi0LWyoX5 zXDDLGWk_VmVaQ~t0^0!cG03kVYzTEfNH&=v8|*3zuxWY>=1{qOh8(adiC}X;x(yig z7(iiQ231ka0D_>I zrV8TPbcPIu0tQ`%Oom*B0SUAo{@1ks%dPM4q*1qvmQ zKOt!jzj|GURE7!$kO_GV#SEF?*hBaMoBN9yN*EHsIV%~QZVVYLpy3a3qaHL>pxO)4 zlf;n2kjkLTP{feRkO&UVA~YX^Tn`F;Q0ju%oySlLPMMYPa5X|I2MQPx89+HL5gKCY zU{#P@4hb!g3Q&lHQXa^cAR9oYgJK7g<3K9%7*ZG#p>YSYAL0{G%z|V=sk)er zVfqaj5NZM#G8uBf`MMlzKPY{HLIH#!X5@fFEDfB$av4&<AZ~!Tw34Ba zp%k1NAt4U38Kef`I#6hU^0+QI%s^oZDccdHKd8)ug+8cEsDkl0i8Dx=1F3<80?37scmjokF*wd4=791F#0*f}8G_R!Oa_#z6QSh< zD4ii}ht+%_-Kh*^NaYPEze0Qq$tj?E5|qmzB@)O4P_Bm90P&b@5&neuu#}+)oMJN>k{FDkApuIQuzIQ-oL-X|GQj04B$QFZv78|lT(jqa V%P~-j&SOZ2rbdu!LH>rg1ptHsF7E&U literal 0 HcmV?d00001 diff --git a/mkdocs-website/shared/status.csv b/mkdocs-website/shared/status.csv new file mode 100644 index 00000000..161829a2 --- /dev/null +++ b/mkdocs-website/shared/status.csv @@ -0,0 +1,16 @@ +" ",Mac,Windows,Linux +binding,:material-check-bold:,:material-check-bold:,:material-check-bold: +build,:material-check-bold:,:material-check-bold:," " +clipboard,:material-check-bold:,:material-check-bold:,:material-check-bold: +context menus,:material-check-bold:,:material-check-bold:,:material-check-bold: +dialogs,:material-minus:,:material-check-bold:," " +drag-n-drop,:material-check-bold:,:material-close:," " +events,:material-check-bold:,:material-check-bold:," " +frameless,:material-check-bold:,:material-check-bold:," " +keybindings,:material-check-bold:,:material-check-bold:," " +plain,:material-check-bold:,:material-check-bold:," " +screen,:material-check-bold:,:material-check-bold:," " +systray,:material-check-bold:,:material-check-bold:,:material-check-bold: +video,:material-check-bold:,:material-check-bold:," " +window,:material-minus:,:material-check-bold:," " +wml,:material-check-bold:,:material-check-bold:," " \ No newline at end of file