mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
build: improve backend docs autogenerated marker line
Replace custom rem hugo shortcode template with HTML comment. HTML comments are now allowed in Hugo without enabling unsafe HTML parsing. Improve the text in the comment: Remove unnecessary quoting, and avoid impression that make backenddocs has to be run and results committed, since we have a lint check which will then report error because we want to prevent manual changes in autogenerated sections. Disable the markdownlint rule line-length on the autogenerated marker line. Make the autogenerated marker detection a bit more robust. See #8942 for more details.
This commit is contained in:
@@ -233,7 +233,7 @@ Rclone does not manage the `:writeback` remote in any way other than writing
|
||||
files back to it. So if you need to expire old files or manage the size then you
|
||||
will have to do this yourself.
|
||||
|
||||
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/union/union.go then run make backenddocs" >}}
|
||||
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/union/union.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
|
||||
### Standard options
|
||||
|
||||
Here are the Standard options specific to union (Union merges the contents of several upstream fs).
|
||||
@@ -332,4 +332,4 @@ Any metadata supported by the underlying remote is read and written.
|
||||
|
||||
See the [metadata](/docs/#metadata) docs for more info.
|
||||
|
||||
{{< rem autogenerated options stop >}}
|
||||
<!-- autogenerated options stop -->
|
||||
|
||||
Reference in New Issue
Block a user