1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

build: restrict the markdown languages to use for code blocks

This commit is contained in:
albertony
2025-08-26 22:13:53 +02:00
parent 26d3c71bab
commit f361cdf1cb
6 changed files with 39 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ token = {"access_token":...}
Now create the file named `example.yml` with a swarm stack description
like this:
```yml
```yaml
version: '3'
services:
heimdall:
@@ -295,7 +295,7 @@ Each of them should be named after its volume and have at least two
elements, the self-explanatory `driver: rclone` value and the
`driver_opts:` structure playing the same role as `-o key=val` CLI flags:
```yml
```yaml
volumes:
volume_name_1:
driver: rclone
@@ -463,7 +463,7 @@ to inform the docker daemon that a volume is (un-)available.
As a workaround you can setup a healthcheck to verify that the mount
is responding, for example:
```yml
```yaml
services:
my_service:
image: my_image

View File

@@ -3210,13 +3210,13 @@ at rest or transfer. Detailed instructions for popular OSes:
- Generate and store a password
```pwsh
```powershell
New-Object -TypeName PSCredential -ArgumentList "rclone", (ConvertTo-SecureString -String ([System.Web.Security.Membership]::GeneratePassword(40, 10)) -AsPlainText -Force) | Export-Clixml -Path "rclone-credential.xml"
```
- Add the password retrieval instruction
```pwsh
```powershell
[Environment]::SetEnvironmentVariable("RCLONE_PASSWORD_COMMAND", "[System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR((Import-Clixml -Path "rclone-credential.xml").Password))")
```

View File

@@ -260,7 +260,7 @@ the port on the host.
A simple solution may be restarting the Host Network Service with eg. Powershell
```pwsh
```powershell
Restart-Service hns
```

View File

@@ -511,7 +511,7 @@ Instructions
your local roles-directory
2. add the role to the hosts you want rclone installed to:
```yml
```yaml
- hosts: rclone-hosts
roles:
- rclone
@@ -638,7 +638,7 @@ Example of a PowerShell command that creates a Windows service for mounting
some `remote:/files` as drive letter `X:`, for *all* users (service will be
running as the local system account):
```pwsh
```powershell
New-Service -Name Rclone -BinaryPathName 'c:\rclone\rclone.exe mount remote:/files X: --config c:\rclone\config\rclone.conf --log-file c:\rclone\logs\mount.txt'
```