[devdocsgjs/main: 19/239] Add missing command prefixes
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 19/239] Add missing command prefixes
- Date: Fri, 8 Apr 2022 07:47:33 +0000 (UTC)
commit b39bebd27a87ec96d28a91d39837e747182f2044
Author: Kid <44045911+kidonng users noreply github com>
Date: Sun Nov 28 08:55:51 2021 +0000
Add missing command prefixes
lib/docs/filters/yarn/entries_berry.rb | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/lib/docs/filters/yarn/entries_berry.rb b/lib/docs/filters/yarn/entries_berry.rb
index b9a74e96..d70608af 100644
--- a/lib/docs/filters/yarn/entries_berry.rb
+++ b/lib/docs/filters/yarn/entries_berry.rb
@@ -4,6 +4,11 @@ module Docs
def get_name
name = at_css('h1').content
+ # TODO: remove when https://github.com/yarnpkg/berry/issues/3809 is resolved
+ if slug.start_with?('sdks') || slug.start_with?('pnpify')
+ name.prepend('yarn ')
+ end
+
name
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]