Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI test with the new documentation data #386

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions tests/config_files_examples/docs-basics.config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"index_uid": "docs",
"start_urls": ["https://docs.meilisearch.com"],
"start_urls": ["https://www.meilisearch.com/docs"],
bidoubiwa marked this conversation as resolved.
Show resolved Hide resolved
"selectors": {
"lvl0": {
"selector": ".sidebar-heading.open",
"selector": "#sidebar-list .sidebar-link[data-active=true]",
"global": true,
"default_value": "Documentation"
},
"lvl1": ".theme-default-content h1",
"lvl2": ".theme-default-content h2",
"lvl3": ".theme-default-content h3",
"lvl4": ".theme-default-content h4",
"lvl5": ".theme-default-content h5",
"text": ".theme-default-content p, .theme-default-content li"
"lvl1": {
"selector": ".docs-main h1",
"global": true
},
"lvl2": ".docs-main h2",
"lvl3": ".docs-main h3",
"lvl4": ".docs-main h4",
"lvl5": ".docs-main h5",
"text": ".docs-main p, .docs-main li, .docs-main td"
}
}
21 changes: 12 additions & 9 deletions tests/config_files_examples/docs-custom.config.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{
"index_uid": "docs",
"sitemap_urls": ["https://docs.meilisearch.com/sitemap.xml"],
"start_urls": ["https://docs.meilisearch.com"],
"sitemap_urls": ["https://www.meilisearch.com/sitemap.xml"],
"start_urls": ["https://www.meilisearch.com/docs"],
bidoubiwa marked this conversation as resolved.
Show resolved Hide resolved
"selectors": {
"lvl0": {
"selector": ".sidebar-heading.open",
"selector": "#sidebar-list .sidebar-link[data-active=true]",
"global": true,
"default_value": "Documentation"
},
"lvl1": ".theme-default-content h1",
"lvl2": ".theme-default-content h2",
"lvl3": ".theme-default-content h3",
"lvl4": ".theme-default-content h4",
"lvl5": ".theme-default-content h5",
"text": ".theme-default-content p, .theme-default-content li"
"lvl1": {
"selector": ".docs-main h1",
"global": true
},
"lvl2": ".docs-main h2",
"lvl3": ".docs-main h3",
"lvl4": ".docs-main h4",
"lvl5": ".docs-main h5",
"text": ".docs-main p, .docs-main li, .docs-main td"
},
"strip_chars": " .,;:#",
"scrap_start_urls": true,
Expand Down