You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jinja2 has been updated and the tool to build the documentation is broken, it is necessary to add at the beginning of the requirements.txt the versioning of the package as follows:
writing output... [100%] user-manual/uninstall/open-distro
generating indices... done
writing additional pages... not_found user-manual/api/reference cloud-service/apis/reference moved-content searchdone
copying images... [100%] user-manual/ruleset/ruleset-xml-syntax/../../../images/manual/ruleset/ruleset-xml-syntax/sibling-decoders-tree.png
copying static files... ... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in build/html.
Copying tabs assets
If not added the following error occurs
# make html
sphinx-build -b html -d build/doctrees source build/html
Traceback (most recent call last):
File "wazuh-documentation/my_env/bin/sphinx-build", line 5, in <module>
from sphinx.cmd.build import main
File "wazuh-documentation/my_env/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
from sphinx.application import Sphinx
File "wazuh-documentation/my_env/lib/python3.9/site-packages/sphinx/application.py", line 42, in <module>
from sphinx.registry import SphinxComponentRegistry
File "wazuh-documentation/my_env/lib/python3.9/site-packages/sphinx/registry.py", line 24, in <module>
from sphinx.builders import Builder
File "wazuh-documentation/my_env/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 26, in <module>
from sphinx.util import import_object, logging, rst, progress_message, status_iterator
File "wazuh-documentation/my_env/lib/python3.9/site-packages/sphinx/util/rst.py", line 22, in <module>
from jinja2 import environmentfilter
ImportError: cannot import name 'environmentfilter' from 'jinja2' (wazuh-documentation/my_env/lib/python3.9/site-packages/jinja2/__init__.py)
make: *** [Makefile:75: html] Error 1
Hi team
Jinja2 has been updated and the tool to build the documentation is broken, it is necessary to add at the beginning of the requirements.txt the versioning of the package as follows:
If not added the following error occurs
readthedocs/readthedocs.org#9038
Regards, Raul.
The text was updated successfully, but these errors were encountered: