Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
10.94k stars 775 forks source link

[🐛 BUG] Can't build docs because of missing material.extensions module for mkdocs #1483

Closed AlexandreSajus closed 2 months ago

AlexandreSajus commented 2 months ago

What went wrong? 🤔

I tried building the docs by git cloning the taipy-doc repo, creating a clean virtual environment and following the installation steps (https://github.com/Avaiga/taipy-doc/blob/develop/INSTALLATION.md)

When I do mkdocs serve, I get this error:

Error: MkDocs encountered an error parsing the configuration file: while constructing a Python object
cannot find module 'material.extensions.emoji' (No module named 'material.extensions')
  in "C:\Users\asaju\Desktop\taipy-doc\mkdocs.yml", line 318, column 20

I tried to redo the installation from scratch, I tried pip install mkdocs-material-extensions and I still get this error. When I remove this requirement from mkdocs.yml I get another error message while it is building the docs

How do I solve this?

Expected Behavior

No response

Steps to Reproduce Issue

  1. A code fragment
  2. And/or configuration files or code
  3. And/or Taipy GUI Markdown or HTML files

Solution Proposed

No response

Screenshots

DESCRIPTION

Runtime Environment

No response

Browsers

No response

OS

No response

Version of Taipy

No response

Additional Context

No response

Acceptance Criteria

Code of Conduct

AlexandreSajus commented 2 months ago

The bug fixed itself today without me changing anything, wtf