Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid use of global l10n.locale parameter | Shaun McCance | 2021-10-30 | 9 | -26/+97 |
| | | | | | | | Documents can have different languages at different levels. This is especially true with Mallard stack files, which could incorporate some translated documents, as well as some that have not yet been translated. Using a single global parameter completely breaks this. | ||||
* | mal2html-links: Also fix section links for stacks | Shaun McCance | 2021-10-14 | 1 | -1/+1 |
| | |||||
* | mal2html-page: Fix topic links from guide pages in stacks | Shaun McCance | 2021-10-14 | 1 | -1/+1 |
| | | | | | | | | We were looking for the type as an attr on the root page element, which isn't what we have in a stack. This still doesn't address a stack type that is an implicit first guide and further topics, but that requires deeper surgery. | ||||
* | Loosen CSS match for title/desc in linkdiv | Shaun McCance | 2021-07-24 | 1 | -2/+2 |
| | | | | This allows us to use extra packing divs in linkdivs | ||||
* | common/color: Use different target contrasts for white-on-black | Shaun McCance | 2021-06-19 | 1 | -11/+87 |
| | | | | | | | | | | | | | | | | We can compute most colors from a set of base colors by moving colors closer to the text or background color until they hit a target contrast. For background colors, we were using a very high contrast with the text color, because the lighter background colors look nice. But when using inverse colors (white-on-near-black), that caused the background color computation to give up from recursion depth and return something far too dark. Instead, we now detect if it's an inverse color scheme and adjust the target contrasts accordingly. This commit addresses one point in this yelp metabug: https://gitlab.gnome.org/GNOME/yelp/-/issues/178 | ||||
* | More work on experimental links styles for gnome 40 help | Shaun McCance | 2021-02-13 | 3 | -30/+154 |
| | |||||
* | Update highlight.js to 10.5+ and add SML highlighter | Shaun McCance | 2021-02-12 | 3 | -6/+18 |
| | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/yelp-xsl/-/issues/29 highlight.js renamed cs->csharp and tex->latex, so I had to do the same. This means that the highlight.js included with yelp-xsl as of this commit might not highlight those two languages if you drop it into html built with yelp-xsl before this commit. That's a thing that could potentially happen in multiple-document sites with partial rebuilds. | ||||
* | Oops I forgot to add some CSS template files to Makefile.am | Shaun McCance | 2021-02-10 | 1 | -0/+3 |
| | |||||
* | Adding experimental-gnome-tiles links style | Shaun McCance | 2021-02-09 | 3 | -0/+149 |
| | | | | | | I'm trying to be very, very explicit about style hints that are experimental and currently only intended for a single use, because I really want to be able to drop these styles when we're done with them. | ||||
* | Templatize the grid size | Shaun McCance | 2021-02-09 | 7 | -46/+53 |
| | | | | | | | | | | | This allows you to easily set the page width to common 12-multiples like 1200, 1080, and 960. Things that are grid-based will adjust according without extra effort. Also made some widths follow the selected grid, like sidebar notes. This commit also changes "about" footers to use div elements instead of footer elements. They are already contained in a footer element, and you're not supposed to put footers in footers. | ||||
* | Clean up tests | Shaun McCance | 2020-12-30 | 1 | -2/+2 |
| | |||||
* | Hide sidebar by default at 720px | Shaun McCance | 2020-12-29 | 1 | -0/+5 |
| | |||||
* | Fix up some handling of the style attr | Shaun McCance | 2020-12-29 | 1 | -11/+12 |
| | |||||
* | Adding a README for the CSS text templates | Shaun McCance | 2020-10-17 | 1 | -0/+21 |
| | |||||
* | Use text templates for DocBook CSS | Shaun McCance | 2020-10-17 | 5 | -227/+199 |
| | |||||
* | Use text templates for Mallard CSS | Shaun McCance | 2020-10-17 | 3 | -553/+537 |
| | |||||
* | Some doc updates for text templates | Shaun McCance | 2020-10-16 | 2 | -3/+15 |
| | |||||
* | Put some CSS in separate tmpl files with simple substitutions | Shaun McCance | 2020-10-16 | 10 | -941/+1105 |
| | | | | | This will make it a lot easier for people to work on the theming without digging into XSLT files. | ||||
* | Added some notes to mal-if params about default values | Shaun McCance | 2020-10-16 | 1 | -2/+5 |
| | |||||
* | Various styling changes, especially around media and ttml | Shaun McCance | 2020-05-01 | 3 | -58/+71 |
| | |||||
* | mal-link: Fix missing link when group specified twice on topic links | Shaun McCance | 2020-02-19 | 1 | -2/+4 |
| | |||||
* | Support multiple desc elements for links | Shaun McCance | 2020-01-28 | 1 | -4/+37 |
| | | | | http://projectmallard.org/mep/mep0008 | ||||
* | Adding a syntax highlighter for Ducktype | Shaun McCance | 2020-01-26 | 3 | -0/+12 |
| | |||||
* | Update highlight.pack.js to 9.15.8, add awk and shell | Shaun McCance | 2019-07-10 | 4 | -6/+30 |
| | |||||
* | yelp-xsl.pot: Re-adding strings for DocBook indexes that somehow got removed | Shaun McCance | 2019-05-23 | 1 | -1/+32 |
| | |||||
* | Add mallard:1.1 to mal.if.features | Shaun McCance | 2019-03-16 | 1 | -0/+1 |
| | |||||
* | color.xsl: Refresh colors for new GNOME HIG colors | Shaun McCance | 2019-01-23 | 1 | -7/+7 |
| | |||||
* | mal2html-inline: Use HTML ins/del for hi elements with those styles | Shaun McCance | 2019-01-12 | 2 | -0/+21 |
| | |||||
* | mal2html-inline: Special-case e:hi inside mal:hi | Shaun McCance | 2018-11-03 | 1 | -1/+8 |
| | |||||
* | Allow non-experimental hi element, now with style hints | Shaun McCance | 2018-10-28 | 2 | -0/+60 |
| | |||||
* | Initial work on Mallard stacks | Shaun McCance | 2018-10-20 | 3 | -13/+113 |
| | |||||
* | Added ui-expander-preview style for elements with ui:expanded | Shaun McCance | 2018-10-15 | 7 | -87/+159 |
| | |||||
* | Change xsldoc to use ducktype | Shaun McCance | 2018-09-22 | 54 | -1589/+1957 |
| | |||||
* | mal2html: Add mallard:if/1.0 to supported feature tokens | Shaun McCance | 2018-08-31 | 1 | -0/+1 |
| | |||||
* | Adding stock sidebar support | Shaun McCance | 2018-06-10 | 7 | -92/+534 |
| | |||||
* | Implement th/@scope attribute | Shaun McCance | 2018-03-07 | 2 | -1/+6 |
| | |||||
* | l10n.xsl: Typo fixes in docs | Shaun McCance | 2017-10-17 | 1 | -7/+7 |
| | |||||
* | Update versions and docs for new templates | Shaun McCance | 2017-10-16 | 8 | -85/+85 |
| | | | | | I had set version=3.26 for new and revised templates, but we didn't get the big changes in 3.26. So set them to 3.28. | ||||
* | Some semicolon fixups in CSS | Shaun McCance | 2017-10-08 | 2 | -6/+6 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=739231 | ||||
* | Remove color and bgcolor on footer.about | Shaun McCance | 2017-10-05 | 1 | -5/+1 |
| | |||||
* | Group UI overlays with JS instead of XSLT | Shaun McCance | 2017-10-05 | 2 | -15/+29 |
| | | | | | | | | | UI overlays don't have a grouping element, but we want to group them in the HTML so we can use flexbox for row wrap. We were doing the grouping in XSLT, but this only worked if overlays were exactly next to each other in document order. If you put them in conditionals, you lost grouping. Instead, just output them as-is, then use JS to group them after the fact. | ||||
* | Give note icons a min-width | Shaun McCance | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | mal-if.xsl: Fix lang:C test token | Shaun McCance | 2017-09-15 | 1 | -1/+1 |
| | |||||
* | Rework editor mode banners for new layout | Shaun McCance | 2017-09-13 | 1 | -13/+7 |
| | |||||
* | html.xsl: Small cleanup on some note CSS | Shaun McCance | 2017-08-24 | 1 | -14/+2 |
| | |||||
* | html.xsl: Change article to flex-basis: auto for webkit bug | Shaun McCance | 2017-08-18 | 1 | -1/+1 |
| | |||||
* | mal-link: Match any element with an id in cache for mal.cache.key | Shaun McCance | 2017-08-14 | 1 | -1/+1 |
| | | | | | | This removes a pile of unnecessary customization in Pintail, and it will also be necessary to make general block element addressable in the future. | ||||
* | mal2html-ui.xsl: Add template mal2html.ui.links.img.src | Shaun McCance | 2017-08-11 | 1 | -19/+46 |
| | | | | | Pintail needs to be able to override the src attribute output to support images referenced by pages in other directories. | ||||
* | mal-link.xsl: Add mal.link.target.extended template | Shaun McCance | 2017-08-11 | 1 | -2/+60 |
| | | | | | | This allows tools like Pintail to provide behavior for extended xref attributes without overriding mal.link.target itself, because down that path leads madness. | ||||
* | Always pass the links element as $node thru linking templates | Shaun McCance | 2017-08-04 | 2 | -23/+43 |
| |