Skip to content

Commit

Permalink
render with html5 writer; add links.js script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Apr 13, 2024
1 parent 1a8ac6a commit 4f51eae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: |
while read -r RST
do
python -m docutils --writer=html --output="${RST%.rst}.html" -- "$RST"
HTML="${RST%.rst}.html"
python -m docutils --writer=html5 --output="$HTML" -- "$RST"
sed --in-place '/<\/head>/i <script src="links.js"></script>' -- "$HTML"
done < <(find . -type f -name "*.rst")
- uses: actions/jekyll-build-pages@v1
Expand Down

0 comments on commit 4f51eae

Please sign in to comment.