From b401417d599beca323e323e53da63815b2e650ea Mon Sep 17 00:00:00 2001
From: Robert Winkler <rwinkler@antmicro.com>
Date: Fri, 19 Jun 2020 11:40:49 +0200
Subject: [PATCH] Fix missing symbiflow-arch-defs documentation

This commit adds missing symbiflow-arch-defs documentation.
It also bumps the required Sphinx version to ensure the same
build on RTD and locally.

Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
---
 requirements.txt | 2 +-
 source/conf.py   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index 04b3d7e..8976f8f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-Sphinx==2.4.0
+Sphinx==3.0.4
 git+http://github.com/SymbiFlow/sphinx_materialdesign_theme.git@master#egg=sphinx_symbiflow_theme
 sphinx-markdown-tables==0.0.12
 breathe==4.18.1
diff --git a/source/conf.py b/source/conf.py
index 66e6c7a..df9d78f 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -18,7 +18,7 @@ import sys, os
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
-needs_sphinx = '1.6'
+needs_sphinx = '3.0.4'
 
 # For VTR documentation support
 sys.path.append(os.path.abspath('./vtr-verilog-to-routing/doc/_exts'))
@@ -81,7 +81,6 @@ today_fmt = '%Y-%m-%d'
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
 exclude_patterns = [
-    'symbiflow-arch-defs/*',
     'symbiflow-arch-defs/third_party/**',
     'prjtrellis/third_party/**',
     'prjxray/third_party/**',