Commit d2adabfa authored by Siong-Ui Te's avatar Siong-Ui Te

dic: minor update

parent 57f2bbff
......@@ -13,16 +13,44 @@ addons:
- make
- git
- gettext
install:
- cd tipitaka/
- make install
script:
- make make-sutta
deploy:
- provider: pages
repo: siongui/tipitaka.sutta.org
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: tipitaka/website
on:
branch: master
# https://docs.travis-ci.com/user/build-matrix/
jobs:
include:
# for dictionary.online-dhamma.net
- env: TARGET_WEBSITE=dhamma
install:
- cd dictionary/
- make install
script:
- make make-dhamma
after_success:
- make custom_dhamma_deploy
# for dictionary.sutta.org
- env: TARGET_WEBSITE=sutta
install:
- cd dictionary/
- make install
script:
- make make-sutta
after_success:
- make custom_sutta_deploy
# dpl v2 (not working for lots of symlinks)
#deploy:
# - provider: pages:git
# repo: siongui/dictionary.sutta.org
# keep_history: false
# token: $GITHUB_TOKEN
# local_dir: website
# on:
# branch: master
# edge: true
# verbose: true
# dpl v1 (not working for lots of symlinks)
#deploy:
# - provider: pages
# repo: siongui/dictionary.sutta.org
# skip_cleanup: true
# github_token: $GITHUB_TOKEN
# local_dir: website
# on:
# branch: master
......@@ -23,6 +23,7 @@ func setWordPreviewUI(word, rawhtml string) {
func httpGetWordJson2(word string) {
wi, err := lib.HttpGetWordJson(libfrontend.HttpWordJsonPath(word))
if err != nil {
// TODO: handle error here.
return
}
......
......@@ -25,7 +25,7 @@ func httpGetWordJson(w string, changeUrl bool) {
wi, err := lib.HttpGetWordJson(libfrontend.HttpWordJsonPath(w))
if err != nil {
mainContent.Set("textContent", err.Error())
mainContent.Set("innerHTML", err.Error()+"<br>"+"No Such Word or Internet Connection Error")
return
}
......
......@@ -75,7 +75,7 @@ offline version is not fully working as the online version.
<a href="https://epalitipitaka.appspot.com/" target="_blank">epalitipitaka.appspot.com</a>
</li>
<li>
<a href="http://tipitaka.sutta.org/" target="_blank">tipitaka.sutta.org</a> (Under major update. Not usable now.)
<a href="http://tipitaka.sutta.org/" target="_blank">tipitaka.sutta.org</a> (Usable but not complete.)
</li>
<li>
<a href="http://tipitaka.online-dhamma.net/" target="_blank">tipitaka.online-dhamma.net</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment