annotate tests/bakes/test_special_root.yaml @ 1195:ae9387338db1 draft default tip

admin: add option to publish immediately
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 30 Dec 2022 16:48:04 -0800
parents 978ed6deea91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
568
6b6c5442c790 bug: Correctly handle root URLs with special characters.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
6b6c5442c790 bug: Correctly handle root URLs with special characters.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 config:
6b6c5442c790 bug: Correctly handle root URLs with special characters.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 site:
6b6c5442c790 bug: Correctly handle root URLs with special characters.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 root: /~john/public/
6b6c5442c790 bug: Correctly handle root URLs with special characters.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 568
diff changeset
6 pages/about.html: 'URL: {{page.url}}, LINK: {{pcurl("missing")}}'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 568
diff changeset
7 pages/_index.html: 'URL: {{page.url}}'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 568
diff changeset
8 outfiles:
1169
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
9 "{py>=3.7}about.html": 'URL: /~john/public/about.html, LINK: /~john/public/missing.html'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
10 "{py>=3.7}index.html": 'URL: /~john/public/'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
11 "{py<3.7}about.html": 'URL: /%7Ejohn/public/about.html, LINK: /%7Ejohn/public/missing.html'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
12 "{py<3.7}index.html": 'URL: /%7Ejohn/public/'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
13 ---
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
14 config:
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
15 site:
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
16 pretty_urls: true
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
17 in:
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
18 pages/users/~john.html: 'URL: {{page.url}}'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
19 pages/users/~john/bio.html: 'URL: {{page.url}}'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
20 outfiles:
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
21 "{py>=3.7}users/~john/index.html": 'URL: /users/~john'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
22 "{py>=3.7}users/~john/bio/index.html": 'URL: /users/~john/bio'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
23 "{py<3.7}users/~john/index.html": 'URL: /users/%7Ejohn'
978ed6deea91 tests: Add ability to test different expected outputs based on Python version.
Ludovic Chabant <ludovic@chabant.com>
parents: 979
diff changeset
24 "{py<3.7}users/~john/bio/index.html": 'URL: /users/%7Ejohn/bio'