Skip to content

Commit

Permalink
Merge pull request #307 from roc-lang/docs-site
Browse files Browse the repository at this point in the history
Add docs site with older versions
  • Loading branch information
lukewilliamboswell authored Jan 8, 2025
2 parents 2b8b01d + d5c7e99 commit a5d0b51
Show file tree
Hide file tree
Showing 44 changed files with 19,777 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Static site changes are changed files in a PR, but their diffs will be collapsed by default
docs/**/*.html linguist-generated=true
docs/**/*.js linguist-generated=true
docs/**/*.txt linguist-generated=true
39 changes: 39 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy docs to Pages

on:
release:
types:
- published

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload docs/ folder
path: "./docs"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
327 changes: 327 additions & 0 deletions docs/0.17.0/Arg/index.html

Large diffs are not rendered by default.

383 changes: 383 additions & 0 deletions docs/0.17.0/Cmd/index.html

Large diffs are not rendered by default.

342 changes: 342 additions & 0 deletions docs/0.17.0/Dir/index.html

Large diffs are not rendered by default.

344 changes: 344 additions & 0 deletions docs/0.17.0/Env/index.html

Large diffs are not rendered by default.

475 changes: 475 additions & 0 deletions docs/0.17.0/File/index.html

Large diffs are not rendered by default.

292 changes: 292 additions & 0 deletions docs/0.17.0/FileMetadata/index.html

Large diffs are not rendered by default.

363 changes: 363 additions & 0 deletions docs/0.17.0/Http/index.html

Large diffs are not rendered by default.

614 changes: 614 additions & 0 deletions docs/0.17.0/Path/index.html

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions docs/0.17.0/Sleep/index.html

Large diffs are not rendered by default.

287 changes: 287 additions & 0 deletions docs/0.17.0/Stderr/index.html

Large diffs are not rendered by default.

299 changes: 299 additions & 0 deletions docs/0.17.0/Stdin/index.html

Large diffs are not rendered by default.

287 changes: 287 additions & 0 deletions docs/0.17.0/Stdout/index.html

Large diffs are not rendered by default.

392 changes: 392 additions & 0 deletions docs/0.17.0/Tcp/index.html

Large diffs are not rendered by default.

269 changes: 269 additions & 0 deletions docs/0.17.0/Tty/index.html

Large diffs are not rendered by default.

438 changes: 438 additions & 0 deletions docs/0.17.0/Url/index.html

Large diffs are not rendered by default.

300 changes: 300 additions & 0 deletions docs/0.17.0/Utc/index.html

Large diffs are not rendered by default.

244 changes: 244 additions & 0 deletions docs/0.17.0/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit a5d0b51

Please sign in to comment.