tell-k / sphinxjp.themes.revealjs

A sphinx theme for generate reveal.js presentation. #sphinxjp

Home Page:https://pypi.python.org/pypi/sphinxjp.themes.revealjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sphinx object has no attribute info

cvvergara opened this issue · comments

The fix for the project to run with latest sphinx is in master,
As seen in this diff
v0.3.0...master#diff-cfb01f517442bb66daafa8986a214864deefded6fb6728de124dd58050327b3eR13
There is not a tag for it.
Therefore using 0.3.0 this error still exist

Could not import extension sphinxjp.themes.revealjs (exception: cannot import name 'Directive' from 'sphinx.util.compat'

Downloading from master

pip install git+https://github.com/tell-k/sphinxjp.themes.revealjs@master

it complains a lot:

  Building wheel for sphinxjp.themes.revealjs (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/vicky/osgeolive/docrepo/live-env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-7v5dze0w/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-7v5dze0w/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-tzq_j3nk
       cwd: /tmp/pip-req-build-7v5dze0w/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for sphinxjp.themes.revealjs

Using it this error is now new:

While making html: AttributeError: 'Sphinx' object has no attribute 'info'