-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix html_static_path warning by using absolute path #6178
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 html_static_path warning by using absolute path #6178
Conversation
Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir'
|
My bad, I missed this original issue. This PR caused me no problems when I tested it. I'll approve. |
kscottz
left a comment
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.
Worked in my local environment. Let's give it a try.
Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> (cherry picked from commit cbad944)
Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> (cherry picked from commit cbad944)
Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> (cherry picked from commit cbad944)
…6204) Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' (cherry picked from commit cbad944) Co-authored-by: Shivam <curious.antimony@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
…6205) Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' (cherry picked from commit cbad944) Co-authored-by: Shivam <curious.antimony@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
…6206) Use os.path.abspath() for html_static_path to prevent the Sphinx warning: 'WARNING: html_static_path entry is placed inside outdir' (cherry picked from commit cbad944) Co-authored-by: Shivam <curious.antimony@gmail.com> Co-authored-by: Katherine Scott <katherineAScott@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Summary
Fixes the Sphinx warning that appears during
make lintandmake html:Changes
Use
os.path.abspath()to convert the relative path to an absolute path:Testing
make htmlbuilds without warningsFixes #6071