Skip to content

Commit

Permalink
rename git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NailxSharipov committed Aug 31, 2023
1 parent cc06667 commit 42110e9
Show file tree
Hide file tree
Showing 10 changed files with 281 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Nail Sharipov <[email protected]>"]
edition = "2021"
description = "A poly-bool library that supports main operations such as union, intersection, difference, xor, and self-intersection by the even-odd rule. This algorithm is based on Vatti clipping ideas but is an original implementation."
license = "MIT"
repository = "https://github.com/iShape-Rust/i_shape_js"
repository = "https://github.com/iShape-Rust/iShape_js"

[lib]
crate-type = ["cdylib"]
Expand All @@ -14,7 +14,7 @@ crate-type = ["cdylib"]
[dependencies]
i_float = "^0.1.0"
i_shape = "^0.1.0"
i_overlay = { path = "../i_overlay" }
i_overlay = "^0.1.0"


wasm-bindgen = "0.2"
Expand Down
8 changes: 5 additions & 3 deletions docs-gen/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Summary

# Demo
- [Stars Rotation](./demo/stars_demo.md)v
- [Shapes Editor](./demo/editor_demo.md)
- [Chapter 1](./chapter_1.md)

- [iOverlay](./demo/stars_demo.md)
- [Stars Rotation](./demo/stars_demo.md)
- [Shapes Editor](./demo/editor_demo.md)
- [Chapter 1](./chapter_1.md)
18 changes: 17 additions & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html"><strong aria-hidden="true">3.</strong> Chapter 1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.</strong> iOverlay</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">1.2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html"><strong aria-hidden="true">1.3.</strong> Chapter 1</a></li></ol></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
Expand Down Expand Up @@ -187,6 +187,22 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
18 changes: 17 additions & 1 deletion docs/chapter_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html" class="active"><strong aria-hidden="true">3.</strong> Chapter 1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.</strong> iOverlay</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">1.2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html" class="active"><strong aria-hidden="true">1.3.</strong> Chapter 1</a></li></ol></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
Expand Down Expand Up @@ -191,6 +191,22 @@ <h1 id="chapter-1"><a class="header" href="#chapter-1">Chapter 1</a></h1>

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
18 changes: 17 additions & 1 deletion docs/demo/editor_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="../demo/stars_demo.html"><strong aria-hidden="true">1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="../demo/editor_demo.html" class="active"><strong aria-hidden="true">2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="../chapter_1.html"><strong aria-hidden="true">3.</strong> Chapter 1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="../demo/stars_demo.html"><strong aria-hidden="true">1.</strong> iOverlay</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../demo/stars_demo.html"><strong aria-hidden="true">1.1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="../demo/editor_demo.html" class="active"><strong aria-hidden="true">1.2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="../chapter_1.html"><strong aria-hidden="true">1.3.</strong> Chapter 1</a></li></ol></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
Expand Down Expand Up @@ -348,6 +348,22 @@ <h3 class="test-title" id="test-name">Title</h3>

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
28 changes: 25 additions & 3 deletions docs/demo/stars_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="../demo/stars_demo.html" class="active"><strong aria-hidden="true">1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="../demo/editor_demo.html"><strong aria-hidden="true">2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="../chapter_1.html"><strong aria-hidden="true">3.</strong> Chapter 1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="../demo/stars_demo.html" class="active"><strong aria-hidden="true">1.</strong> iOverlay</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../demo/stars_demo.html" class="active"><strong aria-hidden="true">1.1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="../demo/editor_demo.html"><strong aria-hidden="true">1.2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="../chapter_1.html"><strong aria-hidden="true">1.3.</strong> Chapter 1</a></li></ol></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
Expand Down Expand Up @@ -330,8 +330,11 @@ <h3 id="clip-star" class="title"><a class="header" href="#clip-star">Clip Star</

<nav class="nav-wrapper" aria-label="Page navigation">
<!-- Mobile navigation buttons -->
<a rel="prev" href="../demo/stars_demo.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
<i class="fa fa-angle-left"></i>
</a>

<a rel="next" href="../demo/editor_demo.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next" href="../demo/stars_demo.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>

Expand All @@ -341,14 +344,33 @@ <h3 id="clip-star" class="title"><a class="header" href="#clip-star">Clip Star</
</div>

<nav class="nav-wide-wrapper" aria-label="Page navigation">
<a rel="prev" href="../demo/stars_demo.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
<i class="fa fa-angle-left"></i>
</a>

<a rel="next" href="../demo/editor_demo.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next" href="../demo/stars_demo.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>
</nav>

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
24 changes: 20 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<!-- Book generated using mdBook -->
<meta charset="UTF-8">
<title>Stars Rotation - iShape</title>
<title>iOverlay - iShape</title>


<!-- Custom HTML head -->
Expand Down Expand Up @@ -83,7 +83,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html" class="active"><strong aria-hidden="true">1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html"><strong aria-hidden="true">3.</strong> Chapter 1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded affix "><li class="part-title">Demo</li><li class="chapter-item expanded "><a href="demo/stars_demo.html" class="active"><strong aria-hidden="true">1.</strong> iOverlay</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="demo/stars_demo.html"><strong aria-hidden="true">1.1.</strong> Stars Rotation</a></li><li class="chapter-item expanded "><a href="demo/editor_demo.html"><strong aria-hidden="true">1.2.</strong> Shapes Editor</a></li><li class="chapter-item expanded "><a href="chapter_1.html"><strong aria-hidden="true">1.3.</strong> Chapter 1</a></li></ol></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
Expand Down Expand Up @@ -331,7 +331,7 @@ <h3 id="clip-star" class="title"><a class="header" href="#clip-star">Clip Star</
<nav class="nav-wrapper" aria-label="Page navigation">
<!-- Mobile navigation buttons -->

<a rel="next" href="demo/editor_demo.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next" href="demo/stars_demo.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>

Expand All @@ -342,13 +342,29 @@ <h3 id="clip-star" class="title"><a class="header" href="#clip-star">Clip Star</

<nav class="nav-wide-wrapper" aria-label="Page navigation">

<a rel="next" href="demo/editor_demo.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next" href="demo/stars_demo.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>
</nav>

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
Loading

0 comments on commit 42110e9

Please sign in to comment.