mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-29 10:54:35 +00:00
Merge pull request #15 from guidograzioli/ci_docs_update
use antsibul sphinx ext, ansible pygments
This commit is contained in:
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
pages: write
|
pages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: ansible_collections/kubevirt/core
|
path: ansible_collections/kubevirt/core
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.11
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
|
|
||||||
- name: Install doc dependencies
|
- name: Install doc dependencies
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ extensions = [
|
|||||||
'myst_parser',
|
'myst_parser',
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
|
'sphinx_antsibull_ext',
|
||||||
'ansible_basic_sphinx_ext',
|
'ansible_basic_sphinx_ext',
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -71,7 +72,7 @@ language = None
|
|||||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.tmp']
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.tmp']
|
||||||
|
|
||||||
# The name of the Pygments (syntax highlighting) style to use.
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
pygments_style = 'sphinx'
|
pygments_style = 'ansible'
|
||||||
|
|
||||||
highlight_language = 'YAML+Jinja'
|
highlight_language = 'YAML+Jinja'
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ antsibull>=0.17.0
|
|||||||
antsibull-docs
|
antsibull-docs
|
||||||
antsibull-changelog
|
antsibull-changelog
|
||||||
ansible-core>=2.14.1
|
ansible-core>=2.14.1
|
||||||
|
ansible-pygments
|
||||||
sphinx-rtd-theme
|
sphinx-rtd-theme
|
||||||
git+https://github.com/felixfontein/ansible-basic-sphinx-ext
|
git+https://github.com/felixfontein/ansible-basic-sphinx-ext
|
||||||
myst-parser
|
myst-parser
|
||||||
|
|||||||
Reference in New Issue
Block a user