From 5ce24759f12bf96d6b5e488a96111b902962a455 Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Wed, 15 Jan 2025 18:18:42 -0700 Subject: [PATCH] Remove PDF Generation Until We Can Fix (#1676) * remove until we can fix * remove from downloads too --- .github/workflows/pdf.yml | 36 ----------------------------------- src/pages/downloads/index.tsx | 33 -------------------------------- 2 files changed, 69 deletions(-) delete mode 100644 .github/workflows/pdf.yml diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml deleted file mode 100644 index 1fd43444..00000000 --- a/.github/workflows/pdf.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Generate Documentation PDF -on: - pull_request: - types: - - closed - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Get filename with date and sha - run: | - DATE_TIME=$(date +'%Y-%m-%d_%H-%M') - echo "filename=Meshtastic-Documentation-${DATE_TIME}-${{ github.sha }}.pdf" >> $GITHUB_OUTPUT - id: filename - - - name: Install Prince - run: | - curl https://www.princexml.com/download/prince-15.3-linux-generic-x86_64.tar.gz -O - tar zxf prince-15.3-linux-generic-x86_64.tar.gz - cd prince-15.3-linux-generic-x86_64 - yes "" | sudo ./install.sh - - - name: Build PDF - run: npx docusaurus-prince-pdf -u https://meshtastic.org/docs/about/ --dest ./ --output ./${{ steps.filename.outputs.filename }} - - - name: Create request artifacts - if: github.event.pull_request.merged - uses: gavv/pull-request-artifacts@v2.1.0 - with: - commit: ${{ (github.event.pull_request_target || github.event.pull_request).head.sha }} - repo-token: ${{ secrets.GITHUB_TOKEN }} - artifacts-token: ${{ secrets.ARTIFACTS_TOKEN }} - artifacts-repo: meshtastic/artifacts - artifacts-branch: docs - artifacts: ./${{ steps.filename.outputs.filename }} diff --git a/src/pages/downloads/index.tsx b/src/pages/downloads/index.tsx index 95142b80..de034a44 100644 --- a/src/pages/downloads/index.tsx +++ b/src/pages/downloads/index.tsx @@ -216,39 +216,6 @@ const Firmware = (): JSX.Element => { )} - {/* */} -

Documentation

-
-
- -
-
-
-
-

PDF

-
-
-
- -
-
-
- Current Meshtastic.org documentation compiled for offline use -
-
- - GitHub - - -
-
-
-
);