Skip to content

Commit 75ee705

Browse files
authored
Merge branch 'main' into docs/number-offset-html-only
2 parents 60d1c69 + af454e8 commit 75ee705

File tree

113 files changed

+3420
-2039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+3420
-2039
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Welcome to the quarto GitHub repository!
9+
Welcome to the Quarto CLI GitHub repository!
1010
We are always happy to hear feedback from our users.
1111
1212
This is the repository for the command-line program `quarto`:
1313
1414
- If you're reporting an issue with the VS Code extension, please visit https://github.com/quarto-dev/quarto
1515
- If you're reporting an issue inside RStudio, please visit https://github.com/rstudio/rstudio
16+
- If you're reporting an issue inside **Positron**, please visit https://github.com/posit-dev/positron
17+
- If you want to ask for a feature, please use the [Feature Requests GitHub Discussions](https://github.com/quarto-dev/quarto-cli/discussions/categories/feature-requests).
18+
- If you want to ask for help, please use the [Q&A GitHub Discussions](https://github.com/quarto-dev/quarto-cli/discussions/categories/q-a).
1619
1720
Quarto is under active development!
1821
If convenient, we'd appreciate if you could check that the issue persists on the [latest pre-release](https://github.com/quarto-dev/quarto-cli/releases).
1922
2023
Finally, so that we can get the most out of your bug report, consider reading our ["Bug Reports" guide](https://quarto.org/bug-reports.html).
2124
22-
If you want to ask for a feature, please use the [Feature Requests GitHub Discussions](https://github.com/quarto-dev/quarto-cli/discussions/categories/feature-requests).
23-
If you want to ask for help, please use the [Q&A GitHub Discussions](https://github.com/quarto-dev/quarto-cli/discussions/categories/q-a).
24-
2525
Thank you for using Quarto!
2626
2727
---
@@ -96,13 +96,13 @@ body:
9696
9797
- type: textarea
9898
attributes:
99-
label: Expected behavior
100-
description: Tell us what should happen.
99+
label: Actual behavior
100+
description: Tell us what happens instead.
101101

102102
- type: textarea
103103
attributes:
104-
label: Actual behavior
105-
description: Tell us what happens instead.
104+
label: Expected behavior
105+
description: Tell us what should happen.
106106

107107
- type: textarea
108108
attributes:

.github/actions/cache-typst/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ outputs:
99
value: ${{ steps.cache-typst-restore.outputs.cache-primary-key }}
1010
cache-matched-key:
1111
description: "Key of the cache found and used."
12-
value: ${{ steps.cache-typst-restore.outputs.cache-primary-key }}
12+
value: ${{ steps.cache-typst-restore.outputs.cache-matched-key }}
1313
cache-path:
1414
description: "where is the packages cache for typst ?"
1515
value: ${{ steps.cache-typst-path.outputs.TYPST_CACHE }}
@@ -22,20 +22,21 @@ runs:
2222
run: |
2323
case $RUNNER_OS in
2424
"Linux")
25-
echo "TYPST_CACHE=${XDG_CACHE_HOME:-~/.cache}/typst/packages/" >> $GITHUB_ENV
25+
typst_cache="${XDG_CACHE_HOME:-~/.cache}/typst/packages/"
2626
;;
2727
"macOS")
28-
echo "TYPST_CACHE=~/Library/Caches/typst/packages/" >> $GITHUB_ENV
28+
typst_cache="~/Library/Caches/typst/packages/"
2929
;;
3030
"Windows")
31-
echo "TYPST_CACHE=$LOCALAPPDATA/typst/packages/" >> $GITHUB_ENV
31+
typst_cache="$LOCALAPPDATA/typst/packages/"
3232
;;
3333
*)
3434
echo "$RUNNER_OS not supported"
3535
exit 1
3636
;;
3737
esac
38-
echo "TYPST_CACHE=${TYPST_CACHE}" >> $GITHUB_OUTPUT
38+
echo "TYPST_CACHE=${typst_cache}" >> $GITHUB_ENV
39+
echo "TYPST_CACHE=${typst_cache}" >> $GITHUB_OUTPUT
3940
shell: bash
4041

4142
- name: Cache Typst package folder

.github/workflows/test-smokes.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,16 @@ jobs:
105105
cat("r-version=", R.Version()$version.string, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
106106
shell: Rscript {0}
107107

108-
- name: Cache R packages
109-
uses: actions/cache@v4
108+
- name: Restore Renv package cache
109+
id: cache-renv-packages-restore
110+
uses: actions/cache/restore@v4
110111
with:
111-
path: ${{ env.RENV_PATHS_ROOT }}
112-
key: ${{ steps.get-version.outputs.os-version }}-${{ steps.get-version.outputs.r-version }}-renv-2-${{ hashFiles('tests/renv.lock') }}
112+
path: |
113+
${{ env.RENV_PATHS_ROOT }}
114+
renv/library
115+
key: ${{ steps.get-version.outputs.os-version }}-${{ steps.get-version.outputs.r-version }}-renv-3-${{ hashFiles('tests/renv.lock') }}
113116
restore-keys: |
114-
${{ steps.get-version.outputs.os-version }}-${{ steps.get-version.outputs.r-version }}-renv-2-
115-
save-always: ${{ inputs.extra-r-packages == '' }} # don't save cache if we have extra R packages
117+
${{ steps.get-version.outputs.os-version }}-${{ steps.get-version.outputs.r-version }}-renv-3-
116118
117119
- name: Install missing system deps
118120
if: runner.os == 'Linux'
@@ -291,15 +293,25 @@ jobs:
291293
path: tests/timing-for-ci.txt
292294

293295
- name: Save Typst cache
294-
if: always()
296+
if: always() && steps.cache-typst.outputs.cache-hit != 'true'
295297
uses: actions/cache/save@v4
296298
with:
297299
key: ${{ steps.cache-typst.outputs.cache-primary-key }}
298300
path: ${{ steps.cache-typst.outputs.cache-path }}
299301

302+
- name: Save Renv package cache
303+
# don't save cache if we have extra R packages
304+
if: ${{ always() && steps.cache-renv-packages-restore.outputs.cache-hit != 'true' && inputs.extra-r-packages == '' }}
305+
uses: actions/cache/save@v4
306+
with:
307+
path: |
308+
${{ env.RENV_PATHS_ROOT }}
309+
renv/library
310+
key: ${{ steps.cache-renv-packages-restore.outputs.cache-primary-key }}
311+
300312
- uses: actions/upload-artifact@v4
301-
# PLaywright test only runs on Linux for now
302-
if: ${{ !cancelled() && runner.os != 'Windows' }}
313+
# Upload pLaywright test report if they exists (playwright is only running on Linux for now)
314+
if: ${{ !cancelled() && runner.os != 'Windows' && hashFiles('tests/integration/playwright/playwright-report/**/*') != '' }}
303315
with:
304316
name: playwright-report
305317
path: ./tests/integration/playwright/playwright-report/

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can contribute to Quarto in many ways:
44

55
- By opening issues to provide feedback and share ideas.
6-
- By submitting Pull Request (PR) to fix opened issues
6+
- By submitting Pull Request (PR) to fix open issues
77
- By submitting Pull Request (PR) to suggest new features (it is considered good practice to open an issue for discussion before working on a pull request for a new feature).
88

99
Please be mindful of our [code of conduct](https://github.com/quarto-dev/quarto-cli/blob/main/.github/CODE_OF_CONDUCT.md) as you interact with other community members.
@@ -26,8 +26,8 @@ Pull requests are very welcome! Here's how to contribute via PR:
2626
$ git checkout -b feature/newthing
2727
```
2828

29-
2. For significant changes (e.g more than small bug fixes), ensure that you have signed the [individual](https://posit.co/wp-content/uploads/2023/04/2023-03-13_TC_Indiv_contrib_agreement.pdf) or [corporate](https://posit.co/wp-content/uploads/2023/04/2023-03-13_TC_Corp_contrib_agreement.pdf) contributor agreement as appropriate. You can send the signed copy to [jj\@rstudio.com](mailto:[email protected]){.email}.
29+
2. For significant changes (e.g., more than small bug fixes), ensure that you have signed the [individual](https://posit.co/wp-content/uploads/2023/04/2023-03-13_TC_Indiv_contrib_agreement.pdf) or [corporate](https://posit.co/wp-content/uploads/2023/04/2023-03-13_TC_Corp_contrib_agreement.pdf) contributor agreement as appropriate. You can send the signed copy to [jj\@rstudio.com](mailto:[email protected]){.email}.
3030

31-
3. Submit the [pull request](https://help.github.com/articles/using-pull-requests). It is ok to submit as draft in your are still working on it but would like some feedback from us. It always good to share in the open that you are working on it.
31+
3. Submit the [pull request](https://help.github.com/articles/using-pull-requests). It is ok to submit as draft if your are still working on it but would like some feedback from us. It is always good to share in the open that you are working on it.
3232

3333
We'll try to be as responsive as possible in reviewing and accepting pull requests.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
# Quarto
44

5-
Quarto is an open-source scientific and technical publishing system built on [Pandoc](https://pandoc.org). Quarto documents are authored using [markdown](https://en.wikipedia.org/wiki/Markdown), an easy to write plain text format.
5+
Quarto is an open-source scientific and technical publishing system built on [Pandoc](https://pandoc.org). Quarto documents are authored using [Markdown](https://en.wikipedia.org/wiki/Markdown), an easy to write plain text format.
66

77
In addition to the core capabilities of Pandoc, Quarto includes:
88

99
1. Embedding code and output from Python, R, Julia, and JavaScript via integration with [Jupyter](https://jupyter.org/), [Knitr](https://yihui.org/knitr/), and [Observable](https://github.com/observablehq/).
1010

11-
2. A variety of extensions to Pandoc markdown useful for technical writing including cross-references, sub-figures, layout panels, hoverable citations and footnotes, callouts, and more.
11+
2. A variety of extensions to Pandoc Markdown useful for technical writing including cross-references, sub-figures, layout panels, hoverable citations and footnotes, callouts, and more.
1212

1313
3. A project system for rendering groups of documents at once, sharing options across documents, and producing aggregate output like [websites](https://quarto.org/docs/websites/) and [books](https://quarto.org/docs/books/).
1414

1515
4. Authoring using a wide variety of editors and notebooks including [JupyterLab](https://quarto.org/docs/tools/jupyter-lab.html), [RStudio](https://quarto.org/docs/tools/rstudio.html), and [VS Code](https://quarto.org/docs/tools/vscode.html).
1616

17-
5. A [visual markdown editor](https://quarto.org/docs/visual-editor/) that provides a productive writing interface for composing long-form documents.
17+
5. A [visual Markdown editor](https://quarto.org/docs/visual-editor/) that provides a productive writing interface for composing long-form documents.
1818

1919
Learn more about Quarto at <https://quarto.org>.
2020

2121
## Development Version
2222

23-
To install the development version of the Quarto CLI, clone the quarto-cli repository then run the configure script for your platform (`configure.sh` for Linux/macOS or `configure.cmd` for Windows). For example:
23+
To install the development version of the Quarto CLI, clone the `quarto-cli` repository then run the configure script for your platform (`configure.sh` for Linux/macOS or `configure.cmd` for Windows). For example:
2424

2525
```bash
2626
git clone https://github.com/quarto-dev/quarto-cli
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
- [ ] ensure tests pass on stable branch
2+
- Actions -> Parallel Smokes Tests -> Run Workflow ->
3+
- Select the current stable branch in the "Use workflow from... v1.x" dropdown
4+
- [ ] Click "Run Workflow"
5+
- [ ] create new stable installers
6+
- Click Actions -> Build Installers -> "Run Workflow" Dropdown Menu
7+
- Select the current stable branch in the "Use workflow from..." dropdown
8+
- Uncheck "Pre-release" (or ensure it's unchecked)
9+
- Check "Publish release" (or ensure it's checked)
10+
- [ ] Click "Run Workflow"
11+
- [ ] update release on pypi repo
12+
- Goto the [quarto-cli-pypi repo](https://github.com/quarto-dev/quarto-cli-pypi)
13+
- Update `version.txt` to be the version you'd like to publish and commit
14+
- Go to actions
15+
- Select 'Publish Quarto PyPi'
16+
- [ ] Click "Run Workflow"
17+
- **Publishing Test**: You may elect to publish to test.pypi first by _unchecking_ the `Production Release` option
18+
- Once complete, trest using
19+
```bash
20+
python3 -m pip install --index-url https://test.pypi.org/ --extra-index-url https://pypi.org/ quarto-cli
21+
```
22+
- You may have to run this command twice as the first time may report the package not found and cause cache invalidation. The next try should succeed.
23+
- Published to: <https://test.pypi.org/project/quarto-cli/>
24+
- **Publishing Production**: You may elect to publish to production pypyi by checking the `Production Release` option
25+
- Published to: <https://pypi.org/project/quarto-cli/>
26+
- Take a sip of tea ☕, bask in the glory of automation.
27+
- [ ] Update the stable changelog by moving entries to the "in previous release"

0 commit comments

Comments
 (0)