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

Question - Indexing pages that use a # for URLs #1009

Closed
tjperry07 opened this issue May 10, 2021 · 0 comments
Closed

Question - Indexing pages that use a # for URLs #1009

tjperry07 opened this issue May 10, 2021 · 0 comments

Comments

@tjperry07
Copy link

I'm trying to index pages created by a plugin. It's a SPA and the base URL is /api and everything else is attached by anchors. Docsearch won't return any data. Is it able to crawl these types of pages?

{
  "index_name": "dev-docs",
    "start_urls": [
      {
        "url": "https://developer.nylas.com/docs/api/"
      }
  ],
  "stop_urls": [],
  "selectors": {
    "lvl0": {
      "selector": ".nav-bar-info .active",
      "global": true,
      "default_value": "API"
    },
    "lvl1": "#the-main-body .upper",
    "lvl2": "#the-main-body h2",
    "lvl3": "#the-main-body h3",
    "lvl4": "#the-main-body span",
    "lvl5": "#the-main-body h5",
    "text": "#the-main-body p, main li"
  },
  "js_render": true,
  "js_wait": 4,
  "use_anchors": true

}
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

No branches or pull requests

1 participant