forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete Migration from RDT to Docusaurus (IntersectMBO#6227)
- Delete the contents of doc/read-the-docs-site, only keeping the README with a migration notice. - Move docusaurus folder into doc folder. - Update the GH workflows for publishing the haddock site and docusaurus site. - Delete GH web hook and update redirects on RTD site. - Remove mentions of read-the-docs and combined-haddock from nix code - Update release process, mentioning how to publish Docusaurus and the Haddock site - Update links in Docusaurus mentioning the new haddock site
- Loading branch information
Showing
162 changed files
with
125 additions
and
4,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow builds and publishes the Docusaurus site to: | ||
# https://intersectmbo.github.io/plutus/docs | ||
|
||
name: "🦕 Docusaurus Site" | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: [self-hosted, plutus-shared] | ||
permissions: | ||
contents: write | ||
environment: | ||
name: github-pages | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Build Site | ||
working-directory: doc/docusaurus | ||
run: nix develop --command bash -c 'yarn && yarn build' | ||
|
||
- name: Deploy Site | ||
uses: JamesIves/github-pages-deploy-action@v4.6.1 | ||
with: | ||
folder: doc/docusaurus/build | ||
target-folder: docs | ||
single-commit: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# This workflow builds and publishes the Haddock site to: | ||
# https://intersectmbo.github.io/plutus/haddock/$version | ||
# And optionally to: | ||
# https://intersectmbo.github.io/plutus/haddock/latest | ||
|
||
name: "📜 Haddock Site" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: | | ||
The release version tag. For example if $version == "1.29.0.0" then the | ||
current contents of the branch tagged "1.29.0.0" will be deployed to: | ||
https://intersectmbo.github.io/plutus/haddock/$version | ||
required: true | ||
type: string | ||
|
||
latest: | ||
description: | | ||
If true, then the $version branch will also be deployed to: | ||
https://intersectmbo.github.io/plutus/haddock/latest. | ||
You want to leave this to true unless you are deploying old versions. | ||
type: boolean | ||
required: true | ||
default: true | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: [self-hosted, plutus-shared] | ||
permissions: | ||
contents: write | ||
environment: | ||
name: github-pages | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
with: | ||
ref: ${{ inputs.version }} | ||
|
||
- name: Build Site | ||
run: | | ||
nix develop --command ./scripts/combined-haddock.sh _haddock all | ||
- name: Deploy Site | ||
uses: JamesIves/github-pages-deploy-action@v4.6.1 | ||
with: | ||
folder: _haddock | ||
target-folder: haddock/${{ inputs.version }} | ||
single-commit: true | ||
|
||
- name: Deploy Site (latest) | ||
if: ${{ inputs.latest == true }} | ||
uses: JamesIves/github-pages-deploy-action@v4.6.1 | ||
with: | ||
folder: _haddock | ||
target-folder: haddock/latest | ||
single-commit: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.