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

docs: Fix docs site FAQ display and linking #1189

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

melissawm
Copy link
Collaborator

@melissawm melissawm commented Sep 27, 2024

Fixes display of the FAQ items to match what is currently on the Data Portal site (respecting SDS) and also implements a javascript function to allow links to open accordions with a URL attribute.

If the FAQ item has the property :name: submit-issue, then the following url would link to this specific item, and open the accordion to the answer:

https://chanzuckerberg.github.io/cryoet-data-portal/cryoet_data_portal_docsite_faq.html?target=submit-issue&status=open

I am happy to revisit in case there are better ways of doing this.

Closes #772

Allows links to open accordions with a URL attribute.
@melissawm
Copy link
Collaborator Author

@dgmccart dgmccart self-requested a review September 27, 2024 21:25
@dgmccart dgmccart merged commit 3749bb1 into chanzuckerberg:main Sep 27, 2024
3 checks passed
kne42 added a commit that referenced this pull request Sep 30, 2024
* main:
  docs: Fix docs site FAQ display and linking (#1189)
  fix: Stop querying depositionTitle (#1187)
  docs: Fix all links to be internal (#1175)
  feat: Add portal standard badge to tomograms table and integrate alignment metadata accordion with new API (#1179)
  feat: Integrate more V2 API queries (#1174)
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.

Function for opening accordions from links
2 participants