Compare commits
1 Commits
6f35e17fba
...
3589564b7f
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | 3589564b7f |
|
@ -67,8 +67,7 @@ instance/
|
||||||
|
|
||||||
# Sphinx documentation
|
# Sphinx documentation
|
||||||
docs/_build/
|
docs/_build/
|
||||||
# pdoc
|
docs/
|
||||||
docs/html
|
|
||||||
|
|
||||||
# PyBuilder
|
# PyBuilder
|
||||||
target/
|
target/
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Plugin Development
|
|
||||||
|
|
||||||
## File Structure
|
|
||||||
|
|
||||||
- your_plugin/
|
|
||||||
- __init__.py
|
|
||||||
- ...
|
|
||||||
- ...
|
|
||||||
- setup.cfg
|
|
||||||
|
|
||||||
The basic layout of a plugin is quite simple, you will only need the `setup.cfg` or `setup.py` and
|
|
||||||
the package containing your plugin code, at lease a `__init__.py` file with your `Plugin` class.
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import subprocess
|
||||||
"--output",
|
"--output",
|
||||||
"-o",
|
"-o",
|
||||||
help="Documentation output path",
|
help="Documentation output path",
|
||||||
default="./docs/html",
|
default="./docs",
|
||||||
type=click.Path(file_okay=False, path_type=pathlib.Path),
|
type=click.Path(file_okay=False, path_type=pathlib.Path),
|
||||||
)
|
)
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
"""Flaschengeist Plugins
|
|
||||||
|
|
||||||
.. include:: docs/plugin_development.md
|
|
||||||
|
|
||||||
"""
|
|
||||||
from importlib_metadata import Distribution, EntryPoint
|
from importlib_metadata import Distribution, EntryPoint
|
||||||
from werkzeug.datastructures import FileStorage
|
from werkzeug.datastructures import FileStorage
|
||||||
from werkzeug.exceptions import MethodNotAllowed, NotFound
|
from werkzeug.exceptions import MethodNotAllowed, NotFound
|
||||||
|
|
Loading…
Reference in New Issue