Skip to content

Add get_latest_version for opengl #2516

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 2 commits into
base: main
Choose a base branch
from

Conversation

Suraj-Yadav
Copy link
Contributor

@Suraj-Yadav Suraj-Yadav commented Jun 2, 2025

If you're updating existing documentation to its latest version, please ensure that you have:

  • Ensured the license is up-to-date
  • Ensured the icons and the SOURCE file in public/icons/your_scraper_name/ are up-to-date if the documentation has a custom icon
  • Ensured self.links contains up-to-date urls if self.links is defined
  • Tested the changes locally to ensure:
    • The scraper still works without errors
    • The scraped documentation still looks consistent with the rest of DevDocs
    • The categorization of entries is still good

Also updated base_url's, previous ones didn't exist.

@Suraj-Yadav Suraj-Yadav requested a review from a team as a code owner June 2, 2025 03:09
@simon04
Copy link
Contributor

simon04 commented Jun 4, 2025

Currently, the output for the version check is

> bundle exec thor updates:check opengl
+--------------------------------------------------+
|    Outdated major version documentations (1)     |
+---------------+-----------------+----------------+
| Documentation | Scraper version | Latest version |
+---------------+-----------------+----------------+
| OpenGL        | 4               | 2024-11-20     |
+---------------+-----------------+----------------+

How is the commit date intended to relate to the scraper version?

@Suraj-Yadav
Copy link
Contributor Author

I need some clarity on this point.
OpenGL only has api reference for the latest version (currently 4.5), under gl4. This is opengl~4 in devdocs. This gets updated and I want this to be captured in the Documentation versions reports.

OpenGL also have api reference for OpenGL 2.1, under gl2.1. This is opengl~2.1 in devdocs. These are retained because they are the only source of reference material for GLX, GLU, and the OpenGL Compatibility Profile.

Ref: https://registry.khronos.org/OpenGL-Refpages/

What would be the best way to have this?

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