Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
/tests/ export-ignore
/phpstan.neon.dist export-ignore
/.github/ export-ignore
/Docs/ export-ignore
/phpdoc.dist.xml export-ignore
45 changes: 45 additions & 0 deletions .github/workflows/phpdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy static content to Pages

on:
push:
branches: ["master"]

workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
phpdoc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Build with phpDocumentor
run: docker run --rm --volume "$(pwd):/data" phpdoc/phpdoc:3
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
- name: Cache phpDocumentor build files
id: phpdocumentor-cache
uses: actions/cache@v3
with:
path: .phpdoc/cache
key: ${{ runner.os }}-phpdocumentor-${{ github.sha }}
restore-keys: |
${{ runner.os }}-phpdocumentor-
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ nbproject*
/.phpunit.cache/
.unlock_css_optimiser
/phpstan.neon
/phpdoc.xml
/.phpdoc
/docs
1,038 changes: 0 additions & 1,038 deletions Docs/__filesource/fsource_csstidy__class.csstidy.php.html

This file was deleted.

851 changes: 0 additions & 851 deletions Docs/__filesource/fsource_csstidy__class.csstidy_optimise.php.html

This file was deleted.

402 changes: 0 additions & 402 deletions Docs/__filesource/fsource_csstidy__class.csstidy_print.php.html

This file was deleted.

521 changes: 0 additions & 521 deletions Docs/__filesource/fsource_csstidy__data.inc.php.html

This file was deleted.

62 changes: 0 additions & 62 deletions Docs/classtrees_csstidy.html

This file was deleted.

97 changes: 0 additions & 97 deletions Docs/csstidy/_class_csstidy_optimise_php.html

This file was deleted.

130 changes: 0 additions & 130 deletions Docs/csstidy/_class_csstidy_php.html

This file was deleted.

Loading