Skip to content

Add get_latest_version for opengl - #2516

Open
Suraj-Yadav wants to merge 2 commits into
freeCodeCamp:mainfrom
Suraj-Yadav:feat/add-opengl-version
Open

Suraj-Yadav wants to merge 2 commits into
freeCodeCamp:mainfrom
Suraj-Yadav:feat/add-opengl-version

Conversation

@Suraj-Yadav

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

Copy link
Copy Markdown
Contributor

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

simon04 commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

2 participants