From: Nishi Date: Sat, 5 Oct 2024 09:19:25 +0000 (+0000) Subject: add docs X-Git-Url: https://git.chaotic.ninja/gitweb/nishi/?a=commitdiff_plain;h=47933f85046393627d22970c8a7674a3ca4c9b2f;p=tewi.git add docs git-svn-id: file:///raid/svn-personal/tewi/trunk@267 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..12ca6e2 --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,47 @@ +# $Id$ + +name: "Build Tewi HTTPd Document" + +on: + workflow_dispatch: + push: + +concurrency: + group: "build" + cancel-in-progress: true + +jobs: + doc: + + name: "Deploy pages" + + runs-on: ubuntu-latest + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + permissions: + contents: write + pages: write + id-token: write + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install packages + run: sudo apt-get install tcl subversion + - name: Get docgen + run: svn co http://svn.nishi.boats/repo/docgen/trunk docgen + - name: Build document + run: cd Document && ../docgen/docgen + - name: Make HTML + run: echo "Select

Select


" > Document/output/index.html + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Upload pages + uses: actions/upload-pages-artifact@v3 + with: + path: "Document/output" + - name: Deploy + uses: actions/deploy-pages@v4 diff --git a/Binary/tewi.png b/Binary/tewi.png new file mode 100644 index 0000000..c40b16b Binary files /dev/null and b/Binary/tewi.png differ diff --git a/Document/docgen.conf b/Document/docgen.conf new file mode 100644 index 0000000..988c2c1 --- /dev/null +++ b/Document/docgen.conf @@ -0,0 +1,12 @@ +# vim: syntax=tcl +# $Id$ + +set input_directory "input" +set output_directory "output" +set title "Tewi HTTPd" +set icon "../Binary/tewi.png" +set favicon "../Binary/tewi.png" +set footer "Trac" +set links "" +set icon_height 128 +set languages {jp en}