How to build the documentation under linux.

103 views
Skip to first unread message

Benjamin Scherrey

unread,
May 15, 2016, 1:20:41 AM5/15/16
to jsonschema - An implementation of JSON Schema for Python
I've checked out the latest version from git: aa2cd272c880e4f3dd7352775fd1504fc745aa68 running python 3.3.5 but I can't seem to get documentation building.
Here's what I did:

cd docs
pip install -r doc-requirements.txt
make html

Which results in ->

sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.4.1

Exception occurred:
  File "/home/scherrey/develop/jsonschema/jsonschema/__init__.py", line 22, in <module>
    from jsonschema._version import __version__
ImportError: No module named 'jsonschema._version'
The full traceback has been saved in /tmp/sphinx-err-pozt6i.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Makefile:45: recipe for target 'html' failed
make: *** [html] Error 1

What am I doing wrong? 

Thanx,

  -- Ben Scherrey

Julian Berman

unread,
May 15, 2016, 11:48:36 AM5/15/16
to Benjamin Scherrey, jsonschema - An implementation of JSON Schema for Python

Hi!

You just need to install jsonschema the package too, e.g., `pip install -r doc-requirements.txt -e ..`

Cheers,
-J

--
You received this message because you are subscribed to the Google Groups "jsonschema - An implementation of JSON Schema for Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonschema+...@googlegroups.com.
To post to this group, send email to jsons...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages