From dc39ffbc451ea8bc4deb46049d11e764d1e5d7dd Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Fri, 31 Jul 2015 17:15:46 -0400 Subject: Adding make file and new conf.py for Documentation generation Change-Id: I9ad2e1ff90811613b92e88444db9ca962257d76b Signed-off-by: Aric Gardner --- .gitignore | 1 + Makefile | 12 +++--------- etc/conf.py | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/Makefile b/Makefile index 884c0fe..8b2eba7 100644 --- a/Makefile +++ b/Makefile @@ -12,15 +12,9 @@ bps: $(DESIGN_DOCS) | $(BUILDDIR) mkdir -p $(BUILDDIR)/design_docs $(foreach f,$(DESIGN_DOCS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.html);) -html: | $(BUILDDIR) - sphinx-build -b html -c etc -d $(BUILDDIR)/doctrees \ - requirements $(BUILDDIR)/requirements/html - -pdf: | $(BUILDDIR) - sphinx-build -b latex -c etc -d $(BUILDDIR)/doctrees \ - requirements $(BUILDDIR)/requirements/latex - $(MAKE) -C $(BUILDDIR)/requirements/latex \ - LATEXOPTS='--interaction=nonstopmode' all-pdf +bps: $(DESIGN_DOCS) | $(BUILDDIR) + mkdir -p $(BUILDDIR)/design_docs + $(foreach f,$(DESIGN_DOCS),rst2html.py $(f) $(BUILDDIR)/$(f:.rst=.pdf);) $(BUILDDIR): mkdir -p $(BUILDDIR) diff --git a/etc/conf.py b/etc/conf.py index e1303e8..8ad1249 100644 --- a/etc/conf.py +++ b/etc/conf.py @@ -18,7 +18,7 @@ master_doc = 'index' pygments_style = 'sphinx' html_use_index = False -pdf_documents = [('index', u'Doctor', u'Doctor Project', u'OPNFV')] +pdf_documents = [('index', u'Copper', u'Copper Project', u'OPNFV')] pdf_fit_mode = "shrink" pdf_stylesheets = ['sphinx','kerning','a4'] #latex_domain_indices = False -- cgit 1.2.3-korg