Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 1 addition & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ jobs:
fetch-depth: '0'
path: 'series/2.x'

- name: Checkout series/1.x Branch
uses: actions/checkout@v3
with:
ref: 'series/1.x'
fetch-depth: '0'
path: 'series/1.x'

- name: Setup Scala and Java
uses: actions/setup-java@v3
with:
Expand All @@ -130,26 +123,12 @@ jobs:
with:
node-version: 16

- name: Generate Series 1.x Docs
working-directory: ./series/1.x
run: |
sbt docs/mdoc
sbt docs/unidoc

- name: Generate Series 2.x Docs
working-directory: ./series/2.x
run: |
sbt docs/mdoc
sbt docs/unidoc

- name: Move Series 1.x Docs To 2.x Docs
working-directory: ./
run: |
mkdir -p ./series/2.x/website/versioned_docs/version-1.x
mv ./series/1.x/zio-docs/target/mdoc/* ./series/2.x/website/versioned_docs/version-1.x
mkdir -p ./series/2.x/website/static/api/1.x
mv ./series/1.x/website/static/api ./series/2.x/website/static/api-1.x

- name: Install The Whole Website
working-directory: ./series/2.x/website
run: |
Expand Down Expand Up @@ -332,7 +311,7 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-20.04
steps:
- name: Checkout series/1.x Branch
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
4 changes: 0 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ const config = {
'current': {
label: 'ZIO 2.x'
},
'1.x': {
label: 'ZIO 1.x',
path: 'version-1.x'
}
},
remarkPlugins: [
[require('blended-include-code-plugin'), { marker: 'CODE_INCLUDE' }],
Expand Down
1 change: 0 additions & 1 deletion website/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[
"1.x"
]