tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

Need generator for CLI reference page

Open dklassic opened this issue 1 year ago • 5 comments

Need a generator for CLI reference pages to prevent missing commands. Currently CLI reference pages are static pages and will prone to error as Tauri updates.

dklassic avatar Mar 21 '24 14:03 dklassic

you mean the cli.mdx files in references? I just looked it at next and it seems they are not generate, am I missing something?

vasfvitor avatar Mar 21 '24 17:03 vasfvitor

Ah that's my bad then, I thought we still autogen it like in the old docs

FabianLars avatar Mar 21 '24 19:03 FabianLars

No wonder why I can't find the autogen scripts ~ _ ~

Should we still do it in the autogen way somehow or should we just manually change the pages with #1936 and call it a day?

dklassic avatar Mar 22 '24 00:03 dklassic

This could be added to the plans yeah, right now the cli page is outdated, missing tauri permission commands and maybe more. For now I think it's good to just manually change

vasfvitor avatar Mar 22 '24 00:03 vasfvitor

maybe clap markdown could be implemented upstream? But it doesn't seem to be maintained

vasfvitor avatar Mar 25 '24 21:03 vasfvitor