Skip to content

Commit

Permalink
chore(docs): Remove very old versions of the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe committed Nov 18, 2024
1 parent a8421af commit d107d45
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 228 deletions.
55 changes: 0 additions & 55 deletions .github/docs-0.1.0.patch

This file was deleted.

55 changes: 0 additions & 55 deletions .github/docs-0.2.0.patch

This file was deleted.

95 changes: 0 additions & 95 deletions .github/docs-0.3.0.patch

This file was deleted.

43 changes: 20 additions & 23 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Generate docs
on:
pull_request:
pull_request:
branches:
- main
paths:
- '.github/**'
- 'docs/**'
- ".github/**"
- "docs/**"
push:
branches:
- main
Expand All @@ -29,9 +29,6 @@ jobs:
- ref: "0.5.1"
- ref: "0.5.0"
- ref: "0.4.0"
- ref: "0.3.0"
- ref: "0.2.0"
- ref: "0.1.0"
steps:
- uses: actions/checkout@v2
if: ${{ matrix.ref == 'main' }}
Expand Down Expand Up @@ -101,20 +98,20 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
steps:
- name: Fetch artifacts (first root then others so the ordering is correct)
uses: actions/download-artifact@v2
with:
name: main-root
path: ${{ github.workspace }}/docs/book
- name: Fetch artifacts (first root then others so the ordering is correct)
uses: actions/download-artifact@v2
with:
path: ${{ github.workspace }}/docs/pages
- name: Install pages
run: mv ${{ github.workspace }}/docs/pages/* ${{ github.workspace }}/docs/book/
- name: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_dir: ./docs/book
- name: Fetch artifacts (first root then others so the ordering is correct)
uses: actions/download-artifact@v2
with:
name: main-root
path: ${{ github.workspace }}/docs/book
- name: Fetch artifacts (first root then others so the ordering is correct)
uses: actions/download-artifact@v2
with:
path: ${{ github.workspace }}/docs/pages
- name: Install pages
run: mv ${{ github.workspace }}/docs/pages/* ${{ github.workspace }}/docs/book/
- name: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_dir: ./docs/book

0 comments on commit d107d45

Please sign in to comment.