-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build XMLRFC and then HTML/TXT from Markdown
- Loading branch information
Showing
5 changed files
with
90 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and publish document | ||
on: push | ||
# branches: [main] | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install packages | ||
run: sudo apt-get install --no-install-recommends -y ruby-kramdown-rfc2629 xml2rfc | ||
|
||
- name: Prepare output directory | ||
run: mkdir build | ||
|
||
- name: Kramdown to XML | ||
run: kramdown-rfc2629 webdav-push.mkd >build/webdav-push.xml | ||
|
||
- name: XML to HTML | ||
run: (cd build; xml2rfc --html webdav-push.xml) | ||
- name: XML to TXT | ||
run: (cd build; xml2rfc --txt webdav-push.xml) | ||
|
||
- name: Publish build | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.idea/ | ||
.obsidian/ | ||
.refcache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
Some Abstract | ||
|
||
What Is It |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: Push for WebDAV | ||
abbrev: WebDAV-Push | ||
docname: draft-bitfire-webdav-push-00 | ||
category: exp | ||
|
||
submissionType: independent | ||
ipr: trust200902 | ||
workgroup: None | ||
keyword: WebDAV | ||
keyword: push | ||
|
||
stand_alone: yes | ||
pi: [toc, sortrefs, symrefs] | ||
|
||
author: | ||
- | ||
ins: R. Hirner | ||
name: Ricki Hirner | ||
organization: bitfire.at | ||
email: [email protected] | ||
|
||
normative: | ||
RFC2119: | ||
RFC4918: | ||
|
||
|
||
--- abstract | ||
|
||
{::include abstract.md} | ||
|
||
|
||
--- middle | ||
|
||
{::include content.md} |