Skip to content

Commit

Permalink
fix(): small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Feb 23, 2018
1 parent d7d1aa8 commit 9d4d0d9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 33 deletions.
48 changes: 24 additions & 24 deletions docs/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Syncano - Dev Guide</title>
<meta name="description" content="Syncao Dev Guide">
<meta name="description" content="Syncano Dev Guide">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="css/prism.css">
Expand Down Expand Up @@ -69,33 +69,33 @@
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
<script src="https://use.fontawesome.com/d15a7169a8.js"></script>
<script>
Prism.languages.yaml = {
'prolog': /(---|\.\.\.)[^\r\n]*(\r?\n|$)/g,
'comment': /#[^\r\n]*(\r?\n|$)/g,
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+)\b/g,
'attr-name': /[a-zA-Z0-9_-]+\:/gi,
};
Prism.languages.yaml = {
'prolog': /(---|\.\.\.)[^\r\n]*(\r?\n|$)/g,
'comment': /#[^\r\n]*(\r?\n|$)/g,
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+)\b/g,
'attr-name': /[a-zA-Z0-9_-]+\:/gi,
};

Prism.languages.insertBefore('yaml', 'attr-name', {
'important': {
pattern: /\s+(\||\>|-)/g,
inside: {
'important': /(\||\>|-)/,
Prism.languages.insertBefore('yaml', 'attr-name', {
'important': {
pattern: /\s+(\||\>|-)/g,
inside: {
'important': /(\||\>|-)/,
},
rest: Prism.languages.yaml
},
rest: Prism.languages.yaml
},
'keyword': /(&#38;|&amp;|&\z|\*)[\w]+/,
});
'keyword': /(&#38;|&amp;|&\z|\*)[\w]+/,
});
</script>
<!-- Hotjar Tracking Code for https://syncano.github.io/syncano-node-cli/ -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:469637,hjsv:5};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:469637,hjsv:5};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
</script>
</html>
17 changes: 8 additions & 9 deletions packages/template-socket-es6/template/socket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@ endpoints:
parameters:
message:
description: Hello message
example: |
{
"message": "Hello Tyler Durden!"
}
example: |
{
"message": "Hello Tyler Durden!"
}
fail:
exit_code: 400
description: Failed
parameters:
message:
description: Error message

example: |
{
"message": "You have to send "firstname" and "lastname" arguments!"
}
example: |
{
"message": "You have to send "firstname" and "lastname" arguments!"
}

0 comments on commit 9d4d0d9

Please sign in to comment.