Skip to content

fix(docs): fix failing docs build#8463

Merged
balazsorban44 merged 1 commit intonextauthjs:mainfrom
rexfordessilfie:fix-docs-build
Aug 31, 2023
Merged

fix(docs): fix failing docs build#8463
balazsorban44 merged 1 commit intonextauthjs:mainfrom
rexfordessilfie:fix-docs-build

Conversation

@rexfordessilfie
Copy link
Copy Markdown
Contributor

@rexfordessilfie rexfordessilfie commented Aug 31, 2023

NOTE:

  • It's a good idea to open an issue first to discuss potential changes.
  • Please make sure that you are NOT opening a PR to fix a potential security vulnerability. Instead, please follow the Security guidelines to disclose the issue to us confidentially.

☕️ Reasoning

This PR fixes the currently failing auth-docs build for repos. The is failing because the regex for grabbing the provider id's is unable to grab the id for azure-devops.ts file in the azure devops provider.

The id is not being grabbed becuase the file is not formatted properly to use double-quotes which the regex requires to work! This fixes the issue by formatting the file.

The regex could also be updated to support single-quotes, or we might add CI to ensure all files are appropriately linted! Leaving this open for discussuion before proceeding with such a fix.

🧢 Checklist

  • Documentation (N/A)
  • Tests (N/A)
  • Ready to be merged

🎫 Affected issues

Please scout and link issues that might be solved by this PR.

Fixes: #8464

📌 Resources

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 31, 2023 3:41am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Aug 31, 2023 3:41am

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 31, 2023

@rexfordessilfie is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

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

Thanks! Linting should likely be required on PRs.

Copy link
Copy Markdown
Member

@ThangHuuVu ThangHuuVu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot! 🫶

@balazsorban44 balazsorban44 merged commit 2707f9e into nextauthjs:main Aug 31, 2023
@rexfordessilfie
Copy link
Copy Markdown
Contributor Author

Thank you too @balazsorban44 and @ThangHuuVu! That sounds great, and lint checks would be super! 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Refers to `@auth/core` providers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing docs build on latest PRs

3 participants