New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in minimal mkdocs.yml file... "ERROR - Config value: pages" #562

Closed
trel opened this Issue May 27, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@trel
Contributor

trel commented May 27, 2015

Congrats on 0.13 today!

Am playing with the site navigation and have run directly into a wall.

I was using the automatically generated navigation, which is working fine, but I want to reorder some of the automatic listing and then realized the only way to do this for real was to define the entire navigation.

I then hit the ERROR - Config value: pages error below and began to narrow the focus... until I have a single site_name and pages entry, and mkdocs fails.

I'm running 0.13 in a virtualenv - any ideas? The error message says I have an error, but the output it gives hasn't clued me into what I've done wrong.

It smells like a python/virtualenv/version thing...

(venv) $ pip install --upgrade mkdocs
Requirement already up-to-date: mkdocs in ./venv/lib/python2.7/site-packages
Requirement already up-to-date: click>=4.0 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: ghp-import>=0.4.1 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: Jinja2>=2.7.1 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: livereload>=2.3.2 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: Markdown>=2.3.1 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: PyYAML>=3.10 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: six>=1.9.0 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: tornado>=4.1 in ./venv/lib/python2.7/site-packages (from mkdocs)
Requirement already up-to-date: markupsafe in ./venv/lib/python2.7/site-packages (from Jinja2>=2.7.1->mkdocs)
Requirement already up-to-date: backports.ssl-match-hostname in ./venv/lib/python2.7/site-packages (from tornado>=4.1->mkdocs)
Requirement already up-to-date: certifi in ./venv/lib/python2.7/site-packages (from tornado>=4.1->mkdocs)
Cleaning up...
(venv) $ cat mkdocs.yml 
site_name: MyTest

pages:
- 'testing.md'
(venv) $ mkdocs build
ERROR   -  Config value: pages. Error: Invalid pages config. set([<type 'str'>]) set([<type 'unicode'>, <type 'dict'>]) 
Error: Errors found in the config file.
@d0ugal

This comment has been minimized.

Member

d0ugal commented May 27, 2015

Ah, sorry. This is a silly mistake on my end. I'm rolling out a bug fix release just for this. Expect a 0.13.1 to arrive within the next hour.

@d0ugal

This comment has been minimized.

Member

d0ugal commented May 27, 2015

I am just waiting for CI to confirm my fix on Windows. Once it passes on #565 I'll push the release

@d0ugal d0ugal closed this in #565 May 27, 2015

@d0ugal

This comment has been minimized.

Member

d0ugal commented May 27, 2015

MkDocs 0.13.1 is now available on PyPI. Please upgrade and let me know if you run into any other issues.

@trel

This comment has been minimized.

Contributor

trel commented May 27, 2015

confirmed - works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment