Skip to content

Commit

Permalink
Merge pull request #61 from THEOplayer/redirect-docs
Browse files Browse the repository at this point in the history
Redirect GitHub Pages to new documentation website
  • Loading branch information
MattiasBuelens authored Apr 16, 2024
2 parents 2a090a4 + 1f67918 commit 5ae6f79
Show file tree
Hide file tree
Showing 45 changed files with 144 additions and 1,057 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ jobs:
- run: npm ci --workspaces
- run: npm run build --workspaces
- run: npm run docs --workspaces
- run: cp -r dist/ react/dist/ docs/
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
source: ./site
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ dist

### Project
dist/
docs/api/
docs/react-api/
site/api/
site/react-api/
8 changes: 4 additions & 4 deletions .idea/web-ui.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules/
dist/
docs/_includes/
docs/_site/
docs/api/
docs/react-api/
vendor/
site/_includes/
site/_site/
site/api/
site/react-api/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The current THEOplayer Web SDK comes with a built-in UI based on [video.js](http
ui.player.addEventListener('playing', () => console.log('THEOplayer is now playing'));
```
See [docs/examples/default-ui.html](https://github.com/THEOplayer/web-ui/blob/main/docs/examples/default-ui.html) for a complete example.
See [default-ui/demo.html](https://github.com/THEOplayer/web-ui/blob/main/docs/static/open-video-ui/v1/examples/web/default-ui/demo.html) for a complete example.
### Custom UI
Expand All @@ -125,7 +125,7 @@ If you want to fully customize your video player layout, you can use a `<theopla
</theoplayer-ui>
```
See [docs/examples/custom-ui.html](https://github.com/THEOplayer/web-ui/blob/main/docs/examples/custom-ui.html) for a complete example.
See [custom-ui/demo.html](https://github.com/THEOplayer/web-ui/blob/main/docs/static/open-video-ui/v1/examples/web/custom-ui/demo.html) for a complete example.
### Legacy browser support
Expand Down
14 changes: 0 additions & 14 deletions docs/_includes/head.html

This file was deleted.

31 changes: 0 additions & 31 deletions docs/_includes/header.html

This file was deleted.

41 changes: 0 additions & 41 deletions docs/_layouts/example-react.html

This file was deleted.

38 changes: 0 additions & 38 deletions docs/_layouts/example.html

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api.md

This file was deleted.

53 changes: 0 additions & 53 deletions docs/examples/ads.html

This file was deleted.

111 changes: 0 additions & 111 deletions docs/examples/custom-ui.html

This file was deleted.

Loading

0 comments on commit 5ae6f79

Please sign in to comment.