From 3dc09210181d634009df9692139d7f2f92d85f2d Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Fri, 22 Mar 2024 19:05:33 +0100 Subject: [PATCH] gitk, kitex, rclone, venv: edit pages (#12539) * gitk, kitex, rclone, venv: remove trailing & leading whitespace * gitk: remove placeholder --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --- pages/common/gitk.md | 2 +- pages/common/kitex.md | 2 +- pages/common/rclone.md | 2 +- pages/common/venv.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/gitk.md b/pages/common/gitk.md index c0e6264f8..407136b86 100644 --- a/pages/common/gitk.md +++ b/pages/common/gitk.md @@ -21,4 +21,4 @@ - Show at most 100 changes in all branches: -` gitk --max-count={{100}} --all` +`gitk --max-count=100 --all` diff --git a/pages/common/kitex.md b/pages/common/kitex.md index f74d05f38..c6854642f 100644 --- a/pages/common/kitex.md +++ b/pages/common/kitex.md @@ -10,7 +10,7 @@ - Generate client codes when a project is not in `$GOPATH`: -` kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}` +`kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}` - Generate client codes with protobuf IDL: diff --git a/pages/common/rclone.md b/pages/common/rclone.md index 22f09991d..514f83abc 100644 --- a/pages/common/rclone.md +++ b/pages/common/rclone.md @@ -17,7 +17,7 @@ - Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file: -`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}} ` +`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}` - Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally): diff --git a/pages/common/venv.md b/pages/common/venv.md index 5a99b5d8b..d9a0cbab7 100644 --- a/pages/common/venv.md +++ b/pages/common/venv.md @@ -5,7 +5,7 @@ - Create a Python virtual environment: -` python -m venv {{path/to/virtual_environment}}` +`python -m venv {{path/to/virtual_environment}}` - Activate the virtual environment (Linux and macOS):