mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-08 23:10:13 -05:00
Problem: Grid cards were showing raw HTML code instead of rendering properly Root cause: README converter was adding new grid cards while preserving original ones, creating duplicate/conflicting grid sections Solution: - Modified book/convert_readmes.py to remove existing grid cards from source READMEs before adding new interactive elements - Added regex patterns to clean up grid-related markup - Regenerated all 14 book chapters with fixed converter - Grid cards now render properly as interactive buttons Result: All chapters now have clean, properly formatted grid cards that render correctly in Jupyter Book
31 lines
1.9 KiB
HTML
31 lines
1.9 KiB
HTML
<!--
|
|
AUTO-GENERATED from webpack.config.js, do **NOT** edit by hand.
|
|
These are re-used in layout.html
|
|
-->
|
|
{# Load FontAwesome icons #}
|
|
{% macro head_pre_icons() %}
|
|
<link href="{{ pathto('_static/vendor/fontawesome/6.1.2/css/all.min.css', 1) }}?digest=5b4479735964841361fd" rel="stylesheet" />
|
|
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2', 1) }}" />
|
|
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2', 1) }}" />
|
|
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2', 1) }}" />
|
|
{% endmacro %}
|
|
|
|
{% macro head_pre_assets() %}
|
|
<!-- Loaded before other Sphinx assets -->
|
|
<link href="{{ pathto('_static/styles/theme.css', 1) }}?digest=5b4479735964841361fd" rel="stylesheet" />
|
|
<link href="{{ pathto('_static/styles/bootstrap.css', 1) }}?digest=5b4479735964841361fd" rel="stylesheet" />
|
|
<link href="{{ pathto('_static/styles/pydata-sphinx-theme.css', 1) }}?digest=5b4479735964841361fd" rel="stylesheet" />
|
|
{% endmacro %}
|
|
|
|
{% macro head_js_preload() %}
|
|
<!-- Pre-loaded scripts that we'll load fully later -->
|
|
<link rel="preload" as="script" href="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=5b4479735964841361fd" />
|
|
<link rel="preload" as="script" href="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=5b4479735964841361fd" />
|
|
<script src="{{ pathto('_static/vendor/fontawesome/6.1.2/js/all.min.js', 1) }}?digest=5b4479735964841361fd"></script>
|
|
{% endmacro %}
|
|
|
|
{% macro body_post() %}
|
|
<!-- Scripts loaded after <body> so the DOM is not blocked -->
|
|
<script src="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=5b4479735964841361fd"></script>
|
|
<script src="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=5b4479735964841361fd"></script>
|
|
{% endmacro %} |