Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,22 +191,16 @@ Make sure to do this at least once before your first commit to check your setup

## Contributing to the Documentation

We are glad to accept any sort of documentation: function docstrings,
reStructuredText documents, tutorials, etc.
reStructuredText documents live in the source code repository under the
doc/ directory.

You can edit the documentation using any text editor and then generate
the HTML output by typing ``make html`` from the doc/ directory.
The resulting HTML files will be placed in ``build/html/`` and are viewable in
a web browser. See the ``README`` file in the ``doc/`` directory for more
information.

For building the documentation, you will need to install a few additional dependencies:
We welcome all forms of documentation contributions — whether it's Markdown docstrings, tutorials, guides, or general improvements.

Our documentation is written either in Markdown or as a jupyter notebook and lives in the docs/ and examples/ directories of the source code repository.

To preview the documentation locally, you will need to install a few additional dependencies:
```bash
uv pip install -e .[examples,docs]
```
When dependencies are installed, run
```bash
sphinx-build -b html doc YOUR_PREFERRED_OUTPUT_DIRECTORY
mkdocs serve
```
This will open a preview of the website.
Binary file added docs/images/openml_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
site_name: openml-python
repo_url: https://github.com/openml/openml-python
repo_name: openml/openml-python
theme:
logo: images/openml_icon.png
favicon: images/openml_icon.png
name: material
features:
- content.code.annotate
Expand All @@ -11,6 +15,7 @@ theme:
- navigation.tabs
- navigation.tabs.sticky
- header.autohide
- header.social
- search.suggest
- search.highlight
- search.share
Expand Down
Loading