Skip to content

docs: Update README.md #115

docs: Update README.md

docs: Update README.md #115

Workflow file for this run

name: docs
on:
push:
branches: main
permissions:
contents: write
jobs:
publish-gh-page:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: pandoc markdown to html
uses: docker://pandoc/latex:3.1
with:
args: >-
--katex
--from markdown+tex_math_single_backslash
--to html5+smart
--template="./scripts/template.html5"
--css="/panvimdoc/css/theme.css"
--css="/panvimdoc/css/skylighting-solarized-theme.css"
--toc
--wrap=none
--metadata title="panvimdoc"
doc/panvimdoc.md
--lua-filter=scripts/include-files.lua
--lua-filter=scripts/skip-blocks.lua
-t html
-o public/index.html
- name: deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: public