-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Doc builder template should check for mkdocs_page_input_path before using it #3536
Conversation
Not sure about the 'Enhancement' label, feels more like a bug fix to me. Script execution currently fails because of the missing check:
|
To catch a JavaScript not defined error, you'd need to use |
- Replaces: readthedocs#3536
I don't get it...Why did you create a new PR if you're not even sure that it offers any material improvement over this one? Why not just leave a code review question here? |
I tried your code and got a JS error. If you fix it, I'm happy to merge this one instead. |
Ah, now that's valuable feedback. I don't mind either way. I'll certainly take a look but what's missing in your PR is the code comment why that |
I added that comment in there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This replaces #3921
mkdocs_page_input_path
isn't available on all pages.