mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 13:36:14 +02:00
Fix broken search bar in docs site (#1135)
* Fixes for search on docs site We previously didn't include the search results page in our CI testing, so we missed some issues on that page. This ensures that page is part of regular testing, and also includes fixes for the issues present. * fix sidebar contrast
This commit is contained in:
parent
31ada29a37
commit
d4ca29ed2c
5 changed files with 88 additions and 16 deletions
2
.github/workflows/docs.yaml
vendored
2
.github/workflows/docs.yaml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
|||
env:
|
||||
site_url: http://127.0.0.1:8000
|
||||
run: |
|
||||
select="{urls: [\"${site_url}/\", .urlset.url[].loc]}"
|
||||
select="{urls: [\"${site_url}/\", \"${site_url}/search.html?q=jrnl\", .urlset.url[].loc]}"
|
||||
curl -s "$site_url/sitemap.xml" | poetry run xq "$select" > list.json
|
||||
|
||||
- name: Accessibility testing (Pa11y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue