summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Update highlight.js to 10.5+ and add SML highlighterShaun McCance2021-02-126-17/+69
| | | | | | | | | | 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.
* Adding experimental-gnome-tiles links styleShaun McCance2021-02-095-0/+89
| | | | | | 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 sizeShaun McCance2021-02-096-0/+596
| | | | | | | | | | | 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 testsShaun McCance2020-12-30347-19672/+2148
|
* Use text templates for Mallard CSSShaun McCance2020-10-171-1/+17
|
* Adding a "lipsum" document to test style changesShaun McCance2020-10-164-0/+223
|
* Adding a syntax highlighter for DucktypeShaun McCance2020-01-264-0/+59
|
* Update highlight.pack.js to 9.15.8, add awk and shellShaun McCance2019-07-105-0/+79
|
* Adding SQL to the default list of syntax highlighted languagesShaun McCance2016-01-034-0/+73
|
* Adding code to generate color test pageShaun McCance2016-01-032-0/+205
|
* Switch to highlight.js and revamp color stylesheetShaun McCance2016-01-0350-0/+3279
| | | | | | | | | | | | | | | Switching from the dead jQuery.syntax to the actively maintained highlight.js for syntax highlighting. highlight.js doesn't require jQuery, doesn't break inline markup, and has nicely namespaced class names that avoid clashes with classes used elsewhere in these stylesheets. Previously, we included the JavaScript for syntax highlighting, but didn't provide any CSS to specify colors, leaving a large chunk of work to users to get syntax highlighting visible. This is because the colors defined in color.xsl weren't useful as text colors. This commit introduces a new color system which includes background, foreground, and accent shades for six colors, as well as multiple shades of gray. Many of these colors can now be automatically computed, thanks to color algorithms built into the XSLT.
* Added some missing API docs and shifted a few things aroundShaun McCance2015-07-231-0/+6
|
* Fixed seeie/seealsoie formatters in DocBook, bug in gettextShaun McCance2011-07-011-0/+65
|
* testdocs: Remove broken old chunk params from DocBook testsShaun McCance2011-05-171-3/+0
|
* testdocs: Fix Makefile for new HTML outputShaun McCance2011-05-161-6/+7
|
* [theme-html.xsl] Merging common inline stylesShaun McCance2010-03-021-1/+5
|
* [theme-html] Adding some inline styling to common CSSShaun McCance2010-03-011-3/+8
|
* [test/testdocs] Adding extra DocBook inline testsShaun McCance2010-03-012-0/+86
|
* [test/testdocs] Updating the DocBook testdocsShaun McCance2010-03-01239-484/+8444
|
* [theme-html.xsl] Starting to factor out common DocBook/Mallard CSS for HTMLShaun McCance2010-02-282-7/+30
|
* Migrate from cvsignore to gitignoreClaude Paroz2009-07-045-19/+0
|
* - Added missing ending brace to docsShaun McCance2007-08-101-2/+2
| | | | | | | | | | | | | | | | | * xslt/docbook/html/db2html-block.xsl: - Added missing ending brace to docs * xslt/docbook/html/db2html-division.xsl: - Added callback parameter to db2html.division.div * test/testbook/testbook.xml: * xslt/docbook/common/db-title.xsl: * xslt/docbook/common/db-xref.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-refentry.xsl: - More consistent refentry output svn path=/trunk/; revision=1011
* - Adding some basic index supportShaun McCance2007-08-071-0/+27
| | | | | | | | | | | | * test/testbook/testbook.xml: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-index.xsl: * xslt/docbook/html/db2html.xsl: * xslt/docbook/html/db2xhtml.xsl: * xslt/gettext/l10n.xml.in: - Adding some basic index support svn path=/trunk/; revision=1001
* - Added cmdsynopsis and glossary testsShaun McCance2007-07-241-10/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/testbook.xml: - Added cmdsynopsis and glossary tests * xslt/docbook/html/db2html-division.xsl: - Fixed node comparisons by using set:has-same-node - Put entry-type division children are in a "block" div for CSS * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-table.xsl: - Added FIXME notes * xslt/docbook/html/db2html-css.xsl: - Much CSS simplification * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-refentry.xsl: - Fixed node comparisons by using set:has-same-node * xslt/gettext/l10n.xml.in: * xslt/docbook/common/db-label.xsl: * xslt/docbook/common/db-xref.xsl: * xslt/docbook/html/db2html-cmdsynopsis.xsl: * xslt/docbook/html/db2html-ebnf.xsl: * xslt/docbook/html/db2html-suppressed.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: - Changed sbr handling, suppress by default - Implemented synopfragments correctly - Put in automatic alignment padding for sbr elements - Consolidated CSS for *synopsis elements * xslt/docbook/html/db2html-bibliography.xsl: - Fixed node comparisons by using set:has-same-node - Implemented bibliolist * xslt/docbook/html/db2html-list.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: - Consolidated properties for CSS styling * xslt/docbook/html/db2html-autotoc.xsl: - Documentation edit svn path=/trunk/; revision=985
* - Some work on reference and refentryShaun McCance2007-07-051-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/testbook.xml: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-refentry.xsl: - Some work on reference and refentry * xslt/docbook/html/db2html-bibliography.xsl: - Made l10n.format.mode a doc-noop, documented elsewhere * xslt/docbook/html/db2html-autotoc.xsl: - Added some documentation - Remove $db.chunk.chunks_ reference * xslt/docbook/common/db-common.xsl: - Put gettext in :Requires: for db.personname.list * xslt/docbook/common/db-label.xsl: - Made reference label formatter output nothing * xslt/gettext/l10n.xml.in: - Added " — " for refpurpose separator svn path=/trunk/; revision=971
* - Added rules to build with Norm's stylesheets, for comparisonShaun McCance2007-07-022-7/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/Makefile: - Added rules to build with Norm's stylesheets, for comparison * xslt/docbook/html/db2html-info.xsl: * xslt/docbook/html/db2html-suppressed.xsl: - Use new common copyright template, moved holder and year to inline * test/testbook/testbook.xml: * xslt/docbook/html/db2html-bibliography.xsl: - Lots and lots of work on bibliograpies * xslt/docbook/html/db2html-classsynopsis.xsl: - A few quick fixes for Python class synopses * xslt/docbook/html/elements: - Added bibliolist * xslt/docbook/html/db2html-inline.xsl: - Added automatic bibliography linking for citations * xslt/docbook/common/db-common.xsl: - New common copyright template - New personname list template * xslt/gettext/gettext.xsl: - Some fixes for blank roles/forms * xslt/gettext/l10n.xml.in: - Added ", and ", " and ", and bibliolabel.format svn path=/trunk/; revision=968
* - Added some Pythonic goodies to classsynopsisShaun McCance2007-05-231-0/+44
| | | | | | | | | | | * test/testbook/testbook.xml: * xslt/docbook/html/db2html-classsynopsis.xsl: - Added some Pythonic goodies to classsynopsis * xslt/docbook/html/db2html-inline.xsl: - Fixed xsldoc error on l10n.format.mode svn path=/trunk/; revision=960
* - Made bibliodiv chunkableShaun McCance2007-05-231-0/+6
| | | | | | | | | | | | | | | * test/testbook/testbook.xml: * xslt/docbook/common/db-chunk.xsl: * xslt/docbook/html/db2html-bibliography.xsl: - Made bibliodiv chunkable * data/icons/hicolor/scalable/admon-caution-shadow.svg: * data/icons/hicolor/scalable/admon-caution.svg: * data/icons/hicolor/scalable/admon-warning-shadow.svg: * data/icons/hicolor/scalable/admon-warning.svg: - Adding SVG some files I'd forgotten svn path=/trunk/; revision=959
* - Added lots of inline tests - Added the beginning of a glossaryShaun McCance2007-05-211-0/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/testbook.xml: - Added lots of inline tests - Added the beginning of a glossary * xslt/docbook/common/db-title.xsl: * xslt/docbook/html/db2html-division.xsl: - Made the empty $info selectors node sets - Fixed some automatic titles * xslt/docbook/html/db2html-info.xsl: - Use the new dl-compact class in credits * xslt/docbook/html/db2html-cmdsynopsis.xsl: - Made cmdsynopsis have a pre wrapped in a div for consistency * xslt/docbook/html/db2html-bibliography.xsl: - Bibliographies have bibliographyinfo, not glossaryinfo * xslt/docbook/html/db2html-classsynopsis.xsl: - Moved ooclass, ooexception, and oointerface to db2html-inline * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-inline.xsl: - Revamped all inline elements - Added db2html.inline.content.mode * xslt/docbook/common/db-common.xsl: - Small db.personname modification * xslt/gettext/l10n.xml.in: - Added localizable citation formatting * data/icons/hicolor/48x48/admon-caution.png: * data/icons/hicolor/48x48/admon-warning.png: * data/icons/hicolor/scalable/Makefile.am: - More icons from cornelius[cz] svn path=/trunk/; revision=956
* - Changes to test various iconsShaun McCance2007-05-101-6/+3
| | | | | | | | | | | | | | | * test/testbook/Makefile: - Changes to test various icons * xslt/common/theme.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/gettext/l10n.xml.in: - Use triangle characters instead of images for the navbar - Starting to do some watermark work svn path=/trunk/; revision=944
* - Added another line numbering continuation testShaun McCance2007-05-091-0/+8
| | | | | | | | | | | | | | | * test/testbook/testbook.xml: - Added another line numbering continuation test * xslt/docbook/common/db-common.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-inline.xsl: * xslt/docbook/html/db2html-list.xsl: - Implemented line numbering continuations - Moved orderedlist continuation handling to db-common - Removed hardly-used db.dingbat template svn path=/trunk/; revision=943
* - Added some more linenumbering tests - Added various synopsis testsShaun McCance2007-05-081-53/+272
| | | | | | | | | | | | | | | | | * test/testbook/testbook.xml: - Added some more linenumbering tests - Added various synopsis tests * xslt/docbook/common/db-common.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: - Visual updates for synopses and line numbering * xslt/docbook/html/db2html-classsynopsis.xsl: - Implemented Python support svn path=/trunk/; revision=941
* - Moved the table CSS to db2html-css.xslShaun McCance2007-05-041-1/+131
| | | | | | | | | | | | | | * xslt/docbook/html/db2html-table.xsl: - Moved the table CSS to db2html-css.xsl * test/testbook/testbook.xml: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: * xslt/docbook/html/db2html-inline.xsl: - Improvements to funcsynopsis svn path=/trunk/; revision=931
* - More table testsShaun McCance2007-05-041-6/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/testbook.xml: - More table tests * xslt/docbook/html/db2html-table.xsl: - Massively improved (and somewhat more documented) CALS tables * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-bibliography.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-callout.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: * xslt/docbook/html/db2html-cmdsynopsis.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-ebnf.xsl: * xslt/docbook/html/db2html-footnote.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: * xslt/docbook/html/db2html-info.xsl: * xslt/docbook/html/db2html-inline.xsl: * xslt/docbook/html/db2html-l10n.xsl: * xslt/docbook/html/db2html-list.xsl: * xslt/docbook/html/db2html-media.xsl: * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-refentry.xsl: * xslt/docbook/html/db2html-title.xsl: * xslt/docbook/html/db2html-xref.xsl: - We don't need the html: prefix to do the namespace alias * doc/xslt/Makefile.am: * doc/xslt/C/gnome-doc-xslt.xml: - Keep xsldoc.awk output around, can do checks later svn path=/trunk/; revision=930
* - Output to either HTML or XHTMLShaun McCance2007-04-251-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/xslt/C/gnome-doc-xslt.xml: * test/testbook/Makefile: * xslt/docbook/html/Makefile.am: * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-bibliography.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-callout.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: * xslt/docbook/html/db2html-cmdsynopsis.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-ebnf.xsl: * xslt/docbook/html/db2html-footnote.xsl: * xslt/docbook/html/db2html-funcsynopsis.xsl: * xslt/docbook/html/db2html-info.xsl: * xslt/docbook/html/db2html-inline.xsl: * xslt/docbook/html/db2html-l10n.xsl: * xslt/docbook/html/db2html-list.xsl: * xslt/docbook/html/db2html-media.xsl: * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-refentry.xsl: * xslt/docbook/html/db2html-table.xsl: * xslt/docbook/html/db2html-title.xsl: * xslt/docbook/html/db2html-xref.xsl: * xslt/docbook/html/db2html.xsl: * xslt/docbook/html/db2xhtml.xsl: - Output to either HTML or XHTML svn path=/trunk/; revision=928
* - More work on listsShaun McCance2007-04-251-14/+156
| | | | | | | | | | * test/testbook/testbook.xml: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-list.xsl: - More work on lists svn path=/trunk/; revision=926
* - Added a variablelist exampleShaun McCance2007-04-231-0/+27
| | | | | | | | | | | | | * test/testbook/testbook.xml: - Added a variablelist example * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-info.xsl: * xslt/docbook/html/db2html-list.xsl: - Working on list styling - Making sure info pages have necessary classes svn path=/trunk/; revision=924
* - A small tableShaun McCance2007-04-231-0/+16
| | | | | | | | | | | | | * test/testbook/testbook.xml: - A small table * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-info.xsl: - Make info pages use the same code as everything else svn path=/trunk/; revision=923
* - Added informalfigure formalpara literallayout programlisting screenShaun McCance2007-04-201-6/+138
| | | | | | | | | | | | | | | | * test/testbook/testbook.xml: - Added informalfigure formalpara literallayout programlisting screen * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-media.xsl: * xslt/docbook/html/db2html-table.xsl: * xslt/gettext/l10n.xml.in: - Some autotoc and figure work svn path=/trunk/; revision=919
* - Adding a simple test bookShaun McCance2007-04-202-0/+316
| | | | | | | | | | | | | | | | | | | | | | | | * test/testbook/Makefile: * test/testbook/testbook.xml: - Adding a simple test book * xslt/common/theme.xsl: * xslt/docbook/common/db-chunk.xsl: * xslt/docbook/html/db2html-admon.xsl: * xslt/docbook/html/db2html-autotoc.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-media.xsl: * xslt/docbook/html/db2html-title.xsl: * xslt/docbook/html/db2html.xsl: - Changes to how blocks and titles work - Changes to CSS interfaces - Brand new theme.xsl module - Implemented a TOC sidebar - Various other things svn path=/trunk/; revision=918
* - Do XInclude when timingShaun McCance2005-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * test/timing/timeall: - Do XInclude when timing * xslt/docbook/common/db-label.xsl: * xslt/docbook/common/db-title.xsl: * xslt/docbook/common/db-xref.xsl:- * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-bibliography.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html.xsl: * xslt/gettext/l10n.xml.in: - Added support for "cooked" bibliographies * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-inline.xsl: * xslt/docbook/html/db2html-suppressed.xsl: - Added artpagenums, edition, isbn, pubdate, publishername * xslt/gettext/l10n.xml.in: - Added the 'Translator(s)' string
* - New script to time the DocBook XSLT across all installed docsShaun McCance2005-11-151-0/+42
| | | | | * test/timing/timeall: - New script to time the DocBook XSLT across all installed docs
* - Example label formatter - Stylistic improvementsShaun McCance2004-10-281-17/+1
| | | | | | | | | | | | | | | | | * test/testdocs/db2html.xsl: * xslt/docbook/common/db-format.xml.in: * xslt/docbook/common/db-label.xsl: * xslt/docbook/html/db2html-admon.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-table.xsl: * xslt/docbook/html/db2html-title.xsl: - Example label formatter - Stylistic improvements * xslt/gettext/gettext.xsl: - Fixed typo
* *//.cvsignore - Updating some .cvsignore filesShaun McCance2004-09-181-5/+0
| | | | | | | | | | | | | | * *//.cvsignore - Updating some .cvsignore files * test/testdocs/classsynopsis.x001.xml: - Small adjustment to the classsynopsis test * xslt/docbook/html/db2html-classsynopsis.xsl: - Adjusted methodparam code * xslt/docbook/html/db2html-table.xsl: - Adjusted table handling
* xslt/docbook/utils/credits.xslShaun McCance2004-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * bootstrap.make: * configure.in: * gnome-doc-utils.make: * xslt/docbook/Makefile.am: * xslt/docbook/utils/Makefile.am: * xslt/docbook/utils/credits.xsl * xslt/docbook/utils/ids.xsl: - Implemented the documentation header file thing * autogen.sh: - Requiring automake 1.6 * gnome-doc-utils.pc.in: - Somewhat nicer variables * doc/gnome-doc-make/Makefile.am: - Added gnome-dco-make.awk to EXTRA_DIST * doc/xslt/gnome-doc-xslt.desktop.in: - Changed the ID * test/testdoc1/Makefile.am: - Newline * xslt/docbook/common/Makefile.am: * xslt/docbook/html/Makefile.am: * xslt/docbook/omf/Makefile.am: * xslt/gettext/Makefile.am: * xslt/rngdoc/Makefile.am: * xslt/xsldoc/Makefile.am: - Changed the installation directory * xslt/gettext/format2xsl.xsl: - Quick fixes to how sans-@xml:lang stuff is handled
* Adding NO-AUTO-GEN filesShaun McCance2004-07-141-0/+0
|
* - Completed table support, sans a few attributesShaun McCance2004-07-141-3/+20
| | | | | | * test/testdocs/table.x001.xml: * xslt/docbook/html/db2html-table.xsl: - Completed table support, sans a few attributes
* - Added table test for spanning stuffShaun McCance2004-07-132-0/+52
| | | | | | | | | * test/testdocs/README: * test/testdocs/table.x001.xml: - Added table test for spanning stuff * xslt/docbook/html/db2html-table.xsl: - Lots of table jolliness, back to half-working
* - Updated .cvsignore filesShaun McCance2004-06-022-0/+4
|
* - Made test the default targetShaun McCance2004-06-021-2/+2
| | | | | | | | | | | | | | | | | * test/testdocs/Makefile: - Made test the default target * xslt/docbook/common/db-common.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-inline.xsl: - Implemented some of linenumbering - Added preliminary equation support * xslt/docbook/html/db2html-funcsynopsis.xsl: - Changed newline character * xslt/docbook/html/db2html-suppressed.xsl: - Added alt