Permalink
Browse files

Generate doc/source/index.rst from README

  • Loading branch information...
1 parent 1fdd876 commit c77bd4013a818f8bf403863758b26bc8d3d3691b @tkf committed Oct 20, 2012
Showing with 11 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +8 −2 doc/Makefile
  3. +2 −2 doc/source/{index.rst → tail.rest}
View
@@ -1,3 +1,4 @@
env
elpa
doc/build
+doc/source/index.rst
View
@@ -14,7 +14,9 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
+.PHONY: help clean source html dirhtml singlehtml pickle \
+ json htmlhelp qthelp devhelp epub latex latexpdf \
+ text man changes linkcheck doctest gettext
help:
@echo "Please use \`make <target>' where <target> is one of"
@@ -41,7 +43,11 @@ help:
clean:
-rm -rf $(BUILDDIR)/*
-html:
+source: source/index.rst
+source/index.rst: ../README.rst source/tail.rest
+ cat $^ > $@
+
+html: source
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -1,5 +1,5 @@
-Welcome to Emacs Jedi's documentation!
-======================================
+Configuration
+-------------
.. el:package:: jedi

0 comments on commit c77bd40

Please sign in to comment.