Skip to content
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

Closed
wants to merge 8 commits into from

Conversation

AakashGfude
Copy link
Contributor

@AakashGfude AakashGfude commented Jul 26, 2022

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.

Copy link
Collaborator

@choldgraf choldgraf left a 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 {
Copy link
Collaborator

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)

Copy link
Contributor Author

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.

@AakashGfude
Copy link
Contributor Author

AakashGfude commented Jul 28, 2022

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.

@Carreau
Copy link
Collaborator

Carreau commented May 22, 2024

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,

@Carreau Carreau closed this May 22, 2024
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.

3 participants