Przeglądaj źródła

HUE-8687 [doc] Improve syling of js parser command instructions

Romain Rigaux 6 lat temu
rodzic
commit
503132c
1 zmienionych plików z 19 dodań i 38 usunięć
  1. 19 38
      docs/sdk/sdk.md

+ 19 - 38
docs/sdk/sdk.md

@@ -979,9 +979,8 @@ JavaScript.
 
 Building with
 
-```
-make docs
-```
+    make docs
+
 ### Javascript
 
 The javascript files are currently being migrated to webpack bundles, during this process some files will live under src/desktop/static/ and some will live under src/dekstop/js
@@ -990,81 +989,63 @@ The javascript files are currently being migrated to webpack bundles, during thi
 
 First make sure all third-party dependencies defined in package.json are installed into node_modules/
 
-```
-npm install
-```
+    npm install
 
 Also run this after making changes to package.json, adding new third-party dependencies etc.
 
 To generate the js bundles run:
 
-```
-npm run webpack
-```
+    npm run webpack
 
 During development the bundles can be autogenerated when it detects changes to the .js files, for this run:
 
-```
-npm run dev
-```
+    npm run dev
 
 Before sending a review with changes to the bundles run:
 
-```
-npm run lint-fix
-```
-
-and possibly fix any issues it might report, after which you should again execute:
+    npm run lint-fix
 
-```
-npm run webpack
-```
+and possibly fix any issues it might report.
 
 ### CSS / LESS
 
 After changing the CSS in a .less file, rebuilding with:
 
-```
-make css
-```
+
+    make css
 
 ### SQL Autocomplete
 
 Install a patched jison:
 
-```
-git clone https://github.com/JohanAhlen/jison
-cd jison
-npm install -g .
-```
+    git clone https://github.com/JohanAhlen/jison
+    cd jison
+    npm install -g .
+
 
 Then run:
 
-```
-make sql-all-parsers
-```
+    make sql-all-parsers
 
 ### Ace Editor
 
 After modifying files under tools/ace-editor run the following to build ace.js
 
-```
-npm install
-make ace
-```
+    npm install
+    make ace
 
 ### Internationalization
 
-How to update all the messages and compile them::
+How to update all the messages and compile them:
 
     make locales
 
-How to update and compile the messages of one app::
+How to update and compile the messages of one app:
 
     cd apps/beeswax
     make compile-locale
 
-How to create a new locale for an app::
+How to create a new locale for an app:
 
     cd $APP_ROOT/src/$APP_NAME/locale
     $HUE_ROOT/build/env/bin/pybabel init -D django -i en_US.pot -d . -l fr