Repository navigation
Switch theme to shibuya-page (with live preview) - #189
Closed
arsenovicAtNominal wants to merge 1 commit into
Closed
arsenovicAtNominal wants to merge 1 commit into
arsenovicAtNominal wants to merge 1 commit into
Conversation
Use the shibuya-page theme (Shibuya child theme), move the language switcher and announcement banner into the page header with relative links, render the landing page text as paragraphs instead of bold h4s, loosen the Sphinx pins to Sphinx 9, and add a workflow that publishes a full preview build to GitHub Pages. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
|
@777arc hey , i just built this theme or scikit-rf and was browsing pysdr and thought it would be a good fit! |
Owner
|
I appreciate you taking the time to demo this new style, and provide a live view of it, but I spent a while tweaking the old style to my liking, I try to keep it simple, I rather not change the look of the site at the moment, both myself and readers are used to it. |
|
no prob! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the Sphinx theme from alabaster to shibuya-page, a child theme of Shibuya (the
alabasterlook, so it stays close to the current colors;rtdandpydatalooks are a one-word change inconf.py).Live preview of the full build (English + all 6 translations): https://arsenovicatnominal.github.io/PySDR/
Changes
conf.py:html_theme = 'shibuya-page'; removed the alabaster options and sidebars._templates/base.html(replaceslayout.html): Shibuya's pages extendbase.html, so the custom title, SEO/og tags, analytics, announcement banner and language switcher live here. The switcher moved out of<head>and its links are now relative, so they work on previews as well as pysdr.org.navigation.html/about.htmland trimmed the alabaster hacks fromcustom.css.<h4>s (bold in the new theme), now plain paragraphs.requirements.txt: Sphinx 9.1+ (needed by the theme, Python 3.12+), dropped the old Sphinx 4.4 / docutils 0.17 pins, theme installed from git..github/workflows/preview.yml: builds every language and publishes to GitHub Pages of the repo it runs in. Drop it if you don't want it.Known gaps / to review
patrons.htmlsidebar template was alabaster-specific). NeedsCREATOR_IDto see anyway.content-fr/bladerf.rstanddoa.rstlog "Unexpected indentation" errors, so those blocks may render wrongly.html-nltarget'ssed -iis GNU-only (fine on CI, fails on macOS).Opened as a draft for feedback.