mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Docs: Add info about pelican-quickstart command path flag.
This commit is contained in:
parent
70c8d2a474
commit
3004bb829c
2 changed files with 5 additions and 1 deletions
|
|
@ -102,6 +102,10 @@ your site::
|
|||
|
||||
pelican-quickstart
|
||||
|
||||
If it is running inside a virtual environment it will try to detect the path
|
||||
associated to it and save the project there. A custom path can be configured
|
||||
using the ``--path`` flag.
|
||||
|
||||
Once you finish answering all the questions, your project will consist of the
|
||||
following hierarchy (except for *pages* — shown in parentheses below — which
|
||||
you can optionally add yourself if you plan to create non-chronological
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ needed by Pelican.
|
|||
no_path_was_specified = hasattr(args.path, 'is_default_path')
|
||||
if os.path.isfile(project) and no_path_was_specified:
|
||||
CONF['basedir'] = open(project, 'r').read().rstrip("\n")
|
||||
print('Using project associated with current virtual environment.'
|
||||
print('Using project associated with current virtual environment. '
|
||||
'Will save to:\n%s\n' % CONF['basedir'])
|
||||
else:
|
||||
CONF['basedir'] = os.path.abspath(os.path.expanduser(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue