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

chore: Upgrade packages + Migrate to Boostrap 5 #872

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

michael-wisely-gravwell
Copy link
Contributor

This PR doesn't address any particular issue, but it's related to #838

This PR proposes bumping the version of nixpkgs that we're pulling, effectively upgrading all relevant packages.

As a result of the pkgs bump, we're using pydata-sphinx-theme@0.15.1 which uses Bootstrap 5. Boostrap 5 has some backward-incompatible changes, so this PR also proposes updating relevant source files to use Bootstrap 5 stuff.

Unfortunately, pydata-sphinx-theme@0.15.1 doesn't appear to make the bootstrap global available. Out of the box, one can't enable Popovers in the way the Boostrap docs recommend. I forked the theme, added a line to the bundled bootstrap.js file, built the theme into a Python wheel, and included it in this repo. By vendorizing the lib, I was able to pull in the change to make bootstrap globally available.

In summary, this PR proposes...

  • upgrading docs-building packages
  • vendorizing pydata-sphinx-theme
  • updating docs and supporting files to use Boostrap 5

@michael-wisely-gravwell michael-wisely-gravwell changed the title Upgrade packages chore: Upgrade packages Jan 9, 2024
@michael-wisely-gravwell michael-wisely-gravwell changed the title chore: Upgrade packages chore: Upgrade packages + Migrate to Boostrap 5 Jan 9, 2024
Copy link
Collaborator

@ashnwade ashnwade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is no longer using our custom Not Found page (404.md). Can we fix that?

@ashnwade ashnwade dismissed their stale review January 9, 2024 20:59

Nevermind. My mistake.

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