move_command is a command-line tool to process and update markdown files by modifying links based on specified patterns. It can add, remove, or replace parts of links in the markdown files.
- Add '../commands/' to the links in commands-legacy
- Remove '../commands-legacy/' from the links in commands folder
- Replace '/commands-legacy/' to '/commands/' in the other files
- Remove specific files in commands-legacy
-f, --file_name <FILE_NAME>: The name of the file to process.-d, --doc_folder <DOC_FOLDER>: The root folder containing the documentation files (where thepackage.jsonis located).
- For commands that move from
commands-legacytocommandsin the current version.
- Manually move the command from
commands-legacytocommandsin EN. - Place the executable next to
docusaurus.config.jsand run:
move_command.exe -f abs.md -d ./If move_commands.exe is oustide the docs/ folder:
move_command.exe -f abs.md -d ./docs/abs.md is the file to be moved.
Another example:
move_command.exe -f wp-truc.md -d ../../docs/- Manually edit the following files:
- sidebar.json
- theme/(theme de la commande)