diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 780831e9..7e55e6ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 - run: - pip install flake8 flake8-import-order sphinx rstcheck[sphinx] doc8 + pip install flake8 flake8-import-order sphinx sphinx_rtd_theme + rstcheck[sphinx] doc8 - run: pip install . - run: flake8 . - run: doc8 $(git ls-files '*.rst') diff --git a/.readthedocs.yaml b/.readthedocs.yaml index fe9f594b..bcf91586 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,6 +3,6 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.12" sphinx: configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 9181df25..eef8154a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,6 +13,7 @@ extensions = [ 'sphinx.ext.autodoc', + 'sphinx_rtd_theme', ] source_suffix = '.rst' @@ -29,7 +30,7 @@ # -- Options for HTML output ---------------------------------------------- -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' htmlhelp_basename = 'yamllintdoc'