-
Notifications
You must be signed in to change notification settings - Fork 1
docs(readme): fix namespace references #54
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,8 +113,8 @@ dotnet add package QRCoder.Core | |
| Generate your first QR code with just a few lines of code: | ||
|
|
||
| ```csharp | ||
| using QRCoder.Core; | ||
| using SkiaSharp; | ||
| using QRCoder.Core.Generators; | ||
| using QRCoder.Core.Renderers; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Info: Removal of The Quick Start example previously had Was this helpful? React with 👍 or 👎 to provide feedback. |
||
|
|
||
| // Create the QR Code generator | ||
| using var generator = new QRCodeGenerator(); | ||
|
|
@@ -163,7 +163,7 @@ string psString = ps.GetGraphic(5); | |
| ### Payload Examples | ||
|
|
||
| ```csharp | ||
| using QRCoder.Core; | ||
| using QRCoder.Core.Generators; | ||
|
|
||
| // Wi-Fi QR Code | ||
| var wifiPayload = new PayloadGenerator.WiFi("MyNetwork", "MyPassword", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚩 Bilingual docs not updated alongside README
The PR updates import statements in README.md code examples from
using QRCoder.Core;/using SkiaSharp;tousing QRCoder.Core.Generators;/using QRCoder.Core.Renderers;. However, the equivalent code examples indocs/en-US/usage-guide.md:54-55anddocs/pt-BR/guia-de-uso.md:54-55still use the old imports (using QRCoder.Core;andusing SkiaSharp;). The AGENTS.md DO rules include "Documentação bilíngue (pt-BR + en-US)", and these docs now show different (and likely incorrect) import statements compared to the README. This pre-existing inconsistency is now amplified by the PR — the README is correct while the docs remain stale.Was this helpful? React with 👍 or 👎 to provide feedback.