-
-
Notifications
You must be signed in to change notification settings - Fork 678
Added favicon to user documentation #18007
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
base: master
Are you sure you want to change the base?
Conversation
@@ -331,6 +331,7 @@ for po in env.Glob(sourceDir.path + "/locale/*/lc_messages/*.po"): | |||
|
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.
please also add a reference in
Line 312 in 495dee3
"*/user_docs/styles.css", |
can this also please be rebased to beta? |
Rather than committing a new file, can you just use |
@@ -331,6 +331,7 @@ for po in env.Glob(sourceDir.path + "/locale/*/lc_messages/*.po"): | |||
|
|||
styles = os.path.join(userDocsDir.path, "styles.css") | |||
numberedHeadingsStyle = os.path.join(userDocsDir.path, "numberedHeadings.css") | |||
logo = os.path.join(userDocsDir.path, "favicon.ico") |
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.
logo = os.path.join(userDocsDir.path, "favicon.ico") | |
logo = os.path.join(sourceDir.path, "images", "nvda.ico") |
Link to issue number:
Fixes #17971
Summary of the issue:
When loading NVDA HTML documentation in the browser, there's no page icon (favicon.ico).
Description of user facing changes:
The NVDA logo is visible when opening any .html file in the user_docs
Description of development approach:
I added a simple rel="shortcut icon" similar to nvaccess' website using the NVDA logo which I found here. I also changed the logic in sconstruct.py to make sure that the favicon is pulled locally in every subfolder and cleaned when running scons -c
Testing strategy:
Run .\scons.bat user_docs to generate the .html files and the favicon.ico
Run .\scons.bat -c user_docs to clear out the generated files
Known issues with pull request:
Code Review Checklist:
@coderabbitai summary