Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yeuai/botscript into master
Browse files Browse the repository at this point in the history
  • Loading branch information
vunb committed Feb 26, 2024
2 parents 52e733a + e143185 commit c97414d
Show file tree
Hide file tree
Showing 16 changed files with 6,886 additions and 4,322 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 10.x
node-version: 16.x
- run: npm install
- run: npx rimraf docs
- run: npm run build:web
Expand All @@ -22,4 +22,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
cname: botscript.yeu.ai
# cname: botscript.yeu.ai
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ typings/

# Output
dist
docs
#docs
test.ts
*.test.ts
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ Example:

### Directive /plugin

A plugin is compiled in the script document and one defined in a directive:
A plugin uses available context params: `({ req, ctx, utils, logger })`
A plugin is compiled in the script document and one defined in a directive:

Syntax:

Expand Down
7 changes: 4 additions & 3 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
<!--link app scripts-->
<script src="https://botscript.yeu.ai/botscript.ai.js"></script>
<script src="https://botscript.yeu.ai/botscript.plugins.js"></script>
<script src="botscript.ai.js"></script>
<script src="botscript.plugins.js"></script>
</head>

<body>
Expand All @@ -19,7 +19,8 @@
<h1 class="display-3">Hello, BotScript!</h1>
<p>A text-based scripting language, dialog system and bot engine for Conversational User Interfaces</p>
<p>
<a class="btn-primary btn-lg" href="https://yeu.ai/#/register" target="_blank">Register Now &raquo;</a>
<a class="btn-primary btn-lg" href="https://botscript-ai.web.app/#/register" target="_blank">Register Now
&raquo;</a>
<iframe src="https://ghbtns.com/github-btn.html?user=yeuai&repo=botscript&type=star&count=true&size=large"
frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
</p>
Expand Down
Loading

0 comments on commit c97414d

Please sign in to comment.