-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cant override base.html #1849
Comments
Moved this issue from Material theme as it's also failing on standard theme. |
Just a guess, but I wonder if using the name |
Nice guess, but no sorry. I changed it to theme_customisation, same result. Have also tried the full theme with name: null. Here's the full stack trace:
|
Also, I've switched to using the squidfunk/mkdocs-material container and it has the same issue. |
Thanks for the feedback. I'll need to investigate this when I have some time. I'm in the middle of a move and have limited connectivity right now so it will be a few days at least. |
No hurry at my end. Have fun! |
The problem is that it is trying to raise a In the meantime, we have a bug to fix. We need to replace |
We already have a test for this. Not sure how that it not catching the problem. |
The directory definitely exists so I dont think this is the solution.
|
I can send you the entire source if you like. |
I was able to replicate the error you were having simply by assigning a value to Note that the path must be relative to the location of the |
Interestingly, if the error didn't exist, you would get an error message which would include the full path to the location MkDocs is looking and it would be easy to see what adjustment needed to be made. |
I tried changing the config so the directory would not be found and I get the same error, which is not very helpful (python yuk)
|
Yes, I know. The fix I created in #1875 fixes that problem. Of course, it won't be available until we do a release. If you could give me a file listing which includes the config file and the relative location of the directory, I can tell you what your |
OMG. Im sorry. I realise now it's in docs so path should be ./docs/theme_customisations. Im a dick. That's better but now getting:
|
Glad you figured it out. However, I would advise against placing the directory within your In any event, the new error is a syntax error within your template, which is a completely separate issue. |
I was only trying to update the base in the theme to add a startup script but managed to get that working using extra scripts - same directory issue. Cheers |
Description
Iv'e tried to override base.html as per the instructions but all I get is:
Expected behavior
It should just work.
Actual behavior
Steps to reproduce the bug
Package versions
Project configuration
System information
The text was updated successfully, but these errors were encountered: