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

Add custom config table class for crawler #104

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

goodroot
Copy link
Collaborator

Creates "hook" class for Algolia crawler.

Updates crawler as such:

recordProps: {
  lvl1: "article h1",
  content: "article p, article li, article table.config-table td, article table.config-table th",
  lvl0: {
    selectors: ".menu > .menu__list > li > .menu__link--active",
    defaultValue: "Documentation",
  },
  lvl2: "article h2",
  lvl3: "article h3",
  lvl4: "article h4",
  lvl5: "article h5",
},

updates crawler as such:

recordProps: {
  lvl1: "article h1",
  content: "article p, article li, article table.config-table td, article table.config-table th",
  lvl0: {
    selectors: ".menu > .menu__list > li > .menu__link--active",
    defaultValue: "Documentation",
  },
  lvl2: "article h2",
  lvl3: "article h3",
  lvl4: "article h4",
  lvl5: "article h5",
},
Copy link

github-actions bot commented Dec 10, 2024

🚀 Build success!

Latest successful preview: https://preview-104--questdb-documentation.netlify.app

Commit SHA: b695721

📦 Build generates a preview & updates link on each commit.

@goodroot goodroot changed the title add custom class for crawler Add custom config table class for crawler Dec 10, 2024
@goodroot goodroot merged commit 89162a8 into main Dec 10, 2024
3 checks passed
@goodroot goodroot deleted the kellen/searchable-config branch December 10, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant