From 1241707f73de2710cd5c6e3b07310eb7a76d1979 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Wed, 13 Mar 2013 19:43:19 -0400 Subject: [PATCH] Adding in docz --- Makefile | 15 +++++++++++++++ docs/_static/.keepme | 0 docs/index.rst | 25 +++++++++---------------- docs/language/index.rst | 6 ++++++ 4 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 docs/_static/.keepme create mode 100644 docs/language/index.rst diff --git a/Makefile b/Makefile index f47d4b8..e868f85 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,10 @@ all: @echo "" @echo " Other targets:" @echo "" + @echo " - docs" + @echo " - site" + @echo " - full" + @echo "" @echo " - dev (test & flake)" @echo " - flake" @echo " - test" @@ -12,6 +16,14 @@ all: @echo " - r" @echo "" +site: + make -C site + +docs: + make -C docs html + +full: d tox site docs + venv: ifeq (,$(findstring hy,$(VIRTUAL_ENV))) @echo "You're not in a Hy virtualenv. FOR SHAME" @@ -41,3 +53,6 @@ diff: git diff --color | less -r r: d tox diff + + +.PHONY: site docs diff --git a/docs/_static/.keepme b/docs/_static/.keepme new file mode 100644 index 0000000..e69de29 diff --git a/docs/index.rst b/docs/index.rst index e0f53bb..1950009 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,22 +1,15 @@ -.. hy documentation master file, created by - sphinx-quickstart on Tue Mar 12 22:52:58 2013. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to hy's documentation! +Welcome to Hy's documentation! ============================== +Hi! Welcome to Hy! + +Documentation Index +=================== + Contents: .. toctree:: - :maxdepth: 2 - - - -Indices and tables -================== - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` + :maxdepth: 3 + language/index +.. library/index diff --git a/docs/language/index.rst b/docs/language/index.rst new file mode 100644 index 0000000..798dcce --- /dev/null +++ b/docs/language/index.rst @@ -0,0 +1,6 @@ +Language Spec +============= + +This bit covers a bit about Hy's lovable quirks and eccentricities. + +