[devdocsgjs/wip/andyholmes/mdn-docs] docs: add JavaScript, TypeScript, Jasmine and CSS docsets




commit b4f1e6def102513ee1b7992345a51fd790d77c1d
Author: Andy Holmes <andrew g r holmes gmail com>
Date:   Sun Aug 14 15:03:24 2022 -0700

    docs: add JavaScript, TypeScript, Jasmine and CSS docsets
    
    JS and CSS got pulled awhile back when the download broke. Add those
    back and throw in Jasmine (testing) and TypeScript.

 Dockerfile                     |  3 +++
 assets/images/gnome-icons.json | 12 ++++++++++++
 2 files changed, 15 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 8ecaad7c..fd316407 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -55,6 +55,9 @@ WORKDIR /opt/devdocs
 
 RUN bundle config set --local deployment 'true' && \
     bundle install
+    
+# JavaScript/TypeScript, Jasmine, CSS
+RUN bundle exec thor docs:download css javascript jasmine typescript
 
 # Generate scrapers
 RUN bundle exec thor gir:generate_all /usr/share/gir-1.0 && \
diff --git a/assets/images/gnome-icons.json b/assets/images/gnome-icons.json
index ac60406d..2726f4cd 100644
--- a/assets/images/gnome-icons.json
+++ b/assets/images/gnome-icons.json
@@ -1,4 +1,16 @@
 {
+  "javascript": [
+    "^javascript"
+  ],
+  "typescript": [
+    "^typescript"
+  ],
+  "jasmine": [
+    "^jasmine"
+  ],
+  "css": [
+    "^css"
+  ],
   "appstream": [
     "^appstreamglib\\d+"
   ],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]