Skip to content

Conversation

@DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Nov 18, 2025

This PR changes the visual style of https://docs.nethserver.org page

See the PR preview at https://nethserver--612.org.readthedocs.build/en/612/

Refs NethServer/dev#7373

Add link to NethSecurity admin manual since the NS7 project
was split into NS8 and NethSecurity products.
Change the base Sphinx theme from alabaster to sphinx-book-theme
to match ns8-docs and enable automatic light/dark theme switching.

- Update conf.py to use sphinx_book_theme with repository button
- Add sphinx_copybutton extension for consistency with ns8-docs
- Adapt custom.css to use theme CSS variables (--pst-color-*)
- Support both light and dark modes with theme-specific gradients
- Update selectors to work with sphinx-book-theme structure

The splash page now inherits the theme toggle and automatically
adapts colors when users switch between light and dark modes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants