Skip to content
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

Document how to compile .less files in dev docs. #4611

Closed
ArcTanSusan opened this issue Nov 29, 2013 · 7 comments
Closed

Document how to compile .less files in dev docs. #4611

ArcTanSusan opened this issue Nov 29, 2013 · 7 comments
Milestone

Comments

@ArcTanSusan
Copy link
Contributor

Somewhere in the ipython notebook developer docs, we should put instructions on how to compile the .less files into .css files.

$ cd ipython/IPython/html
$ fab css
[localhost] local: components/less.js/bin/lessc -x  style/style.less style/style.min.css
[localhost] local: components/less.js/bin/lessc -x  style/ipython.less style/ipython.min.css

Done

LESS requires extra dependencies like fabric, node, npm, and lessc.

@minrk
Copy link
Member

minrk commented Nov 29, 2013

or from repo root:

python setup.py css

@ArcTanSusan
Copy link
Contributor Author

I have Sphinx installed using pip install in my virtualenv. In the process of generating the html using Sphinx, I'm getting this error: http://pastebin.com/2Ga7KjHQ Is there a step I'm missing?

@damianavila
Copy link
Member

It seems that you need to install PyQt to generate the documentation...

@takluyver
Copy link
Member

Yes, we autogenerate documentation of the config options, including those for the Qt console, which needs PyQt/PySide to be importable.

@ArcTanSusan
Copy link
Contributor Author

I was thinking of where to include a short description of how to compile .less. Is the gitub wiki a good place to include the doc? See new additions in https://github.com/ipython/ipython/wiki/Dev:-Compiling-.LESS-files and https://github.com/ipython/ipython/wiki/Dev:-Index

@damianavila
Copy link
Member

Probably is good to also have it in the wiki... but I think it would be very valuable to have it inside the IPython official doc.

@minrk
Copy link
Member

minrk commented Jan 29, 2014

wiki docs are sufficient.

@minrk minrk closed this as completed Jan 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants