foskey51 commented on PR #18324:
URL: https://github.com/apache/datafusion/pull/18324#issuecomment-3462501802

   hey @Jefffrey 
   
   - Your are seeing 3 states (light, dark, system-theme) because it's default 
and there's no implicit way to remove the system-theme aka third state  [you 
can refer this 
issue](https://github.com/pydata/pydata-sphinx-theme/discussions/1491), 
explicitly removing it might cause unexpected behavior.
   
   - The "theme is remembered per page" is caused due to accessing the 
index.html directly as ```file:///xyz/datafusion/docs/build/html/index.html``` 
so now dev-tools>storage>local-storage variables responsible for theming are 
tracked by dynamically changing file name which ends-up getting a new default 
state for each file. To resolve this, try serving it via a http server like
   ```
   #run it in docs/ dir
   python3 -m http.server 8000
   
   #access the docs build at
   http://localhost:8000/build/html/index.html
   ```
   
   now local storage tracks it by host-name aka ```http://localhost:8000```. So 
this shouldn't be an issue in production, as it will be tracked by domain name.
   
   - I've removed the links displayed in the navbar.
   
   <br><img width="1268" height="393" alt="Screenshot 2025-10-29 at 21-12-33 
Apache DataFusion — Apache DataFusion documentation(2)" 
src="https://github.com/user-attachments/assets/fa0f8259-5a24-4e0f-a6f8-e01034c37680";
 />
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to