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

"JSServe.bundled.js" not included correctly in Documenter.jl #166

Open
termi-official opened this issue May 22, 2023 · 0 comments
Open

"JSServe.bundled.js" not included correctly in Documenter.jl #166

termi-official opened this issue May 22, 2023 · 0 comments

Comments

@termi-official
Copy link

termi-official commented May 22, 2023

Documenter.jl allows the usage of urls containing subpaths (e.g. https://ferrite-fem.github.io/FerriteViz.jl/previews/PR70/tutorial/ for the documentation with base url https://ferrite-fem.github.io/FerriteViz.jl/previews/PR70/), but from my understanding the include takes the current path to search for the file JSServe.bundled.js by generating <script src="JSServe.bundled.js" type="module"></script>.

Turns out there is some internal URL rewriting going on in Documenter.jl. A hotfix is the usage of the arg format=Documenter.HTML(prettyurls=false) when calling makedocs. This needs some further investigation to fix.

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

No branches or pull requests

1 participant