diff --git a/docs/source/conf.py b/docs/source/conf.py index 51dccea5..e8d0e72f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,6 +19,7 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) +import sphinx_rtd_theme # -- General configuration ------------------------------------------------ @@ -82,7 +83,8 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # 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/source/development/getting-started.rst b/docs/source/development/getting-started.rst index 4173a212..98ec1cac 100644 --- a/docs/source/development/getting-started.rst +++ b/docs/source/development/getting-started.rst @@ -60,13 +60,14 @@ Test that it worked with: .. code-block:: bash - python -c 'import pygit2' + python -c 'import pygit2' From the directory of the forked repository: .. code-block:: bash - pip install -r requirements.txt - pip install -r test-requirements.txt + + pip install -r requirements.txt + pip install -r test-requirements.txt Your env is now ready to go! :) diff --git a/requirements.txt b/requirements.txt index acdd2736..ff58be99 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ oslo.messaging==5.28.0 protobuf==3.2.0 PyYAML==3.12 requests==2.17.3 +sphinx_rtd_theme supermutes==0.2.5 urllib3==1.21.1