Built doc issue in pagure doc

While I was trying to build the doc in the local clone of pagure mentioned here I got the following error:

āžœ  doc git:(master) make html                 
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.7.6

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sphinx/config.py", line 161, in __init__
    execfile_(filename, config)
  File "/usr/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/usr/lib/python2.7/site-packages/six.py", line 709, in exec_
    exec("""exec _code_ in _globs_, _locs_""")
  File "<string>", line 1, in <module>
  File "conf.py", line 114, in <module>
    import cloud_sptheme as csp
ImportError: No module named cloud_sptheme

make: *** [Makefile:45: html] Error 2

Is it something missing in :fedora: 29 ?

Install the python package that provides this module:

https://apps.fedoraproject.org/packages/python-cloud-sptheme

sudo dnf install python-cloud-sptheme
3 Likes

Build succeeded with 2 warnings:

/home/tarik/Projects/Fedora/Pagure/Docs/pagure/doc/configuration.rst:1112: WARNING: Unknown target name: "fedora-messa
        ging <>".                                                                                                              
        /home/tarik/Projects/Fedora/Pagure/Docs/pagure/doc/usage/pagure_ci_jenkins.rst:14: WARNING: Unexpected indentation.
        looking for now-outdated files... none found
        pickling environment... done
        checking consistency... done
        preparing documents... done
        writing output... [100%] usage/using_webhooks                                                                          
        generating indices... genindex
        writing additional pages... search
        copying images... [100%] usage/trouble/_static/inaccessible_pr.png                                                     
        copying static files... done
        copying extra files... done
        dumping search index in English (code: en) ... done
        dumping object inventory... done

Please mark the answer as correct to aid other users :+1: