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:
@@ -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") [
|
||||
|
||||
Reference in New Issue
Block a user