Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit fab7cfa

Browse files
author
DEWITTE Pierre-Alban
committed
[DOC] Updating generated doc
1 parent 360742d commit fab7cfa

File tree

6 files changed

+13
-24
lines changed

6 files changed

+13
-24
lines changed

Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ALL: clean prepare docker test
44

55
.PHONY: ALL \
66
purge clean prepare \
7-
watch dev
7+
watch dev docs
88

99
purge:
1010
@rm -rf bower_components/
@@ -27,6 +27,7 @@ watch:
2727
dev:
2828
@polyserve
2929

30-
doc:
31-
@rm -rf docs && mkdir -p docs
32-
@sh gp-custom.sh
30+
docs:
31+
@rm -rf docs/components/* && mkdir -p docs/components
32+
@cd docs && bower install -q ../../myscript-math-web
33+
@cp -r bower_components/* docs/components/

docs/components/myscript-math-web/.bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
},
4141
"_source": "/home/padewitte/projets/webcomponents/myscript-math-web",
4242
"_target": "*",
43-
"_originalSource": "/home/padewitte/projets/webcomponents/myscript-math-web",
43+
"_originalSource": "../../myscript-math-web",
4444
"_direct": true
4545
}

docs/components/myscript-math-web/Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ALL: clean prepare docker test
44

55
.PHONY: ALL \
66
purge clean prepare \
7-
watch dev
7+
watch dev docs
88

99
purge:
1010
@rm -rf bower_components/
@@ -27,6 +27,7 @@ watch:
2727
dev:
2828
@polyserve
2929

30-
doc:
31-
@rm -rf docs && mkdir -p docs
32-
@sh gp-custom.sh
30+
docs:
31+
@rm -rf docs/components/* && mkdir -p docs/components
32+
@cd docs && bower install -q ../../myscript-math-web
33+
@cp -r bower_components/* docs/components/

docs/components/myscript-math-web/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ myscript-math-web
33

44
The easy way to integrate mathematical expressions handwriting recognition in your web app.
55

6-
<a href="https://myscript.github.io/myscript-math-web/components/myscript-math-web/demo/"><img src="math.gif" /></a>
6+
<a href="https://myscript.github.io/myscript-math-web/components/myscript-math-web/demo/"><img src="https://github.com/MyScript/myscript-math-web/raw/master/math.gif" /></a>
77

88
```html
99
<html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<META http-equiv=refresh content="0;URL=components/myscript-math-web/">

gp-custom.sh

-14
This file was deleted.

0 commit comments

Comments
 (0)