Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
update create-react-app
Browse files Browse the repository at this point in the history
  • Loading branch information
s-pace committed Oct 22, 2018
1 parent 01f2ee8 commit 00552a8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions configs/create-react-app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"index_name": "create-react-app",
"start_urls": [
"https://facebook.github.io/create-react-app/"
],
"sitemap_urls": [
"https://facebook.github.io/create-react-app/sitemap.xml"
],
"sitemap_alternate_links": true,
"stop_urls": [],
"selectors": {
"lvl0": {
"selector": "//*[contains(@class,'navGroups')]//*[contains(@class,'navListItemActive')]/preceding::h3[1]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": ".post h1",
"lvl2": ".post h2",
"lvl3": ".post h3",
"lvl4": ".post h4",
"text": ".post article p, .post article li"
},
"selectors_exclude": [
".hash-link"
],
"custom_settings": {
"attributesForFaceting": [
"language",
"version"
]
},
"conversation_id": [
"689861344"
],
"nb_hits": 758
}

3 comments on commit 00552a8

@endiliey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@endiliey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be search ready though. @amyrlam did you get an API key from Algolia already ?

@amyrlam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.