You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any thing wrong with code below in config
if 'config' in options:
filename = options.pop('config')
Should it be:
if 'config' in options:
filename = options.get('config')
Because when we run mkdocs serve , we will execute this block of code two times, filename will use the default mkdocs.yml in the second time, this file may not exist.
The text was updated successfully, but these errors were encountered:
If I run the follow command in current development version:
mkdocs serve --config=/home/lf/git/mywork/bb/bog/mkdocs.yml
it will raise error:
But if I run the same command use version 0.11.1
Everything is OK
Is there any thing wrong with code below in config
Should it be:
Because when we run
mkdocs serve
, we will execute this block of code two times, filename will use the defaultmkdocs.yml
in the second time, this file may not exist.The text was updated successfully, but these errors were encountered: