Skip to content

Docs Layout Update #91

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Docs Layout Update #91

wants to merge 6 commits into from

Conversation

rxchun
Copy link
Contributor

@rxchun rxchun commented Jun 18, 2025

Part 1 of dividing my last PR into multiple sections.

  • Created a JS folder for structure organization.
  • Created a file called scripts.js that holds all scripts in one place, for easier maintenance in the future.
  • The script contains reusable / utility functions like loopAddClass, loopRemoveClass and loopToggleClass.

rxchun added 6 commits June 18, 2025 01:50
### Part 1 of dividing my last PR into multiple sections.

- Created a `JS` folder for structure organization.
- Created a file called `scripts.js` that holds all scripts in one place, for easier maintenance in the future.
- The script contains reusable / utility functions like `loopAddClass`, `loopRemoveClass` and `loopToggleClass`.
- There's already functions inside this file that at the moment might not point to anything, but everything will tie together at the end.
The sidebar will be populated with link anchors to sections/titles of the page, via JS
- Added Mega Menu for Documentation, to group things into sections.
- Added a Scroll To Top button
- Created a popup for the home {{ content }}, since that's a one time message that only needs to be shown to users once.
- HTML5 conversions
- First wave of `site.baseurl` links implementation from @arjunsuresh 's PR
…alphabetically

- Current visited page is now highlighted at the navigation bar.
- Continue fixing internal links (Arjun's PR).
- Mobile resposiveness.
@rxchun rxchun changed the title New JS folder, for scalability and easier maintenance Docs Layout Update Jun 18, 2025
rxchun added a commit to rxchun/q2a.github.io that referenced this pull request Jun 18, 2025
Note: This is supposed to be an extension for the last PR q2a#91

This PR introduces a new feature that enhances plugin visibility and compatibility display:

- Fetches all plugin repository links and retrieves their metadata.

- Stores metadata locally using localStorage for performance, and also not bombard fetches to `raw.githubusercontent.com` on every page request.

- Dynamically generates a footer section for each plugin with:

  - Repository update date

  - "Q2A Tested With" tag based on the plugin’s `max_q2a` metadata.json key, if available.

This helps users quickly assess which plugins are compatible with their Q2A version and when they were last updated.

I also added a message to the Plugins & Themes pages, explaining that "outdated" plugins doesn't necessarily mean that they don't work. Some of them just don't require to be updated as frequently.

Also, everybody can create PRs to update the `max_q2a` version of a plugin they know it works, because they're using it.
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.

1 participant