Skip to content

Commit

Permalink
Move examples to github pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrosen committed Oct 10, 2021
1 parent 4c1baf4 commit 11a816a
Show file tree
Hide file tree
Showing 27 changed files with 31 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ And I would love some help on this project, including documentation, bug fixes,
## Supported by BrowserStack
If you aren't using the same browser and machine that I use, you can thank [BrowserStack](https://browserstack.com/) for their support of this open-source project.

![BrowserStack](https://cdn.rawgit.com/paulrosen/abcjs/main/docs/.vuepress/public/img/browserstack-logo-600x315.png)
![BrowserStack](https://paulrosen.github.io/abcjs/img/browserstack-logo-600x315.png)
5 changes: 5 additions & 0 deletions deploy-docs.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Get the examples somewhere they can be served
cp -r examples docs/.vuepress/dist/examples
cp -r dist docs/.vuepress/dist/dist
cp abcjs-audio.css docs/.vuepress/dist

# navigate into the build output directory
cd docs/.vuepress/dist

Expand Down
2 changes: 1 addition & 1 deletion docs/overview/examples.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Examples

Open the file [Examples Table Of Contents](https://cdn.rawgit.com/paulrosen/abcjs/master/examples/toc.html). That lists all the pre-made demos with links to see each one.
Open the file [Examples Table Of Contents](https://paulrosen.github.io/abcjs/examples/toc.html). That lists all the pre-made demos with links to see each one.

Also look at the [Example Generator](example-generator.md). You can choose which features you want to use and a working demo will be generated for you.

Expand Down
2 changes: 1 addition & 1 deletion docs/overview/purpose.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This library makes it easy to incorporate **sheet music** into your **websites**

If you aren't using the same browser and machine that I use, you can thank [BrowserStack](https://browserstack.com/) for their support of this open-source project.

![BrowserStack](https://cdn.rawgit.com/paulrosen/abcjs/main/docs/browserstack-logo-600x315.png)
![BrowserStack](https://paulrosen.github.io/abcjs/img/browserstack-logo-600x315.png)

## License

Expand Down
2 changes: 1 addition & 1 deletion examples/analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Analyze tune book string</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Animation</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/annotating.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Annotation</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-synth.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<body onload="load()">
<main>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Basic Synth</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-transpose.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Basic Transposition</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Basic abcjs</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/change_glyphs.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Changing Glyphs</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/dragging.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Drag and drop demo</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/editor-synth.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</head>
<body>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Synth with Editor</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/editor-transpose.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</head>
<body>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>abcjs transposition with editor</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</head>
<body>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>abcjs editor</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/full-synth.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Full Synth</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/karaoke-synth.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>abcjs karaoke synth</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/modify-synth-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Modify Synth Input</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/persian.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Microtone Demo</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/play-on-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Play on Repeat</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/printable.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</head>
<body>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>PDF Maker</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/responsive.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Responsive To Browser Width</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/synth-only.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Synth (audio only)</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/tempo.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<body onload="load()">
<main>
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Tempo</h1>
</header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion examples/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script type="text/javascript"></script>
</head>
<body>
<header><img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo"></header>
<header><img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo"></header>

<div class="container">
<h1>Table of Contents</h1>
Expand Down
2 changes: 1 addition & 1 deletion examples/wrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Wrap</h1>
</header>
<form id="parameters">
Expand Down
2 changes: 1 addition & 1 deletion examples/zoom-to-fit.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</head>
<body onload="load()">
<header>
<img src="../docs/.vuepress/public/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<img src="https://paulrosen.github.io/abcjs/img/abcjs_comp_extended_08.svg" alt="abcjs logo">
<h1>Zoom To Fit</h1>
</header>
<div class="container">
Expand Down

0 comments on commit 11a816a

Please sign in to comment.