Skip to content

Commit 36eeaf9

Browse files
committed
Exclude tools/screenshots/ from site render targets
Quarto auto-discovers all .qmd files in the project tree regardless of navigation config. The 25 .qmd files in tools/screenshots/examples/ were being rendered as part of quarto.org. Add project.render with explicit includes and !tools/screenshots/ exclusion. Rename 404.md and license.md to .qmd so the render list only needs .qmd and .ipynb patterns. Update all references to license.md across _quarto.yml, about.qmd, faq, preview workflow, and reference docs.
1 parent 9312766 commit 36eeaf9

7 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
base_sha: ${{ github.event.pull_request.base.sha || steps.pr-info.outputs.base_sha }}
149149
files: |
150150
# don't consider modifications on file used for includes for now.
151-
license.md
151+
license.qmd
152152
docs/**/[^_]*.qmd
153153
docs/**/[^_]*.md
154154
docs/extensions/listings/*.yml
File renamed without changes.

_quarto.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
project:
22
type: website
33
output-dir: _site
4+
render:
5+
- "**/*.qmd"
6+
- "**/*.ipynb"
7+
- "!tools/screenshots/"
48
post-render:
59
- tools/algolia-add-custom-attribute.ts
610
resources:
@@ -47,7 +51,7 @@ website:
4751
- text: "FAQ"
4852
href: docs/faq/index.qmd
4953
- text: "License"
50-
href: license.md
54+
href: license.qmd
5155
- text: "Trademark"
5256
href: trademark.qmd
5357
right:

about.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The overarching goal of Quarto is to make the process of creating and collaborat
1313

1414
- Make reproducible research and publications the norm rather than the exception. Reproducibility requires that the code and data required to create a manuscript are an integrated part of it. However, this isn't often straightforward in practice---Quarto aims to make it easier to adopt a reproducible workflow than not.
1515

16-
Quarto is [open source software](/license.md). We believe that it's better for everyone if the tools used for research and science are free and open. Reproducibility, widespread sharing of knowledge and techniques, and the leveling of the playing field by eliminating cost barriers are but a few of the shared benefits of free software in science.
16+
Quarto is [open source software](/license.qmd). We believe that it's better for everyone if the tools used for research and science are free and open. Reproducibility, widespread sharing of knowledge and techniques, and the leveling of the playing field by eliminating cost barriers are but a few of the shared benefits of free software in science.
1717

1818
## Project
1919

docs/faq/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Quarto's dependencies include:
7474

7575
### Is Quarto free to use?
7676

77-
Yes! Quarto is [open source](/license.md). Quarto version 1.3 (and earlier) is licensed under the [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). Quarto version 1.4 is licensed under the [MIT License](https://opensource.org/license/mit/).
77+
Yes! Quarto is [open source](/license.qmd). Quarto version 1.3 (and earlier) is licensed under the [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). Quarto version 1.4 is licensed under the [MIT License](https://opensource.org/license/mit/).
7878

7979
### Can I use Quarto to develop proprietary content?
8080

docs/reference/projects/_websites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ An announcement that appears at the top of the site. For example:
8888
- text: "About"
8989
href: about.qmd
9090
- text: "License"
91-
href: license.md
91+
href: license.qmd
9292
- text: "Trademark"
9393
href: trademark.qmd
9494
```
File renamed without changes.

0 commit comments

Comments
 (0)