python311Packages.pydantic: disable strict docs building

The docs build being strict, makes it fail on warnings:

WARNING -  Material emoji logic has been officially moved into mkdocs-material
version 9.4. Please use Material's 'material.extensions.emoji.to_svg'
instead of 'materialx.emoji.to_svg' in your 'mkdocs.yml' file.
This commit is contained in:
Martin Weinelt
2023-12-20 20:10:28 +01:00
parent 5bd94e6862
commit 9e89f0fad5
@@ -6,7 +6,6 @@
, devtools
, email-validator
, fetchFromGitHub
, fetchpatch
, pytest-mock
, pytestCheckHook
, python-dotenv
@@ -53,6 +52,10 @@ buildPythonPackage rec {
postPatch = ''
sed -i '/flake8/ d' Makefile
# Disable strict docs build due warnings being treated as errors
substituteInPlace mkdocs.yml \
--replace "strict: true" "strict: false"
'';
buildInputs = lib.optionals (pythonOlder "3.9") [