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

Failed to build documentation #24

Closed
JoseGuzman opened this Issue Sep 8, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@JoseGuzman
Copy link
Contributor

JoseGuzman commented Sep 8, 2015

When running in $STIMFITHOME/doc/sphinx/ the following command line:
$> sphinx-build ./ ~/tmp/stf/doc

I've got the following error

Running Sphinx v1.1.3
loading pickled environment... done
No builder selected, using default: html

Theme error:
no theme named 'alabaster' found (missing theme.conf?)

Note in that branch 0.14 this command works.

@neurodroid

This comment has been minimized.

Copy link
Owner

neurodroid commented Sep 8, 2015

You can get it from pip, e.g.
sudo pip-3.4 install alabaster
or whatever version of pip you want to use

@JoseGuzman

This comment has been minimized.

Copy link
Contributor Author

JoseGuzman commented Sep 8, 2015

the following line should be added to conf.py

html_theme_path = ["/usr/local/lib/python2.7/dist-packages/"]

I will submit a pull request as soon as I learn how to do it 👍

@neurodroid

This comment has been minimized.

Copy link
Owner

neurodroid commented Sep 8, 2015

I don't think this should be added as it will look different depending on which platform and which Python version you use. I don't have a single system where this path would be correct.

@JoseGuzman

This comment has been minimized.

Copy link
Contributor Author

JoseGuzman commented Sep 9, 2015

I think the easiest way to go with this is suggested in Pull request #25. Alternativerly, in the future, we may include a custom-made theme within the repository.

@neurodroid

This comment has been minimized.

Copy link
Owner

neurodroid commented Sep 9, 2015

OK, merged #25, closing this issue. Thanks for your pr.

@neurodroid neurodroid closed this Sep 9, 2015

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