Visual and text changes in quickstart page. Kind of beautifying. It also

includes transparent versions of Cuddles.
This commit is contained in:
f 2014-01-16 11:01:32 +02:00 committed by Berker Peksag
parent d34c22eeac
commit 8ec2719e2d
3 changed files with 16 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
docs/_static/cuddles-transparent.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -2,20 +2,20 @@
Quickstart Quickstart
========== ==========
.. image:: _static/cuddles.png .. image:: _static/cuddles-transparent-small.png
:alt: Karen Rustard's Cuddles :alt: Karen Rustard's Cuddles
(thanks to Karen Rustad for Cuddles!) (Thanks to Karen Rustad for Cuddles!)
HOW TO GET HY REAL FAST: **HOW TO GET HY REAL FAST**:
1. create a `Python virtual environment 1. Create a `Virtual Python Environment
<https://pypi.python.org/pypi/virtualenv>`_ <https://pypi.python.org/pypi/virtualenv>`_
2. activate your Python virtual environment 2. Activate your Virtual Python Environment
3. ``pip install hy`` 3. Install `hy from PyPI <https://pypi.python.org/pypi/hy>`_ with ``pip install hy``
4. start a REPL with ``hy`` 4. Start a REPL with ``hy``
5. type stuff in the REPL:: 5. Type stuff in the REPL::
=> (print "Hy!") => (print "Hy!")
Hy! Hy!
@ -25,20 +25,19 @@ HOW TO GET HY REAL FAST:
etc etc
6. hit CTRL-D when you're done 6. Hit CTRL-D when you're done
OMG! That's amazing! I want to write a hy program. OMG! That's amazing! I want to write a hy program.
7. open up an elite programming editor 7. Open up an elite programming editor and type::
8. type::
(print "i was going to code in python syntax, but then i got hy") (print "I was going to code in python syntax, but then I got hy.")
9. save as ``test_program_of_awesome.hy`` 8. Save as ``awesome.hy``
10. run:: 9. And run your first Hy program::
hy test_program_of_awesome.hy hy awesome.hy
11. take a deep breath so as to not hyperventilate 10. Take a deep breath so as to not hyperventilate
12. smile villainously and sneak off to your hydeaway and do 11. Smile villainously and sneak off to your hydeaway and do
unspeakable things unspeakable things