Skip to content

Commit 0e6a2c9

Browse files
committed
Do not use profile for testing variation of website
It does not currently work because setting env var for a test is not safe as several Deno.test() can conflict with one another setup and teardown. Environment is not isolated between tests. So use two duplicated projects with different config for the test
1 parent ac90516 commit 0e6a2c9

File tree

12 files changed

+26
-55
lines changed

12 files changed

+26
-55
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/.quarto/
2-
/_site
1+
.quarto/
2+
_site/

tests/docs/search/issue-9905/_quarto-navbar-search.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/docs/search/issue-9905/_quarto-sidebar-search.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/docs/search/issue-9905/_quarto.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.quarto/
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
project:
2+
type: website
3+
14
website:
5+
title: "search opt out"
26
search:
37
location: sidebar
48
navbar:
59
search: false
610
left:
711
- href: index.qmd
812
text: Home
13+
14+
format: html
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.quarto/

tests/docs/search/issue-9905/_quarto-sidebar-no-search.yml renamed to tests/docs/search/issue-9905/sidebar/_quarto.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
project:
2+
type: website
3+
14
website:
5+
title: "search opt out"
26
search:
37
location: sidebar
48
sidebar:
@@ -7,3 +11,5 @@ website:
711
- section: "Basics"
812
contents:
913
- index.qmd
14+
15+
format: html
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "search opt out"
3+
---
4+
5+
This is a Quarto website.
6+
7+
To learn more about Quarto websites visit <https://quarto.org/docs/websites>.

0 commit comments

Comments
 (0)