Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mnot/rfcbootstrap
Bootstrap-based XML2RFC stylesheet
https://github.com/mnot/rfcbootstrap
bootstrap ietf rfc
Last synced: 20 days ago
JSON representation
Bootstrap-based XML2RFC stylesheet
- Host: GitHub
- URL: https://github.com/mnot/rfcbootstrap
- Owner: mnot
- Created: 2014-07-31T00:22:29.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T01:22:53.000Z (almost 4 years ago)
- Last Synced: 2024-10-09T23:07:10.934Z (about 1 month ago)
- Topics: bootstrap, ietf, rfc
- Language: XSLT
- Size: 408 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RFCbootstrap
This is an XSLT Stylesheet for transforming
[xml2rfc](http://greenbytes.de/tech/webdav/draft-reschke-xml2rfc-latest.html)
markup into [Bootstrap](http://getbootstrap.com)-based HTML (version 4). It is based upon
Julian Reschke's
[rfc2629.xslt](https://github.com/reschke/xml2rfc).For an example of its output, see
[RFC7230](http://httpwg.github.io/specs/rfc7230.html).A typical invocation might look like this (assuming use of
[Bower](http://bower.io) and [Jekyll](http://jekyllrb.com)):java -classpath lib/saxon9.jar net.sf.saxon.Transform -novw -l \
input.xml rfcbootstrap.xslt \
bootstrapJsUrl='/components/bootstrap/dist/js/bootstrap.min.js' \
bootstrapCssUrl='/components/bootstrap/dist/css/bootstrap.min.css' \
jqueryJsUrl='/components/jquery/dist/jquery.min.js' \
siteCssUrl='/asset/site.css' \
navbar='../../_includes/navbar.htmlBy default, it will use CDN versions of bootstrap and jQuery; however, these
can be overridden with the `bootstrapJsUrl`, `bootstrapCssUrl` and
`jqueryJsUrl` parameters.Additionally, the `pageUrl`, `pageImageUrl` and `siteName` variables can be used to set page
metadata.