diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml new file mode 100644 index 0000000..6bfb1f7 --- /dev/null +++ b/.github/workflows/publish-website.yml @@ -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 \ No newline at end of file diff --git a/docs/_quarto.yml b/docs/_quarto.yml new file mode 100644 index 0000000..8e500b6 --- /dev/null +++ b/docs/_quarto.yml @@ -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 diff --git a/docs/index.qmd b/docs/index.qmd new file mode 100644 index 0000000..138a422 --- /dev/null +++ b/docs/index.qmd @@ -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. \ No newline at end of file