From ec54dc1b530caa647f8f04f1b182a4edc7d3af38 Mon Sep 17 00:00:00 2001 From: Kemal Kurniawan <kemal@kkurniawan.com> Date: Mon, 4 Feb 2019 05:44:47 +0700 Subject: [PATCH] Use RTD theme --- docs/conf.py | 4 +++- docs/requirements.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 9de5129..f0e63c5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,6 +22,7 @@ copyright = '2019, Kemal Kurniawan' author = 'Kemal Kurniawan' +# TODO single source version # The short X.Y version version = '0.7' # The full version, including alpha/beta/rc tags @@ -80,7 +81,8 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +#html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..e426347 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +Sphinx==1.8.3 +sphinx_rtd_theme==0.4.2