Skip to content

Commit da10987

Browse files
authored
Merge branch 'main' into patch-3
2 parents cdd4373 + 556420f commit da10987

File tree

150 files changed

+1469
-512
lines changed

Some content is hidden

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

150 files changed

+1469
-512
lines changed

.github/workflows/preview.yml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,55 @@ jobs:
119119
Deploy from GHA: ${{ github.event.pull_request.title || format('manual from PR {0}', github.event.issue.number) }}
120120
alias: deploy-preview-${{ github.event.pull_request.number || github.event.issue.number }}
121121
# these all default to 'true'
122-
enable-pull-request-comment: true
122+
enable-pull-request-comment: false
123123
enable-commit-comment: false
124124
enable-commit-status: true
125125
overwrites-pull-request-comment: false
126126
timeout-minutes: 1
127+
128+
- name: Get changed files
129+
id: changed-files
130+
uses: tj-actions/[email protected]
131+
with:
132+
files: |
133+
# don't consider modifications on file used for includes for now.
134+
docs/**/[^_]*.qmd
135+
docs/**/[^_]*.md
136+
json: true
137+
escape_json: false
138+
139+
- name: Create custom PR comment
140+
if: github.event.pull_request || github.event.issue.pull_request
141+
uses: actions/github-script@v7
142+
env:
143+
DEPLOY_URL: ${{ steps.netlify-deploy.outputs.deploy-url }}
144+
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
145+
with:
146+
github-token: ${{ secrets.GITHUB_TOKEN }}
147+
script: |
148+
const prNumber = context.payload.pull_request?.number || context.payload.issue.number;
149+
const deployUrl = process.env.DEPLOY_URL;
150+
const changedFiles = JSON.parse(process.env.CHANGED_FILES);
151+
152+
let commentBody = `## 📝 Preview Deployment\n\n`;
153+
commentBody += `🔍 Full site preview: [${deployUrl}](${deployUrl})\n\n`;
154+
155+
if (changedFiles.length > 0) {
156+
commentBody += `### 🔄 Modified Documents\n\n`;
157+
changedFiles.forEach(file => {
158+
if (file.endsWith('.qmd') || file.endsWith('.md')) {
159+
// Convert path to URL (removing file extension and adding appropriate path)
160+
const fileUrlPath = file
161+
.replace(/\.(qmd|md)$/, '.html');
162+
const fileUrl = `${deployUrl}/${fileUrlPath}`;
163+
commentBody += `- [${file}](${fileUrl})\n`;
164+
}
165+
});
166+
}
167+
168+
github.rest.issues.createComment({
169+
issue_number: prNumber,
170+
owner: context.repo.owner,
171+
repo: context.repo.repo,
172+
body: commentBody
173+
});

_freeze/docs/computations/execution-options/execute-results/html.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

_freeze/docs/output-formats/html-code/execute-results/html.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
-60.1 KB
Loading

_quarto.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ website:
3737
page-footer:
3838
left: |
3939
Proudly supported by
40-
[![](https://posit.co/wp-content/uploads/2024/06/Posit-Logos-2024_horiz-full-color.svg){fig-alt="Posit" width=65px}](https://posit.co)
40+
[![](/images/Posit-Logos-2024_horiz-full-color.svg){fig-alt="Posit" width=65px .light-content}](https://posit.co) [![](/images/Posit-Logos-2024_horiz-full-color-white-text.svg){fig-alt="Posit" width=65px .dark-content}](https://posit.co)
4141
center:
4242
- text: "About"
4343
href: about.qmd
@@ -194,15 +194,24 @@ website:
194194
- docs/visual-editor/content.qmd
195195
- docs/visual-editor/options.qmd
196196
- docs/visual-editor/markdown.qmd
197+
- section: "Positron"
198+
href: docs/tools/positron/index.qmd
199+
contents:
200+
- text: "Positron Basics"
201+
href: docs/tools/positron/index.qmd
202+
- text: "Visual Editor"
203+
href: docs/tools/positron/visual-editor.qmd
204+
- text: "Notebook Editor"
205+
href: docs/tools/positron/notebook.qmd
197206
- section: "VS Code"
198-
href: docs/tools/vscode.qmd
207+
href: docs/tools/vscode/index.qmd
199208
contents:
200209
- text: "VS Code Basics"
201-
href: docs/tools/vscode.qmd
210+
href: docs/tools/vscode/index.qmd
202211
- text: "Visual Editor"
203-
href: docs/visual-editor/vscode/index.qmd
212+
href: docs/tools/vscode/visual-editor.qmd
204213
- text: "Notebook Editor"
205-
href: docs/tools/vscode-notebook.qmd
214+
href: docs/tools/vscode/notebook.qmd
206215
- docs/tools/neovim.qmd
207216
- docs/tools/text-editors.qmd
208217
- section: "Documents"

_redirects

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
/download/latest/changelog.md-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/changelog.md
2-
/download/latest/quarto-checksums.txt https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-checksums.txt
3-
/download/latest/quarto-linux-amd64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-linux-amd64.deb
4-
/download/latest/quarto-linux-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-linux-amd64.tar.gz
5-
/download/latest/quarto-linux-arm64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-linux-arm64.deb
6-
/download/latest/quarto-linux-arm64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-linux-arm64.tar.gz
7-
/download/latest/quarto-linux-rhel7-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-linux-rhel7-amd64.tar.gz
8-
/download/latest/quarto-macos.pkg https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-macos.pkg
9-
/download/latest/quarto-macos.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-macos.tar.gz
10-
/download/latest/quarto-win.msi https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-win.msi
11-
/download/latest/quarto-win.zip https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29-win.zip
12-
/download/latest/quarto-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.29/quarto-1.7.29.tar.gz
13-
/download/prerelease/changelog.md-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/changelog.md
14-
/download/prerelease/quarto-checksums.txt https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-checksums.txt
15-
/download/prerelease/quarto-linux-amd64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-linux-amd64.deb
16-
/download/prerelease/quarto-linux-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-linux-amd64.tar.gz
17-
/download/prerelease/quarto-linux-arm64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-linux-arm64.deb
18-
/download/prerelease/quarto-linux-arm64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-linux-arm64.tar.gz
19-
/download/prerelease/quarto-linux-rhel7-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-linux-rhel7-amd64.tar.gz
20-
/download/prerelease/quarto-macos.pkg https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-macos.pkg
21-
/download/prerelease/quarto-macos.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-macos.tar.gz
22-
/download/prerelease/quarto-win.msi https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-win.msi
23-
/download/prerelease/quarto-win.zip https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1-win.zip
24-
/download/prerelease/quarto-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.1/quarto-1.8.1.tar.gz
1+
/download/latest/changelog.md-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/changelog.md
2+
/download/latest/quarto-checksums.txt https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-checksums.txt
3+
/download/latest/quarto-linux-amd64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-amd64.deb
4+
/download/latest/quarto-linux-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-amd64.tar.gz
5+
/download/latest/quarto-linux-arm64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-arm64.deb
6+
/download/latest/quarto-linux-arm64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-arm64.tar.gz
7+
/download/latest/quarto-linux-rhel7-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-linux-rhel7-amd64.tar.gz
8+
/download/latest/quarto-macos.pkg https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-macos.pkg
9+
/download/latest/quarto-macos.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-macos.tar.gz
10+
/download/latest/quarto-win.msi https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-win.msi
11+
/download/latest/quarto-win.zip https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31-win.zip
12+
/download/latest/quarto-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.31/quarto-1.7.31.tar.gz
13+
/download/prerelease/changelog.md-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/changelog.md
14+
/download/prerelease/quarto-checksums.txt https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-checksums.txt
15+
/download/prerelease/quarto-linux-amd64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-linux-amd64.deb
16+
/download/prerelease/quarto-linux-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-linux-amd64.tar.gz
17+
/download/prerelease/quarto-linux-arm64.deb https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-linux-arm64.deb
18+
/download/prerelease/quarto-linux-arm64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-linux-arm64.tar.gz
19+
/download/prerelease/quarto-linux-rhel7-amd64.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-linux-rhel7-amd64.tar.gz
20+
/download/prerelease/quarto-macos.pkg https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-macos.pkg
21+
/download/prerelease/quarto-macos.tar.gz https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-macos.tar.gz
22+
/download/prerelease/quarto-win.msi https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-win.msi
23+
/download/prerelease/quarto-win.zip https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13-win.zip
24+
/download/prerelease/quarto-. https://github.com/quarto-dev/quarto-cli/releases/download/v1.8.13/quarto-1.8.13.tar.gz
74.8 KB
Loading

0 commit comments

Comments
 (0)