1
0
mirror of synced 2026-01-06 06:01:49 -05:00
Commit Graph

14 Commits

Author SHA1 Message Date
Rod S
8443837ed3 Fix mistune create_markdown to work with mistune 3 2023-06-16 10:39:38 -07:00
Tomas
dc601f440c Move all <figcaption> inside a properly closed <figure>. Also add it to our validator (#6141)
Co-authored-by: Tomas Roggero <tomasroggero@google.com>
2023-03-31 17:56:32 -04:00
Nathan Williams
184593cd1e GFK: Remove attr.id and add CI check (#6107) 2023-03-26 21:18:43 -07:00
Nathan Williams
213074add7 [Knowledge] Remove unreferenced image (#6106)
* Improve knowledge_graph.py FILE_TOO_LARGE msgs

* Delete unreferenced SVG file from GFK
2023-03-26 19:23:35 -07:00
Elliot Jay Stocks
9dc9d63aaa GFK Q4 SVG optimization (#5646)
* Update authenticity_ex1_1.svg

* Add a check to knowledge_graph.py for SVGs

stop[offset] is a required attribute.

* Add missing attribute stop[offset] to SVGs

* Optimized illos for `how_to_make_type_feel_authentic`

* Optimized illos for `from_type_to_logotype`

* Optimized illos for `vertical_spacing...`

* Optimized illos for `how_typefaces...`

* Optimized illos for `pairing_typefaces_based...`

* Optimized illos for `how_type_influences_readability`

* Optimized illos for `introducing_accessibility_in_typography`

* Optimized illos for `display_type`

* Optimized illos for `from_metal_to_digital`

* Optimized illos for `modern_type`

* Optimized illos for `cjk_typesetting_rules` + EDIT of 02.svg

* Optimized illos for `japanese_typography_basics`

* Optimized illos for `the_evolution_of_hangeul_type_design`

* Optimized illos for `type_classification_in_cjk_chinese`

* Optimized illos for `type_classification_in_cjk_japanese`

* Optimized illos for `type_classification_in_cjk_korean`

* Removing duplicated SVGs in `type_classification_in_cjk_korean`

* Removing duplicated SVGs in `type_classification_in_cjk_japanese`

* Removing duplicated SVGs in `type_classification_in_cjk_chinese`

Co-authored-by: nathan-williams <nlw2sx@virginia.edu>
2022-11-30 13:13:07 +00:00
Elliot Jay Stocks
1ec50aa13e GFK Q4 nearly ready for launch (#5629)
* Test commit

* Thumbnail for `cjk_typesetting_rules`

* Thumbnail for `japanese_typography_basics`

* Thumbnail for `the_evolution_of_hangeul_type_design`

* Thumbnail for `type_classification_in_cjk`

* Thumbnail for `how_type_influences_readability`

* Thumbnail for `pairing_typefaces_based_on_their_construction_using_the_font_matrix`

* New `readability_06.svg` — down to 512 kb!

* Renaming CJK module

* Renaming Readability module

* CJK module `excerpt`

* Actioning Susanna’s additional edit suggestions

* `figcaption` elements for 3 × history articles

* Updating VF syncing article re: new Typeface app feature

* Fixing missing comma

* Correcting typo in `modern_type`

* Copy edits to `modern_type`

* Copy edits to `display_type`

* Copy edits to `from_metal_to_digital`

* Corrections to CJK prev/next articles

* Copy edits to `type_classification_in_cjk` + metadata

* Splitting `type_classification_in_cjk` into 3 articles

* Inserting `related_terms: "script_writing_system"` into all CJK articles

* Updating CJK module ordering in light of splitting

* Dave’s re-write of the CJK module `excerpt`

* Create authenticity_ex1_mock.jpg

* Placing `authenticity_ex1_mock.jpg` in article

* Create authenticity_ex2_mock.jpg

* Placing `authenticity_ex2_mock.jpg` in article

* New version of `authenticity_ex1_mock.jpg`

* Alt text for `adding_an_authentic_natural_touch_to_type`

* Adding `authenticity_ex1_EXTRA.svg` illo

* Placing `authenticity_ex1_EXTRA.svg` in article

* New `authenticity_ex1_EXTRA.svg`

* Name change: `how_to_make_type_feel_authentic`

* New article name in module ordering

* Correcting prev/next in new `using_type` articles

* Excerpt for `how_to_make_type_feel_authentic`

* Excerpt for `from_type_to_logotype`

* Excerpt for `vertical_spacing_and_line_height_in_design_systems`

* Excerpt tweaks to `pairing_typefaces_based...`

* Excerpt for `how_typefaces...`

* Actioning missing alt text in all `history_of_type` articles

* Actioning missing alt text in all `how_typefaces...`

* Actioning missing alt text in `how_type_influences_readability`

* Fixing missing link in `how_to_make_type_feel_authentic`

* Fixing errors found by checker before merge

* Another URL fix

* 6 × excerpts for all CJK articles

* Excerpts for Readability module + both articles

* Copy edit to accessibility article

* Fixing missing URL in `fitting_the_line`

* Fixing missing URLs in `justification_hyphenation`

* Fix Knowledge Graph CI

Co-authored-by: nathan-williams <nlw2sx@virginia.edu>
2022-11-28 19:39:00 +00:00
Nathan Williams
00217e2bab GFK: Only accept topic links with format /topic/* (#5572)
* Update Knowledge CI to only accept /topic/*

* Update all topic links to /topic/*
2022-11-17 15:38:44 -08:00
Nathan Williams
0b8164a99d GFK: Set max vector image size to 1500KB (#5574)
* Set max vector image size to 1500KB

* Set max vector image size to 1500KB

* Increase SVG size limit to 1.6MB

* Replace oversized SVG with a red X for now.

* Increase SVG size limit to 1750 KB
2022-11-17 15:16:15 -08:00
Nathan Williams
0ec012b62b Fix knowledge_graph CI. (#5436) 2022-10-19 15:29:21 -07:00
Rod
235e7e6d0d Add additional Knowledge checks (#5422) 2022-10-18 20:58:44 -07:00
Nathan Williams
cd3c5843ac Remove large gifs from GFK (#5431)
* Remove large GIFs from GFK.

These files are too large for our pipeline. We are running into timeouts.
2022-10-18 15:59:20 -07:00
Nathan Williams
31cc9467a0 Update knowledge_graph.py (#4928) 2022-07-12 14:51:44 -07:00
Nathan Williams
3761297941 Update knowledge_graph.py CI script (#4926)
Module link was incorrectly mapped to topics.
2022-07-12 11:11:09 -07:00
rsheeter
ade0d1e353 Add knowledge link check to CI (#4600)
* Exploratory knowledge link check

* Per IM, we current accept /topic *and* /topics. #4626 filed to tighten this.

* Accept /module/name as a topics ref. Return a failure code if any invalid link was seen.

* Plug into GH workflow

* Make knowledge check a standalone job

* Fix broken links so CI can pass
2022-05-10 14:26:59 -07:00