
* add docsmg tool * moved to the correct scripts directory * removed test files * added install script and readme draft to docsmg * fix install script * fixed issues * Revert "fixed issues" This reverts commita51192025f
. * Revert "Revert "fixed issues"" This reverts commitab68918fea
. * added dotenv and updated readme * fixed install script * update readme to ensure that new installers of rust have envs loaded
979 B
979 B
Docsmg
Steps to install
- Verify that you have the latest version of rust installed
- Install rust or update rust to the latest version with
rustup update
- If installing rust from scratch, you may need to run
. $HOME/.cargo/env
- Install rust or update rust to the latest version with
- Install the cli tool with
cargo install --git https://github.com/goauthentik/authentik --bin docsmg
Steps to use
- Generate a migratefile with
docsmg generate >> migratefile
- Find the files you want to move in
migratefile
and insert the path you want to move them to after the arrow; expath/to/move/from/file.md -> path/to/move/to/file.md
Note: make sure to put spaces on either side of the arrow or that line won't be recognized - Once you have entered all the paths you want to move, migrate the files with
docsmg migrate
- To revert the migration, use
docsmg unmigrate
; Note: DO NOT edit the migrate file inbetween steps 3 and 4 - Repeat steps 2-4 until you are satified with the result