Skip to content

Commit c5d1bf7

Browse files
Update v1.2.0.md
1 parent e36bbc0 commit c5d1bf7

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

Release Notes/v1.2.0.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
## Version 1.2.0 (2025-11-12)
22

33
> **Summary:**
4-
> This release focuses on improving the visual quality, readability, and overall professionalism of the repository documentation. Major updates include a redesigned badge section with cleaner alignment and consistent styling, enhancements to the “Recommended Tools” and “Why Choose This Repository” sections, and additional clarity improvements across the README.
5-
4+
> This release significantly improves the visual quality, readability, and overall professionalism of the repository documentation. Key enhancements include a fully redesigned badge section with cleaner alignment and consistent styling, updates to the “Recommended Tools” and “Why Choose This Repository” sections, and additional clarity and formatting improvements applied throughout the README.
65
---
76

87
### Upgrade Steps
@@ -56,7 +55,29 @@
5655
---
5756

5857
### Bug Fixes
59-
* None
58+
59+
**Fixed GitHub Notebook Rendering Error (`metadata.widgets` issue)**
60+
A user reported that [2](https://github.com/Tanu-N-Prabhu/Python/tree/e36bbc040e00c80c04418aeb5e6543a5d8948487/Machine%20Learning%20Advanced%20Topics) of the Jupyter Notebooks failed to render on GitHub with the following message:
61+
62+
> *“There was an error rendering your Notebook: the 'state' key is missing from 'metadata.widgets'. Add 'state' to each, or remove 'metadata.widgets'.”*
63+
64+
**Cause:**
65+
Google Colab automatically injects a `metadata.widgets` block into `.ipynb` files.
66+
GitHub’s notebook renderer does not support this widget metadata, leading to a rendering failure.
67+
68+
**Resolution:**
69+
The invalid widget metadata was manually removed from the affected notebook.
70+
71+
**Steps performed:**
72+
1. Opened the `.ipynb` file in **VS Code** as raw JSON
73+
*(Right-click → **Reopen Editor With****Text Editor**)*
74+
2. Searched for all occurrences of `"widgets"` inside the metadata.
75+
3. Deleted the **entire `"widgets"` block**, including all nested content and its trailing comma.
76+
4. Saved the file and reopened it in Notebook mode.
77+
5. Committed and pushed the cleaned notebook back to GitHub.
78+
79+
**Result:**
80+
The notebook now renders correctly on GitHub with no errors.
6081

6182
---
6283

0 commit comments

Comments
 (0)