Skip to content

Commit

Permalink
Move README back over to the examples column.
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 19, 2024
1 parent caf9cf4 commit 5834813
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,28 @@ jobs:
path: "docs"

# Attempt to render the nested deployment template Quarto projects
- name: Render README demo
- name: Render README example
uses: quarto-dev/quarto-actions/render@v2
with:
path: "demos/readme/index.qmd"
path: "examples/readme/index.qmd"

- name: Render test suite
uses: quarto-dev/quarto-actions/render@v2
with:
path: "tests"

# Collect the output into the staging/ directory
- name: Copy documentation portal & demos into the staging directory
- name: Copy documentation portal & examples into the staging directory
run: |
mkdir -p staging/{demos,tests} && \
mkdir -p staging/{examples,tests} && \
cp -rp docs/_site/* staging/ && \
cp -rp tests/_site/* staging/tests/ && \
cp -rp demos/readme/ staging/demos/readme
cp -rp examples/readme/ staging/examples/readme
# Remove symlinks
- name: Delete symlinks
run: |
rm -rf staging/demos/*/_extensions && \
rm -rf staging/examples/*/_extensions && \
rm -rf staging/tests/_extensions
# Publish the docs directory onto gh-pages
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 7 additions & 3 deletions demos/readme/index.qmd → examples/readme/index.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: pyodide in Quarto HTML Documents
title: Pyodide in Quarto HTML Documents
format: html
filters:
- pyodide
Expand All @@ -8,8 +8,12 @@ filters:
This is a pyodide-enabled code cell in a Quarto HTML document.

```{pyodide-python}
print("Hello Quarto-Pyodide World!")
```
n = 5
while n > 0:
print(n)
n = n + 1
print('Blastoff!')
```

Return to the [documentation website](https://quarto.thecoatlessprofessor.com/pyodide) or [GitHub Repository](https://github.com/coatless-quarto/pyodide).

0 comments on commit 5834813

Please sign in to comment.