Skip to content
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

fix the extra_javascript include in base.html #20

Merged
merged 2 commits into from
Feb 28, 2023
Merged

fix the extra_javascript include in base.html #20

merged 2 commits into from
Feb 28, 2023

Conversation

brunoruas2
Copy link
Contributor

I was trying to use an additional js file according to the mkdocs documentation by passing the paths of the js files in the "extra_javascript" tag in mkdocs.yml, but it wasn't working.

When analyzing the code of the base.html file, I noticed that the import part of these files was missing. So I added it to the fork I made, and it worked for me.

            {%- for path in extra_javascript %}
                <script src="{{ path }}"></script>
            {%- endfor %}

@FernandoCelmer FernandoCelmer changed the base branch from master to develop February 26, 2023 21:28
@FernandoCelmer FernandoCelmer linked an issue Feb 27, 2023 that may be closed by this pull request
@FernandoCelmer FernandoCelmer merged commit 2790a55 into FernandoCelmer:develop Feb 28, 2023
@FernandoCelmer
Copy link
Owner

Alt Text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the extra_javascript include in base.html
2 participants