docs: Fix generation of static website

Bare minimum syntax errors and requirements constraints to work with Netlify
hosting.
pull/1026/head
Alex Willmer 10 months ago
parent 85f9261c9a
commit 6aa4fd3573

@ -147,8 +147,10 @@ Noteworthy Differences
* Mitogen 0.2.x supports Ansible 2.3-2.9; with Python 2.6, 2.7, or 3.6. * Mitogen 0.2.x supports Ansible 2.3-2.9; with Python 2.6, 2.7, or 3.6.
Mitogen 0.3.1+ supports Mitogen 0.3.1+ supports
- Ansible 2.10, 3, and 4; with Python 2.7, or 3.6-3.11 - Ansible 2.10, 3, and 4; with Python 2.7, or 3.6-3.11
- Ansible 5 and 6; with Python 3.8-3.11 - Ansible 5 and 6; with Python 3.8-3.11
Verify your installation is running one of these versions by checking Verify your installation is running one of these versions by checking
``ansible --version`` output. ``ansible --version`` output.

@ -92,7 +92,7 @@ v0.2.10 (2021-11-24)
* :gh:issue:`756` ssh connections with `check_host_keys='accept'` would * :gh:issue:`756` ssh connections with `check_host_keys='accept'` would
timeout, when using recent OpenSSH client versions. timeout, when using recent OpenSSH client versions.
* :gh:issue:`758` fix initilialisation of callback plugins in test suite, to address a `KeyError` in * :gh:issue:`758` fix initilialisation of callback plugins in test suite, to address a `KeyError` in
:method:`ansible.plugins.callback.CallbackBase.v2_runner_on_start` :py:meth:`ansible.plugins.callback.CallbackBase.v2_runner_on_start`
* :gh:issue:`775` Test with Python 3.9 * :gh:issue:`775` Test with Python 3.9
* :gh:issue:`775` Add msvcrt to the default module deny list * :gh:issue:`775` Add msvcrt to the default module deny list

@ -1,10 +1,9 @@
import os
import sys import sys
sys.path.append('..') sys.path.append('..')
sys.path.append('.') sys.path.append('.')
import mitogen import mitogen
VERSION = '%s.%s.%s' % mitogen.__version__ VERSION = '.'.join(str(part) for part in mitogen.__version__)
author = u'Network Genomics' author = u'Network Genomics'
copyright = u'2021, the Mitogen authors' copyright = u'2021, the Mitogen authors'

@ -1,3 +1,6 @@
docutils<0.18
Jinja2<3
MarkupSafe<2.1
Sphinx==2.1.2; python_version > '3.0' Sphinx==2.1.2; python_version > '3.0'
sphinxcontrib-programoutput==0.14; python_version > '3.0' sphinxcontrib-programoutput==0.14; python_version > '3.0'
alabaster==0.7.10; python_version > '3.0' alabaster==0.7.10; python_version > '3.0'

@ -752,8 +752,10 @@ class PushFileService(Service):
One size fits all method to ensure a target context has been preloaded One size fits all method to ensure a target context has been preloaded
with a set of small files and Python modules. with a set of small files and Python modules.
overridden_sources: optional dict containing source code to override path's source code :param dict overridden_sources:
extra_sys_paths: loads additional sys paths for use in finding modules; beneficial Optional dict containing source code to override path's source code
:param extra_sys_paths:
Loads additional sys paths for use in finding modules; beneficial
in situations like loading Ansible Collections because source code in situations like loading Ansible Collections because source code
dependencies come from different file paths than where the source lives dependencies come from different file paths than where the source lives
""" """

@ -139,7 +139,9 @@ whitelist_externals =
echo echo
[testenv:docs] [testenv:docs]
basepython = python3 basepython = python3.8
changedir = docs changedir = docs
commands = commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
deps =
-r docs/requirements.txt

Loading…
Cancel
Save