diff --git a/docs/source/conf.py b/docs/source/conf.py index 386c386..9a8dc9b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -32,6 +32,7 @@ release = '0.1' # ones. extensions = [ 'sphinx.ext.napoleon', + 'sphinx_rtd_theme', ] # Add any paths that contain templates here, relative to this directory. @@ -48,7 +49,7 @@ exclude_patterns = [] # 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' # 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, diff --git a/frank/module/decorators/classes.py b/frank/module/decorators/classes.py index 3e93be1..d14e398 100644 --- a/frank/module/decorators/classes.py +++ b/frank/module/decorators/classes.py @@ -87,7 +87,7 @@ class RegexCommand(Command): Args: prefix: string to match pattern against; Pattern must match entire - prefix + prefix """ return bool(re.fullmatch(self.cmd, prefix)) diff --git a/requirements-dev.txt b/requirements-dev.txt index abf950d..5059612 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -12,3 +12,4 @@ pytest>=6.0.1,<7.0.0 pytest-asyncio>=0.14.0,<1.0.0 twine>=3.2.0,<4.0.0 Sphinx==3.2.1 +sphinx-rtd-theme==0.5.0