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 | 28 +++++------------------ mkdocs-website/docs/zh/roadmap.md | 26 ++++----------------- 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, 33 insertions(+), 44 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 ac2fdf7f93e..ac965272dd0 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 - -| 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 | | +- :material-check-bold: - Working +- :material-minus: - Partially working +- :material-close: - Not working + +{{ 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 3d9a8dd7b0d..c804f4269c9 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 - 无法工作 - -| 示例 | 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 | | +- :material-check-bold: - 工作正常 +- :material-minus: - 部分工作 +- :material-close: - 无法工作 + +{{ read_csv("status.csv") }} - Mac 上的 Dialogs 可以工作,但是文件对话框会发出一个需要解决的警告。 diff --git a/mkdocs-website/mkdocs.yml b/mkdocs-website/mkdocs.yml index 71edd409bf8..17fcc3d838b 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)fEu76^?% zYJk{iGAnB~qv7O2)>=m6$?sVsl?xau8A=$cpsEajDnaIfZ~;R;PMU~(Y4x;4m5ko_e<3~>R%Y+eQ~pxz>& X?i_|ppgG1+6+pc}{pOP=vj+kIWuYtb delta 91 zcmaDR@PvPY7^Bfd@%OAo40;R(o4FaA8Cgw$Oq0p|OudXon`N2bGEUZDO=2{d+|63c rXf&CVEpl=fTOBV*y&;1EkThm6oGi@VI(Zkn!sK7pe diff --git a/mkdocs-website/requirements.txt b/mkdocs-website/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..b0746f147cb52ac120d77b5ce2a71e7c42fa2a34 GIT binary patch literal 2080 zcmaKtTW`})5QO&`iJxLrJ8dZsJOB@s5S1!bLgERf&drcG!AURaj|b-4^~rH6s46#! zJ!fWicF*yj-ydykw>Gt+SD|9@?-{K?qvY-f$l^trUHt@XLFQ^%h=l2w&~ zuf^6_CrmB;Oy6NG_5A$6`RRbUv9EUN2pHZT5Vibty=E{}b|M9QfvOH_#~P)b4LBCk z>Ew4Rroviz>TIQZOSyV-1-!wT>#hB1Z9m=Bg|nd7lsP zRZBNjPkkr0EPLs1t?iS?LpJp%`6ETys6&iRIRH za0^S>D_#22YugL65J&5%NQ7igU8&LfR&}Su;_hdyZS9BdM-6FJ%))Zu8`XEZM$UGn z6`eAkNbg~wc;-*((eP<-Q&UV^B$POq#T%`dDJk5g+CyojyPeHF#i{;p9K$@~HL6(k zPHLr{`o$b2hVaSLLQG^?sJClnzVcr?*Wl?!UAl8jt6$+8Ew0F9s8wkFSZp|K^es9} zO4J!M_cFfF+DB(-<*xDWoZ-*>r}s(&+b{p zDSf6Zv|FXYWbO~SR)ce3BOZ3zxKC{EsMzI^76=k&^2iAV*y&E}I1sJejQifD?&tMP z^;RC(k7<25=*YGBm-=H8qx&et#jdBPsLzDp{Fn&OsRB0Uo#bLBskGLLbnbMH!c!$h z*w|-tu}tN9cjP&rkFcNLZ6?A9EBoSDDnT{7+A9%GuEX^F4NCAh@Cvq6cPwEqUB{;ZO`b9W%cytWA)VTb>R^1IG5-_ z>=fRU#}mu04h5=feNK2&