update documentation

This commit is contained in:
Leon van Kammen 2023-03-31 19:37:16 +02:00
parent 454d304df6
commit 4e976dc645
2 changed files with 32 additions and 22 deletions

View file

@ -1,3 +1,11 @@
<link rel="stylesheet" href="css/style.css"/>
<link href="https://fonts.cdnfonts.com/css/montserrat" rel="stylesheet"/>
> version 1.0.0
date: 2023-03-31T19:37:02+0200 (generated by `./make doc`)
[![Actions Status](https://github.com/coderofsalvation/xrfragment/workflows/test/badge.svg)](https://github.com/coderofsalvation/xrfragment/actions)
# `://foo.com/my3d.asset#pos=1,0,0&prio=-5` # `://foo.com/my3d.asset#pos=1,0,0&prio=-5`

4
make
View file

@ -38,6 +38,7 @@ doc(){
echo "> version $VERSION" echo "> version $VERSION"
echo "\ndate: $(date +"%Y-%m-%dT%H:%M:%S%z") (generated by \`./make doc\`)\n" echo "\ndate: $(date +"%Y-%m-%dT%H:%M:%S%z") (generated by \`./make doc\`)\n"
echo "[![Actions Status](https://github.com/coderofsalvation/xrfragment/workflows/test/badge.svg)](https://github.com/coderofsalvation/xrfragment/actions)\n" echo "[![Actions Status](https://github.com/coderofsalvation/xrfragment/workflows/test/badge.svg)](https://github.com/coderofsalvation/xrfragment/actions)\n"
{
cat src/xrfragment/URI.hx cat src/xrfragment/URI.hx
cat src/xrfragment/Parser.hx cat src/xrfragment/Parser.hx
} | awk ' } | awk '
@ -56,7 +57,8 @@ doc(){
print $0; print $0;
} }
' > doc/RFC.md '
} > doc/RFC.md
} }
test -z $1 && { try rm dist/* ; haxe build.hxml; sed -i 's|.*nonlocal .*||g' dist/xrfragment.py; exit $?; } test -z $1 && { try rm dist/* ; haxe build.hxml; sed -i 's|.*nonlocal .*||g' dist/xrfragment.py; exit $?; }