raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.07k stars 2.8k forks source link

[Next.js Documentation] ... #13328

Open robbyrob42 opened 2 weeks ago

robbyrob42 commented 2 weeks ago

Extension

https://www.raycast.com/PrasadChinwal/nextjs-docs

Raycast Version

1.78.1

macOS Version

14.5

Description

Error:

HttpError: Not Found

index.js:30:321671
async b3:index.js:32:4632
async I0:index.js:32:5380

I did some digging, it looks to me like Next moved the docs and instituted a new format a year ago and this extension points to the old pattern (which would be fine as it was specifying a commit but that commit looks to be purged from the next.js repo)

"GET /repos/vercel/next.js/git/trees/86651d4c4f53e8a2882e22339fb78d0aa2879562",

const { data } = await octokit.request(`GET /repos/vercel/next.js/contents/docs/${topic.path}`, {

Commit where they're moving from old structure to new: https://github.com/vercel/next.js/commit/f4f34e4226424e301dd4783155c7a924a4a4a902

Steps To Reproduce

  1. Macos raycast execution panel

  2. search 'next' 4a.

    Screenshot 2024-07-04 at 12 05 49 PM
  3. search 'server'

    Screenshot 2024-07-04 at 12 06 04 PM
  4. execute, fails to load, reload unresponsive, any other search, same behavior. other Docs work, tested Remix,

Screenshot 2024-07-04 at 12 06 13 PM

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 2 weeks ago

Thank you for opening this issue!

🔔 @PrasadChinwal you might want to have a look.

💡 Author and Contributors commands The author and contributors of `PrasadChinwal/nextjs-docs` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.