Skip to content

Commit

Permalink
Configure ReadTheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Nov 23, 2020
1 parent d4fbad3 commit 46e12b2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,9 @@
version: 2

sphinx:
configuration: docs/source/conf.py

python:
version: 3.7
install:
- requirements: docs/source/requirements.txt
Empty file added docs/source/_static/.gitkeep
Empty file.
Empty file added docs/source/_templates/.gitkeep
Empty file.
9 changes: 0 additions & 9 deletions docs/source/_templates/versioning.html

This file was deleted.

5 changes: 2 additions & 3 deletions docs/source/conf.py
Expand Up @@ -32,8 +32,7 @@
# ones.
extensions = [
'recommonmark',
'sphinxcontrib.programoutput',
'sphinx_multiversion'
'sphinxcontrib.programoutput'
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -58,7 +57,7 @@
# 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'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
7 changes: 2 additions & 5 deletions docs/source/index.rst
@@ -1,11 +1,8 @@
.. bats-core documentation master file, created by
sphinx-quickstart on Wed Sep 2 23:33:57 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to bats-core's documentation!
=====================================

Versions v1.2.1 and before are documented over `there <https://github.com/bats-core/bats-core/blob/master/docs/versions.md>.

.. toctree::
:maxdepth: 2
:caption: Contents:
Expand Down
2 changes: 2 additions & 0 deletions docs/source/requirements.txt
@@ -0,0 +1,2 @@
sphinxcontrib-programoutput
recommonmark

0 comments on commit 46e12b2

Please sign in to comment.