[core] Unbreak pdoc3/pytest command line arguments

This commit is contained in:
Thomas Lindner 2020-07-09 18:14:09 +02:00
parent 8a32a80480
commit 0e53b900c0
2 changed files with 18 additions and 16 deletions

View file

@ -28,7 +28,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pdoc3 pip install pdoc3
- name: Build documentation with pydoc3 - name: Build documentation with pdoc3
run: | run: |
pdoc -f -o build --html ${{ env.packageName }} pdoc -f -o build --html ${{ env.packageName }}
- name: Deploy documentation onto gh-pages - name: Deploy documentation onto gh-pages

View file

@ -6,6 +6,7 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from pytoml import load from pytoml import load
from sys import argv
config = { config = {
@ -14,6 +15,7 @@ config = {
'root_url': 'http://localhost:8000/', 'root_url': 'http://localhost:8000/',
} }
if argv[0] == 'kibicara':
parser = ArgumentParser() parser = ArgumentParser()
parser.add_argument( parser.add_argument(
'-f', '-f',