Skip to content

Added the JS and CSS assets required by the doc theme #9517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions _build/_theme/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{% extends '!layout.html' %}

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

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

{# pygment's styles are still loaded, undo some unwanted styles #}
<style>
Expand Down
3 changes: 3 additions & 0 deletions _build/_theme/assets/css/app.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _build/_theme/assets/css/doc.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading