summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-07-31 17:15:46 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-07-31 18:04:51 -0400
commitdc39ffbc451ea8bc4deb46049d11e764d1e5d7dd (patch)
tree385fff02024d6ed739e98cc6f4df3c6a4c33d700
parentf95e8d34d7482a3ac20e20cb589ab96db1879715 (diff)
Adding make file and new conf.py for Documentation generation
Change-Id: I9ad2e1ff90811613b92e88444db9ca962257d76b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rw-r--r--.gitignore1
-rw-r--r--Makefile12
-rw-r--r--etc/conf.py2
3 files changed, 5 insertions, 10 deletions
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