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

Update RTD theme and add jsPsych tab #439

Merged
merged 6 commits into from
Nov 14, 2024
Merged

Conversation

becky-gilbert
Copy link
Contributor

This PR updates the Sphinx RTD theme that we're using and adds some customization for the EFP and jsPsych "tabs" above the navigation menu, which link to those separate docs pages. Once we're happy with how this customization looks, we can add to the EFP and jsPsych docs separately so that those sites look the same (#435).

Here are the changes:

  • Removes the existing RTD theme. This was a forked copy maintained here: https://github.com/kimberscott/sphinx-rtd-theme-frameplayer
  • Adds a customized layout template for the standard sphinx-rtd-theme. This extends the default layout but overrides the sidebartitle block with a version that combines the default contents with the custom HTML for tabs (copied from the old forked version).
  • Adds a project name above the search bar: "CHS/Lookit"
  • Changes the "Lookit" tab label to "CHS"
  • Changes the "Experiment Runner" tab label to "Lookit EFP"
  • Adds a "jsPsych" docs tab
  • Removes the margin-right on the tab elements so that they fit horizontally in the navigation menu
  • Updates the package requirements

With changes in this PR

Screenshot 2024-11-08 at 3 21 05 PM

Current version, for reference

Screenshot 2024-11-08 at 3 47 25 PM

@becky-gilbert becky-gilbert merged commit ec30244 into develop Nov 14, 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.

Add jsPsych docs
3 participants