Skip to content

doc4d/doc_tools

Repository files navigation

Move commands

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.

Features

  • 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

Usage

Command Line Arguments

  • -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 the package.json is located).

How to use

  • For commands that move from commands-legacy to commands in the current version.
  1. Manually move the command from commands-legacy to commands in EN.
  2. Place the executable next to docusaurus.config.js and 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/
  1. Manually edit the following files:
  • sidebar.json
  • theme/(theme de la commande)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages