diff --git a/docs/src/guidelines.md b/docs/src/guidelines.md index 88b15c50..64086a79 100644 --- a/docs/src/guidelines.md +++ b/docs/src/guidelines.md @@ -25,7 +25,7 @@ function guidelines_to_markdown_output(guidelines_function::Function) use_distance_check = false, package_author_approved = false, ) - filter!(x -> x[1] != :update_status, guidelines) + filter!(x -> !(x[1] isa Symbol), guidelines) filter!(x -> !(x[1].docs isa Nothing), guidelines) docs = [rstrip(x[1].docs) for x in guidelines] output_string = join(string.(collect(1:length(docs)), Ref(". "), docs), "\n") @@ -55,7 +55,7 @@ function guidelines_to_markdown_output(guidelines_function::Function) use_distance_check = false, package_author_approved = false, ) - filter!(x -> x[1] != :update_status, guidelines) + filter!(x -> !(x[1] isa Symbol), guidelines) filter!(x -> !(x[1].docs isa Nothing), guidelines) docs = [rstrip(x[1].docs) for x in guidelines] output_string = join(string.(collect(1:length(docs)), Ref(". "), docs), "\n") @@ -139,4 +139,4 @@ Specifically, these labels are: * `Override AutoMerge: package author approved` * This label can be manually applied, but typically is applied by a separate Github Actions workflow which monitors the PR for comments by the package author, and applies this label if they write `[merge approved]`. * This label currently only skips the "sequential version number" check in new versions. In the future, the author-approval mechanism may be used for other checks (on both "new version" registrations and also "new package" registrations). - * When AutoMerge fails a check that can be skipped by author-approval, it will mention so in the comment, and direct authors to comment `[merge approved]` if they want to skip the check. \ No newline at end of file + * When AutoMerge fails a check that can be skipped by author-approval, it will mention so in the comment, and direct authors to comment `[merge approved]` if they want to skip the check.