From b99df0cebdf246e024dc3d7de75a7c78ca00e5e3 Mon Sep 17 00:00:00 2001
From: Markus Holzer <markus.holzer@fau.de>
Date: Mon, 21 Dec 2020 11:49:28 +0100
Subject: [PATCH] Fixed build doc

---
 .gitlab-ci.yml | 3 ++-
 doc/conf.py    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c834b971..326f51cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -149,7 +149,8 @@ build-documentation:
     - export PYTHONPATH=`pwd`
     - pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
     - mkdir html_doc
-    - sphinx-build -W -b html doc  html_doc
+    - sphinx-build -b html doc html_doc
+    - sphinx-build -W -b html doc html_doc
   tags:
     - docker
     - cuda11
diff --git a/doc/conf.py b/doc/conf.py
index befdb443..d7aca864 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -54,6 +54,7 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3.6', None),
                        }
 
 autodoc_member_order = 'bysource'
+bibtex_bibfiles = ['sphinx/lbmpy.bib']
 
 project = 'lbmpy'
 html_logo = "img/logo.png"
-- 
GitLab