diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index 607a03be..00000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,51 +0,0 @@ - -name: deploy docs -on: - workflow_dispatch: - push: - branches: - - master - paths: - - '.github/workflows/deploy-docs.yml' - - 'docs/**' - -jobs: - deploy-docs: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup - uses: ./.github/actions/setup-bun - with: - working-directory: ./docs - - - name: Cache build - uses: actions/cache@v4 - with: - path: | - docs/.next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }} - ${{ runner.os }}-nextjs- - - - name: Generate llms.txt and llms-full.txt - run: | - bun run docs:llms - bun run docs:llms-full - - - name: Build docs - run: | - bun --cwd docs build - touch docs/out/.nojekyll - - - name: Deploy docs to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: gh-pages - folder: docs/out - -permissions: - contents: write \ No newline at end of file diff --git a/.github/workflows/test-build-docs.yml b/.github/workflows/test-build-docs.yml deleted file mode 100644 index da5ecb08..00000000 --- a/.github/workflows/test-build-docs.yml +++ /dev/null @@ -1,40 +0,0 @@ - -name: Test Docs build -on: - workflow_dispatch: - pull_request: - paths: - - '.github/workflows/test-build-docs.yml' - - 'docs/**' - -jobs: - build-docs: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup - uses: ./.github/actions/setup-bun - with: - working-directory: ./docs - - - name: Cache build - uses: actions/cache@v4 - with: - path: | - docs/.next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/package.json') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }} - ${{ runner.os }}-nextjs- - - - name: Generate llms.txt and llms-full.txt - run: | - bun run docs:llms - bun run docs:llms-full - - - name: Build docs - run: | - bun --cwd docs build - touch docs/out/.nojekyll \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 54ce9124..f26bb0f4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,15 +1,3 @@ # react-native-video-docs -This is the documentation for the [react-native-video](github.com/TheWidlarzGroup/react-native-video). -Project is using [bun](https://bun.sh) to build and run the documentation. -Framework for static site generation is [Nextra](https://nextra.site/docs) - -```bash -bun install -``` - -To run: - -```bash -bun run dev -``` +Documentation have been moved to [`v7`](https://github.com/TheWidlarzGroup/react-native-video/tree/v7/docs) branch. Any changes should be made there. Any changes to `v7` branch will be automatically deployed to [docs.thewidlarzgroup.com](https://docs.thewidlarzgroup.com/react-native-video). Changed made in `master` branch will be be ignored.