Option 1: Homebrew
+After installing homebrew
+Option 2: Git
+This is a popular install method that will avoid requiring sudo.
+Download the NodeJS executable.
+diff --git a/server/documents/behaviors/api.html.eco b/server/documents/behaviors/api.html.eco index 4aeb7638b..2f110d328 100755 --- a/server/documents/behaviors/api.html.eco +++ b/server/documents/behaviors/api.html.eco @@ -501,10 +501,11 @@ type : 'UI Behavior' $('.follow.button') .api({ onResponse: function(response) { - // do some adjustments to response + // make some adjustments to response return response; }, successTest: function(response) { + // test whether a json response is valid return response.success || false; } onSuccess: function(response) { diff --git a/server/documents/introduction/getting-started.html.eco b/server/documents/introduction/getting-started.html.eco new file mode 100644 index 000000000..480010b40 --- /dev/null +++ b/server/documents/introduction/getting-started.html.eco @@ -0,0 +1,289 @@ +--- +layout : 'default' +css : 'started' +standalone : true + +title : 'Getting Started' +description : 'Getting started with Semantic UI' +type : 'Introduction' +--- + + +<%- @partial('header') %> + +
To use our build tools you will need Node
+ +After installing homebrew
+This is a popular install method that will avoid requiring sudo.
+Download the NodeJS executable.
+Semantic UI is released as a package on NPM.
+Hey this is the fun part
+ +Command | +Description | + + +
---|---|
install | +Asks install questions will automatically run if not setup. | +
watch (default) | +Watches for changes in source files, and builds file on change | +
build | +Build all files | +
clean | +Cleans dist/ folder |
+
version | +Outputs current version | +
build-javascript | +Build js files | +
build-css | +Build css files | +
build-assets | +Build assets files | +
serve-docs | +Serves files to local docs instance | +
build-docs | +Builds files to docs folder | +
Build tool settings are stored in a special file called semantic.json
It can be included in any folder that is in a parent folder of the semantic install folder.
If you used the npm or meteor, a semantic.json file is automatically generated for you in the root of your project. If you used a different install, you can run gulp install
or manually rename semantic.json.example
.
You don't have to use our gulp pipeline, just import the task into your own
+13 components: Form, Grid, Menu, Message, Button, Segment, Step, Dropdown, Modal, Feed, Statistic, Card, Item now use flexbox
for positioning. This allows for elements to automatically match heights, and resize content
Grids in 2.0 now use flexbox
and are equal height across rows by default.
Nested scrolling menus are now supported. These menus support all the same keyboard shortcuts and filtering as regular menus.
+Scrolling menu and nested menus are now supported.
+Listing choices in a nested menu will still give all the same keyboard shortcuts and filtering as regular menus.