Skip to content

Conversation

@LennartPurucker
Copy link
Contributor

Metadata

  • Reference Issue: N/A
  • New Tests Added: N/A
  • Documentation Updated: Yes
  • Change Log Entry: Reworked and streamlined all of the documentation.

Details

See changes.

@LennartPurucker
Copy link
Contributor Author

@PGijsbers

@codecov-commenter
Copy link

codecov-commenter commented Jun 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.69%. Comparing base (bc50a88) to head (33acd4f).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1432   +/-   ##
========================================
  Coverage    52.69%   52.69%           
========================================
  Files           36       36           
  Lines         4346     4346           
========================================
  Hits          2290     2290           
  Misses        2056     2056           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PGijsbers
Copy link
Collaborator

Please fix the regex in tests/test_openml/test_api_calls.py::test_authentication_endpoints_requiring_api_key_show_relevant_help_link

Copy link
Collaborator

@PGijsbers PGijsbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started reviewing but I wasn't entirely sure what to review.
Are there particular pointers, e.g., pages/tutorials that changed significantly? Things I really need to see before we merge? There are a number of things I noted that could be improved, e.g., using more common mkdocs-material features, such as admonitions and tabs. Those could also be iterated over in future PRs, which might be an easier way for me to give feedback as well (I could just set up a PR with my suggested improvements).

Other notes:

  • The favicon is interestingly only applied to subpages only. I am guessing this is some caching artifact on my end, though even an in-cognito browser seems to exhibit this behavior.

@@ -1,65 +1,79 @@
# OpenML
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should just re-use the top-level README instead of introducing duplication, right? A docs/README.md is automatically shown on GitHub if there is no README.md in the root.

Copy link
Contributor Author

@LennartPurucker LennartPurucker Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly but not fully, here we can have more details.

Maybe generally, be aware that I mostly took the state that already existed, which did not have a lot of native mkdocs structure and some sub-optimal code choices. I mostly refactored the content.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we can have more details

We can, but think it's fine not to in order to allow re-use and avoid desync.

docs/index.md Outdated

For more advanced installation information, please see the
["Introduction"](../examples/20_basic/introduction_tutorial.py) example.
["Introduction"](../examples/Basics/introduction_tutorial.py) example.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["Introduction"](../examples/Basics/introduction_tutorial.py) example.
["Introduction"](../examples/Basics/introduction_tutorial) example.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of warnings when serving the docs, including this broken link.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I build locally, it also throws warnings for non-broken links, so I do not know how to judge which one is correct

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this link is marked as broken, as it does not exist at the time the link checker comes in. The notebooks are only built later. It works locally

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does for you? I tried this one locally and it did not work for me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes (with the committed fix from you)

@@ -0,0 +1,22 @@
# %% [markdown]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this is a Python file instead of markdown?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did not show up on the docs as .md.

Looking into it, it is because with markdown this file is not copied into the docs folder from the pre-existing script, I think. (scripts/gen_ref_pages.py)

@LennartPurucker
Copy link
Contributor Author

I guess you can review all the changes and documentation as much as you like as it is generally very outdaed and I mostly moved it or deleted stuff

LennartPurucker and others added 3 commits June 20, 2025 17:16
Co-authored-by: Pieter Gijsbers <p.gijsbers@tue.nl>
Co-authored-by: Pieter Gijsbers <p.gijsbers@tue.nl>
@LennartPurucker
Copy link
Contributor Author

Fun fact: the regrex test crashing only happened because of PyCharms refactor logic also changing one but not the other value. Without it, I would not have even known that the link to the documentation in the code is totally wrong already.

@SubhadityaMukherjee
Copy link
Contributor

Alright, I fixed some minor things and the rest looks good. I still need some more clarification on these : @LennartPurucker

In Advanced/create_upload_tutorial.py, the title is “Dataset is a numpy array” instead of Creating and uploading datasets. I am unable to figure out how to change this :/

/Advanced/tasks_tutorial/ : resampling link leads to an empty search

Details : this doesnt seem like a good title :/ details of what exactly? - the page has information about config and docker and stuff

Openml.org/cite doesnt exist in contributing

@LennartPurucker
Copy link
Contributor Author

  1. You need to remove this: https://github.com/openml/openml-python/blob/maint/rework_docu/examples/Advanced/create_upload_tutorial.py#L27 and likely other level one headings and ===. All headings must be level two, I think, so at most ##.
  2. I have no idea where the new WebUI shows the potential estimation procedures. I am always using the REST API to figure this out. Maybe someone else knows a new link for this?
  3. I think the title of the page is already Advanced User Guide, no? And the nav button is just a summary / prompt to click on this for more in-depth notes. I would not go over a one-word value for this. But I also don't have any better ones in my mind right now.
  4. Funny, I think it did during the Hackathon (?) I guess it is now: https://www.openml.org/terms

@SubhadityaMukherjee
Copy link
Contributor

Okay cool, Ill do that

@SubhadityaMukherjee
Copy link
Contributor

Okay its good to go from my side

@LennartPurucker
Copy link
Contributor Author

Did you update the citation link?

@SubhadityaMukherjee
Copy link
Contributor

Yep!

@LennartPurucker
Copy link
Contributor Author

Supi, LGTM from me, feel free to merge!
(we need to check if it gets deployed correctly)

Copy link
Contributor

@SubhadityaMukherjee SubhadityaMukherjee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this, but it remains to be seen if the building works now. Can't really test it any other way

@SubhadityaMukherjee SubhadityaMukherjee merged commit eed10f7 into develop Jul 9, 2025
13 checks passed
@SubhadityaMukherjee SubhadityaMukherjee deleted the maint/rework_docu branch July 9, 2025 10:55
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.

5 participants