The error message "no theme named" sphinx-theme-okfn "when trying to create CKAN documents

I have CKAN installed in virtualenv and activated virtualenv, and I set the requirements in pip-requirements-docs.txt, but when I try to build the documents, I get this error:

> python setup.py build_sphinx
...
sphinx.errors.ThemeError: no theme named 'sphinx-theme-okfn' found (missing theme.conf?)
+2
source share
2 answers

The problem is that the Sphinx theme used by CKAN is not part of the CKAN git repository, it has its own git repository, which is a submodule of the CKAN git repo. Therefore, before you can create documents, you need to check the submodule:

> git submodule init
> git submodule update
> python setup.py build_sphinx
+5
source

. Babel Pyigs - . . , theme.conf https://github.com/rostock/opendata.hro/tree/master/ckan/doc/_themes/sphinx-theme-okfn ~/ckan/default/src/ckan/doc/_themes/sphinx- -okfn; , - sphinx CKAN 1.8 Windows. , -?

0

All Articles