aboutsummaryrefslogtreecommitdiff
path: root/xsl
Commit message (Collapse)AuthorAgeFilesLines
* xsl: Drop the xmlns=xhtml attribute from all stylesheet elementsUlrich Müller2024-10-286-37/+36
| | | | | | | | | | | | | | | | | | | | This caused some HTML elements to contain spurious xmlns attributes, e.g. in quickstart/index.html: <span xmlns="http://www.w3.org/1999/xhtml" class="Statement">dodoc</span> Apparently this is valid in HTML 5, so neither tidy nor the W3C validator would warn about it (and it went unnoticed since 2015): "In HTML documents, elements in the HTML namespace may have an xmlns attribute specified, if, and only if, it has the exact value 'http://www.w3.org/1999/xhtml'." https://html.spec.whatwg.org/multipage/dom.html#global-attributes Use single and double quotes consistently. Whitespace fixes. Fixes: bf60a8772d3ece409e2fbe0b4dd8b5a5dd7df167 Fixes: e918c7dc8268c4a4723ab4b3a35479f4d191a765 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* lang.highlight.ebuild.xsl: Drop epatch keywordUlrich Müller2024-04-221-2/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* lang.highlight.ebuild.xsl: Collect shell commands in a variableUlrich Müller2023-11-061-9/+11
| | | | | | Rewrap some long lines. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* lang.highlight.ebuild.xsl: Update keyword listsUlrich Müller2023-11-061-248/+89
| | | | | | | | | | | | | | Update list of package manager commands up to EAPI 8. Include eclasses that are: - used in an existing example in the Devmanual, or - general purpose eclasses and inherited by more than 1000 ebuilds in the Gentoo repository. The lists of commands are taken from ebuild-mode. Closes: https://bugs.gentoo.org/916628 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* *.xsl: XML declaration, local variables for Emacs, whitespace fixesUlrich Müller2023-11-026-164/+201
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* lang.highlight.ebuild.xsl: Fix spurious replacement of . by $dataUlrich Müller2021-09-071-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Replace ">" by "&gt;" throughout.Ulrich Müller2020-02-182-2/+2
| | | | | | | Most instances are already being escaped, so convert the few remaining ones for consistency throughout the document. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* xsl/lang.highlight.c.xsl: Define the myPos variable.Ulrich Müller2020-01-151-0/+1
| | | | | | | | | | | | This was undeclared, leading to a runtime error: runtime error: file xsl/lang.highlight.c.xsl line 35 element variable Variable 'myPos' has not been declared. XPath error : Undefined variable runtime error: file xsl/lang.highlight.c.xsl line 35 element variable Failed to evaluate the expression of variable 'quotePos'. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* str.tokenize.function.xsl: Fix line endings from CRLF to LF.Ulrich Müller2019-12-191-88/+88
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* xsl/lang.highlight.ebuild.xsl: add more EAPI keywords to highlightGöktürk Yüksek2019-11-251-1/+28
| | | | | | | The list is taken from https://gitweb.gentoo.org/proj/ebuild-mode.git/tree/ebuild-mode-keywords.el#n32 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
* xsl/lang.highlight.ebuild.xsl: highlight eapply callsMikle Kolyada2019-11-251-1/+1
| | | | | Closes: https://github.com/gentoo/devmanual/pull/86 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
* Remove more versionator referencesBrian Evans2018-10-241-0/+6
| | | | Signed-off-by: Brian Evans <grknight@gentoo.org>
* Remove distutils sectionW. Trevor King2013-05-041-6/+0
| | | | | | | | This section hasn't been touched since 2006, and is a bit stale. For example, the TK-use-flags section has been out of date since EAPI 2 and 2-style USE dependencies. See https://bugs.gentoo.org/show_bug.cgi?id=460686
* Remove references to dopython as it's not in Portage any more. Fixes bug ↵Petteri Räty2009-04-081-1/+1
| | | | | | #263268. Thanks to bangert for the patch. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@145 176d3534-300d-0410-8db8-84e73ed771c3
* Document elog. Based on a patch from Betelgeuse.Stephen Bennett2006-12-021-1/+2
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@88 176d3534-300d-0410-8db8-84e73ed771c3
* Fix xmlns="" junk.Tim Yamin2006-08-066-31/+33
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@72 176d3534-300d-0410-8db8-84e73ed771c3
* Fix HTML validation failure (bug #141686); fix XSLT namespace bug.Tim Yamin2006-08-065-10/+10
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@71 176d3534-300d-0410-8db8-84e73ed771c3
* More highlighting goodies (SGML+C).Tim Yamin2006-05-175-3/+146
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@49 176d3534-300d-0410-8db8-84e73ed771c3
* <-- h0ser... add missing files :)Tim Yamin2006-05-173-0/+674
| | | | git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@45 176d3534-300d-0410-8db8-84e73ed771c3
* Highlighting fixes, author list added, fix codesample syntax in places.Tim Yamin2006-05-171-0/+86
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@44 176d3534-300d-0410-8db8-84e73ed771c3