Skip to content

Commit 5f3bcff

Browse files
committed
Added the JS and CSS assets required by the doc theme
1 parent 821e59d commit 5f3bcff

File tree

6 files changed

+34
-2
lines changed

6 files changed

+34
-2
lines changed

_build/_theme/_templates/layout.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{% extends '!layout.html' %}
22

3-
{% set css_files = ['https://symfony.com/css/compiled/v5/all.css?v=4'] %}
3+
{% set css_files = ['./assets/css/app.css', './assets/css/doc.css'] %}
44
{# make sure the Sphinx stylesheet isn't loaded #}
55
{% set style = '' %}
66
{% set isIndex = pagename is index %}
77

88
{% block extrahead %}
99
{# add JS to support tabs #}
10-
<script src="https://symfony.com/js/v5/all.js?v=4"></script>
10+
<script src="./assets/js/manifest.js"></script>
11+
<script src="./assets/js/app.js"></script>
12+
<script src="./assets/js/doc.js"></script>
1113

1214
{# pygment's styles are still loaded, undo some unwanted styles #}
1315
<style>

_build/_theme/assets/css/app.css

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_build/_theme/assets/css/doc.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)