Skip to content

Commit

Permalink
Add a website
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 29, 2024
1 parent 1f5602b commit 3b5f9d3
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches: [main, master]
release:
types: [published]
workflow_dispatch: {}

name: demo-page

jobs:
demo-page:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: quarto-publish-${{ github.event_name != 'pull_request' || github.run_id }}
permissions:
contents: write
steps:
- name: "Check out repository"
uses: actions/checkout@v4

- name: "Set up Quarto"
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "pre-release"

- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
path: docs
21 changes: 21 additions & 0 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project:
type: website

website:
title: "codecelloptions"
reader-mode: true
repo-url: https://github.com/coatless-quarto/codecelloptions/
repo-actions: [edit, issue]
sidebar:
style: "floating"
search: true
tools:
- icon: github
href: https://github.com/coatless-quarto/codecelloptions/
contents:
- text: "Home"
file: index.qmd
- section: "Support"
contents:
- text: "Submit an issue"
href: https://github.com/coatless-quarto/codecelloptions/issues/new/choose
5 changes: 5 additions & 0 deletions docs/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Home"
---

The `codecelloptions` extension allows you to extract options in custom code cells within [Quarto](https://quarto.org/) publishing framework.

0 comments on commit 3b5f9d3

Please sign in to comment.