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

Script update for references and checks #770

Closed
wants to merge 41 commits into from
Closed

Conversation

jmb
Copy link
Contributor

@jmb jmb commented Oct 11, 2023

This PR updates the update_readme.py to keep a REFERENCES.md and a CHECK.html file updated.
A working example of the check html file is here: https://jmb.github.io/SuperTinyIcons/CHECK.html - it shows the SVG icon with border=50% so that any that don't fit the circle are easily recognised.

It currently looks for reference images with the same base name as the svg, then checks the images/reference/index.md for the source location and any other reference images that might have a different name. Eventually this check should probably be moved to look at the REFERENCES.md file and the index.md removed.

PR presented for evaluation with the understanding that tweaks will likely need to be made! Thanks!

@edent
Copy link
Owner

edent commented Oct 15, 2023

I really like this idea. Looks good. What more work does it need?

@jmb
Copy link
Contributor Author

jmb commented Oct 15, 2023

Just wanted to confirm the location of the files and that the html was good. Also, should I remove the reference/index.md and just use the REFERENCES.md file perhaps?

PersonMeetup and others added 14 commits November 6, 2023 12:16
* Add Webtoons

* Updated readme & reference

* Fixed extra Webtoons listing in readme

* Applied Eiim's optimizations & increased accuracy
* Create justgiving.svg

* do other tasks according to guidelines

* add readme and reference changes back in
* add Apple Podcasts logo

* add Apple Podcasts reference image

* update reference index with Apple Podcast images

* updates README (via python script)

* fix: adds required attribute in stop element

* update README.md

Rerun python script to update README.md after
correcting Apple Podcasts svg.
* ok.ru 615 B → 351 B

Uses strokes to draw shapes instead of complex path outlines.
Shrinks file size by 264 bytes.

Also corrects color to match icon from ok.ru website.

* updates README.md with new, smaller ok.ru file size

---------

Co-authored-by: Terence Eden <[email protected]>
* add bluesky.svg

derived from https://bsky.app/static/safari-pinned-tab.svg

* fix aria-label/role for bluesky.svg

* Update bluesky.svg

Fix role & layout

---------

Co-authored-by: Terence Eden <[email protected]>
* Adds h-entry icon

* Add h-entry reference icon

* chore: update README and reference image index
* add h-card icon

* add h-card reference image

* update image reference index

* update README.md using python script
* Optimize some SVG paths

* Update icons sizes in README
@edent
Copy link
Owner

edent commented Sep 8, 2024

Sorry for the delay. I'm happy with this. If you could please rebase it, I'll merge.

edent and others added 6 commits September 8, 2024 08:46
Minified
* Add NetBSD (937 bytes)

* Update netbsd.svg

---------

Co-authored-by: Terence Eden <[email protected]>
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@jmb
Copy link
Contributor Author

jmb commented Sep 8, 2024

I think I've fixed it... but may have screwed things up completely! If this doesn't work then I can delete the PR and start a new branch copying the script over.

@edent
Copy link
Owner

edent commented Sep 8, 2024

Yeah... let's start on a new branch 😂

@jmb
Copy link
Contributor Author

jmb commented Sep 9, 2024

I think that's for the best! I'll play around with it when I have some time!

@jmb jmb closed this Sep 9, 2024
@jmb jmb deleted the script-update branch September 9, 2024 13:25
@jmb
Copy link
Contributor Author

jmb commented Sep 9, 2024

Re-opened as #799 which is hopefully less messy!

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

Successfully merging this pull request may close these issues.

8 participants