We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9e8632 commit 548c81aCopy full SHA for 548c81a
1 file changed
tasks.py
@@ -9,7 +9,7 @@
9
from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer
10
11
CONFIG = {}
12
-CONFIG['basedir'] = (Path(__file__) / '..').resolve()
+CONFIG['basedir'] = Path('.')
13
CONFIG['inputdir'] = CONFIG['basedir'] / 'content'
14
CONFIG['outputdir'] = CONFIG['basedir'] / 'output'
15
CONFIG['conffile'] = CONFIG['basedir'] / 'pelicanconf.py'
@@ -85,15 +85,6 @@ def runserver(c):
85
"""Serve site at http://localhost:8000/"""
86
serve(c)
87
88
-@task
89
-def devserver(c):
90
- """Starts the devserver"""
91
- c.run('echo "Running Pelican DevServer. Press CTRL+C to stop"')
92
- c.run(
93
- 'pelican -lr {inputdir} -o {outputdir} -s {conffile} {opts} -p {port}'
94
- .format(**CONFIG)
95
- )
96
-
97
@task
98
def reserve(c):
99
"""Builds, then serves"""
0 commit comments