Added Automatic PHPDoc generation
This commit is contained in:
committed by
Basilius Sauter
parent
5e6f132131
commit
8c135fb29c
@@ -0,0 +1,20 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: PhpDocumentor
|
||||
uses: katrinaas/actions-phpDocumentor@v1
|
||||
- name: Save the changes
|
||||
uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
add: "docs"
|
||||
message: Adding generated Documentation
|
||||
@@ -1,6 +1,7 @@
|
||||
### Project related
|
||||
vendor/
|
||||
.idea/
|
||||
build/
|
||||
|
||||
logs/*
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<phpdocumentor
|
||||
configVersion="3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://www.phpdoc.org"
|
||||
xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"
|
||||
>
|
||||
<paths>
|
||||
<output>docs/</output>
|
||||
<cache>build/cache</cache>
|
||||
</paths>
|
||||
<version number="latest">
|
||||
<api>
|
||||
<source dsn=".">
|
||||
<path>src</path>
|
||||
</source>
|
||||
</api>
|
||||
</version>
|
||||
</phpdocumentor>
|
||||
Reference in New Issue
Block a user