fixes#29
Open
0m364 wants to merge 6 commits into
Open
Conversation
… to use dynamic Jekyll variables. This ensures that links and aria-labels remain accurate if the repository is ever forked or renamed. 🎯 What: Replaced hardcoded GitHub URLs and repository names. 💡 Why: Improved maintainability and portability (fork-friendliness). ✅ Verification: I inspected the file and performed a search across the codebase to ensure no hardcoded strings remain. I also confirmed the variable names against existing usage. ✨ Result: Dynamic links and labels in the site header. Co-authored-by: 0m364 <13804150+0m364@users.noreply.github.com>
This commit adds a new test script `tests/test_readme.py` that validates all internal anchor links in the `README.md` file. It ensures that every link points to an existing header, improving navigation and reliability. Key features: - Simulates GitHub's anchor generation (slugification) logic. - Handles duplicate headers by appending numeric suffixes. - Robustly extracts links using regex, including those with titles. - Skips code blocks and HTML comments to avoid false positives. - Can be run as a standalone script or via pytest. Co-authored-by: 0m364 <13804150+0m364@users.noreply.github.com>
🧪 [testing improvement] Add internal anchor link validation for README.md
…rl-12249127506733570715 🧹 [code health] Replace hardcoded repository URL in default layout
- Replace unused preload with stylesheet link in _layouts/default.html - Add preconnect to fonts.googleapis.com - Add crossorigin attribute to fonts.gstatic.com preconnect - Remove unnecessary attributes from the font stylesheet link Co-authored-by: 0m364 <13804150+0m364@users.noreply.github.com>
…4588204 ⚡ Optimize Google Fonts loading by fixing unused preload
Owner
|
Thank you for your contribution. Could you provide more information about the propose of this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes