-
Notifications
You must be signed in to change notification settings - Fork 323
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
Using the skeleton and components of sphinx-basic-ng #840
Conversation
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.
Just a quick comment while I took a pass at the changes!
Also note that we will likely make some more changes to the html structure in that header-in-sidebars PR! Just FYI
@@ -16,7 +16,7 @@ | |||
} | |||
|
|||
// Dark theme special-cases | |||
html[data-theme="dark"] .bd-content { |
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.
Is this intentional? Just a quick thought that we probably don't need to rename our CSS prefix as part of this, right? (Unless we are just using the exact same section classes as basic-ng or something)
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.
Yes, because I am inheriting most of the HTML from sphinx-basic-ng, which has classes name 'sb-' etc. So had to update the CSS here. My thinking was that if we inherit the skeleton, we will just be updating the styles, etc inherited. Instead of updating the HTML as far as we can.
Thanks, @choldgraf for looking into this. Although I will probably keep this as a record of changes for now, and focus on getting this PR: executablebooks/sphinx-book-theme#597 completed. After that will create a new PR in this repo leveraging the learnings in this PR to inherit the components only first. |
I'm going through all PRs and see if I can bring them up to date. This has not been touched in 1+ year, is still in draft, and has a lot of conflict, so just in order to keep the list of open PR smaller I'm going to close it for now, but we can reopen if needed. Thanks, |
This is just an experimentation PR, meant to showcase the feasibility of swapping the skeleton.
Although this is not a good first step to switching to
sphinx-basic-ng
as the base, we should start with inheriting only the components. But nevertheless, I experimented with it a bit. This PR is an update on the work, and I will update the description shortly with the things done.