From 891340a125456c2dfbe6254be11d21da14bfa980 Mon Sep 17 00:00:00 2001 From: haszi Date: Mon, 29 Apr 2024 15:52:21 +0200 Subject: [PATCH] Full doc-en render test (#121) * Full doc-en render test * Pass output directory option to PhD --------- Co-authored-by: haszi --- .github/workflows/full_render_doc-en_test.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/full_render_doc-en_test.yml diff --git a/.github/workflows/full_render_doc-en_test.yml b/.github/workflows/full_render_doc-en_test.yml new file mode 100644 index 00000000..1463234c --- /dev/null +++ b/.github/workflows/full_render_doc-en_test.yml @@ -0,0 +1,29 @@ +name: Render Test +on: [push, pull_request] +jobs: + test: + name: doc-en + runs-on: ubuntu-latest + steps: + - name: Checkout PhD + uses: actions/checkout@v4 + with: + path: "phd" + + - name: "Checkout php/doc-en" + uses: "actions/checkout@v4" + with: + path: "en" + repository: "php/doc-en" + + - name: "Checkout php/doc-base" + uses: "actions/checkout@v4" + with: + path: "doc-base" + repository: "php/doc-base" + + - name: "Build documentation for doc-en" + run: "php doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout" + + - name: "Render documentation for doc-en" + run: "php phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml --format bigxhtml --format php --format tocfeed --forceindex --output output"