updated rfc
This commit is contained in:
parent
ce2a05ed26
commit
d5c9d5fee2
7 changed files with 7900 additions and 3704 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,27 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -xe
|
set -xe
|
||||||
FILE=RFC_XR_Fragments
|
FILE=RFC_XR_Fragments
|
||||||
TEXT=1 ./meta.awk ${FILE}.md > ${FILE}.txt
|
|
||||||
HTML=1 ./meta.awk html/template.html > ${FILE}.html
|
LOGO='
|
||||||
|
▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄ ▄▄▄▄▄▄
|
||||||
|
▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▄▄▄ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓▄▄▄▄▄ ▓▄▄▄▄▄
|
||||||
|
▄▀▀▀▀▀▄ ▒ ▒ ▒▀▀▀ ▒ ▒ ▒▀▀▀▀▀▒ ▒ ▒ ▒ ▒ ▒▄▄▄▄▄▒ ▒ ▒ ▒ ▒
|
||||||
|
░ ░ ░ ░ ░ ░ ░ ░▄▄▄▄░ ░ ░ ░▄▄▄▄▄▄ ░ ░ ░▄▄▄▄▄ ▄▄▄▄▄░
|
||||||
|
|
||||||
|
'
|
||||||
|
|
||||||
|
# to update HTML surf to http://localhost:8080/#📃 All-in-one-spec
|
||||||
|
# and hit 'export tiddler' > html (save to RFC_XR_Fragments.html)
|
||||||
|
{
|
||||||
|
echo "$LOGO";
|
||||||
|
lynx -width 600 -dump ${FILE}.html \
|
||||||
|
| sed 's|file:.*/||g' \
|
||||||
|
| sed 's|.*\(BUTTON\).*$||g' \
|
||||||
|
| sed 's|^[ ]\+\([a-zA-Z0-9]\)|\1|g'
|
||||||
|
} > ${FILE}.txt
|
||||||
|
|
||||||
|
#TEXT=1 ./meta.awk ${FILE}.md > ${FILE}.txt
|
||||||
|
#HTML=1 ./meta.awk html/template.html > ${FILE}.html
|
||||||
|
|
||||||
#xml2rfc --v3 RFC_XR_$topic.xml # RFC_XR_$topic.txt
|
#xml2rfc --v3 RFC_XR_$topic.xml # RFC_XR_$topic.txt
|
||||||
#sed -i 's/Expires: .*//g' RFC_XR_$topic.txt
|
#sed -i 's/Expires: .*//g' RFC_XR_$topic.txt
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,13 @@
|
||||||
{ pkgs ? import <nixos-unstable> {} } :
|
{ pkgs ? import <nixos-unstable> {} } :
|
||||||
{
|
{
|
||||||
|
|
||||||
pkgs = import (builtins.fetchGit {
|
|
||||||
name = "nixos-23.05";
|
|
||||||
url = "https://github.com/nixos/nixpkgs/";
|
|
||||||
ref = "refs/heads/nixos-unstable";
|
|
||||||
rev = "ef99fa5c5ed624460217c31ac4271cfb5cb2502c";
|
|
||||||
});
|
|
||||||
|
|
||||||
foo = pkgs.mkShell {
|
foo = pkgs.mkShell {
|
||||||
# nativeBuildInputs is usually what you want -- tools you need to run
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
||||||
nativeBuildInputs = with pkgs.buildPackages; [
|
nativeBuildInputs = with pkgs.buildPackages; [
|
||||||
|
|
||||||
mmark
|
wkhtmltopdf
|
||||||
xml2rfc
|
lynx
|
||||||
python312Packages.lxml
|
|
||||||
wkhtmltopdf-bin
|
|
||||||
imagemagick
|
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# to create [markdown] table of contents use LLM with this input: awk '/id="/ { print $0 }' RFC_XR_Fragments.html | grep -v idx
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
38
index.html
38
index.html
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue