1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-10-31 15:35:07 -04:00
Commit Graph

102 Commits

Author SHA1 Message Date
Marvin W
5434fda9a9
Add support for section5 in stylesheet (used in XEP-0060 and XEP-0327) 2020-03-08 12:15:18 +01:00
Emmanuel Gil Peyrot
6b55544477 xep.xsl: Don’t output invalid <di/> element in HTML. 2020-03-03 17:32:53 +01:00
Jonas Schäfer
d4dd1403a0 Merge branch 'feature/xep-0412' 2020-01-28 19:01:53 +01:00
Jonas Schäfer
caa93ea37f Generate a proper HTML5 document type
We were previously generating HTML5, while claiming to be
XHTML 1.0 and serving the content with text/html Content-Type.
Not ideal.

This change generates the proper HTML5 document type using a
slightly awful, but required, hack because HTML5 is using a weird
doctype format not supported by XSLT (1.0, anyways).
2020-01-22 16:34:15 +01:00
Jonas Schäfer
83195a7083 Fix ghost whitespace in authors list
Using indent='no' prevents any spurious whitespace from being
generated in the output. This ensures that user agents do not
render such whitespace in places where none should be, for example
between the <li/> elements of an authors list.

Thanks to @flowdalic for finding and reporting.
2020-01-22 16:23:29 +01:00
Emmanuel Gil Peyrot
5adc20310c XSLT: Fix spacing and missing letter in deprecated and obsolete headers. 2020-01-16 13:31:45 +01:00
Jonas Schäfer
79846a32ea Happy New Year 2020-01-02 17:46:04 +01:00
Kim Alvefur
696b2332e3 xsl: Set output mode to HTML
This makes the XEP XML viewable in browsers.
2019-04-20 00:41:51 +02:00
Jonas Schäfer
a032d17204 Hotfix against the web server misconfiguration
xmpp.v2.css isn’t served from the xeps docker, making all XEPs
render without CSS.
2019-04-06 10:58:04 +02:00
Jonas Schäfer
5c6db1475a Show both Deprecated and Obsolete if document is in either status in timeline 2019-04-06 09:41:28 +02:00
Jonas Schäfer
d034936552 Mention yaml.de in legal section 2019-04-05 17:45:04 +02:00
Jonas Schäfer
51ad9a4295 Show document lifecycle next to metadata 2019-04-05 17:40:04 +02:00
Jonas Schäfer
57c0897ab1 Re-work display of revision list entries 2019-04-05 17:39:26 +02:00
Jonas Schäfer
e77875ede6 Fix Proposed template (there was a missing space) 2019-04-05 17:39:26 +02:00
Jonas Schäfer
8ae43e3d7a Bump that copyright year 2019-04-05 17:39:26 +02:00
Jonas Schäfer
3f29a910da Support existing uses of <div class="example"> 2019-04-05 17:39:26 +02:00
Jonas Schäfer
62eea6eee1 Evil trickery to show XMPP logo and XEP number in ToC 2019-04-05 17:39:26 +02:00
Jonas Schäfer
a26c4f7d1a Fix revision history styling 2019-04-05 17:39:26 +02:00
Jonas Schäfer
07060ae5e6 Visually separate docmeta a bit from the normal content 2019-04-05 17:39:26 +02:00
Jonas Schäfer
48e6477b98 Show the ToC on the left margin if enough space is available 2019-04-05 17:39:26 +02:00
Jonas Schäfer
39199b23d8 Re-Style Iteration 1: CSS rework, some semantic stuff 2019-04-05 17:39:26 +02:00
Jonas Wielicki
1624b77dbf Fix copyright statement year
(we should fix the statement at some point)
2018-07-31 17:34:56 +02:00
Jonas Wielicki
238329a536 Fix intra-XEP links (regression from 609a081 2017-08-24 14:31:30 +02:00
Jonas Wielicki
609a081f27 Add build for inbox/ 2017-08-23 14:45:07 +02:00
Sam Whited
980bc2d15f xep.xsl: Add superseded by specs as part of status line 2017-01-28 17:05:26 -06:00
Emmanuel Gil Peyrot
25867ed138 xep.xsl: Small optimisations. 2017-01-28 17:05:26 -06:00
Tobias Markmann
62083cddeb Fix note numbering for nested notes in XHTML XSL 2017-01-18 08:55:51 -06:00
Sam Whited
48d668e5f0 Update some copyright dates 2017-01-11 09:48:29 -06:00
Tobias Markmann
de06827d21 Remove duplicates from ‘Notes’ section in XHTML rendered XEPs
Test-Information:

Tested on a single XEP that it works as expected. Repeated
notes get the same note number and the notes section only
mentions each note once.
2017-01-11 09:29:07 -06:00
Sam Whited
92d9bbc899 Revert "Merge pull request #360 from SamWhited/unique_ref_notes"
This reverts commit ee2544758c, reversing
changes made to 2c4b42dbd1.
2017-01-11 09:09:47 -06:00
Sam Whited
d78f9de6c0 Don't duplicate footnotes in HTML 2017-01-09 09:56:18 -06:00
Emmanuel Gil Peyrot
054aea0ea9 xep.xsl: Improve the schemaloc > ns sentence, using quotes. 2016-10-13 23:24:09 +01:00
Edwin Mons
1c8851a2db xep.xsl: Force open and close tags on script
XSLT processors are allowed to choose either the self-closing form or
explicit open and close tags when operating in xml mode for elements
that have no text.  Unfortunately, for the script element, this is not
allowed (by the DTD, and conformant browsers will not accept the
self-closing form).

xsltproc, as used by the XSF tooling, will output the open/close tags,
but other processors, such as Xalan, will choose the self-closing form.

This patch adds an empty comment as a child of the script tag. This will
force all XSLT processors into outputting the right form. As browsers
are required to ignore the content if there is a src attribute, this
will not change the behaviour. Should a browser without support for the
script tag open it, all it sees is a comment.

Test-Information:

Transforms XEPs into readable documents in xsltproc and oXygen 9.3.
2016-08-31 08:33:33 +02:00
Ash Ward
ecefd17bc6 Updated copyright year in xep.xsl 2016-01-07 18:26:35 +00:00
Winfried Tilanus
c74cd46b92 Also use the prettify.js from the extentions directory. 2015-11-16 20:45:03 +01:00
Peter Saint-Andre
eade8a6c99 fixed CSS path for website 2015-11-16 09:50:30 -07:00
Matthew A. Miller
e183820d43 Update copyright dates (fixes #28) and deferred notices (fixes #27). 2015-07-23 16:28:58 +02:00
Matthew A. Miller
31e612a9bd Merge pull request #24 from SamWhited/source_control_link
Fix source control link in XEPs
2015-07-20 08:50:08 +02:00
Sam Whited
49f4b4d0ef Fix source control link in XEPs 2015-07-18 21:38:22 -05:00
Matthew A. Miller
c7b619cc78 Exclude note on when last call ends if no <lastcall> (e.g., XEP still under consideration by XMPP Council) 2015-07-15 09:36:52 -06:00
Peter Saint-Andre
08e183781a copyright update for 2014 2014-01-08 11:39:11 -07:00
Mike Taylor
ed95e4662c applying patch from Remko to add template support for sub element 2013-11-27 16:33:44 -05:00
Peter Saint-Andre
dcefdb0506 making XEPs mobile-friendly 2013-06-19 15:42:02 -06:00
Peter Saint-Andre
170b40f1a2 2013 copyright updates 2013-01-03 11:26:22 -07:00
Peter Saint-Andre
82f5d53717 updated RFC citations 2012-08-03 11:54:33 -06:00
stpeter
c940f5c79f councilnote 2012-01-11 10:50:27 -07:00
stpeter
59f5288095 updated copyright year in legal notice 2012-01-10 12:31:00 -07:00
stpeter
ee7f72207a corrected source control link 2011-06-10 21:23:18 -06:00
stpeter
f440cd55c0 updated copyright year 2011-02-23 16:03:57 -07:00
Tobias Markmann
0012e12fce Add information about other formats to XEPs.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@4149 4b5297f7-1745-476d-ba37-a9c6900126ab
2010-04-08 18:10:55 +00:00