Skip to content

Commit a098193

Browse files
documentation changes (openml#1428)
1 parent 656577b commit a098193

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -191,22 +191,16 @@ Make sure to do this at least once before your first commit to check your setup
191191
192192
## Contributing to the Documentation
193193
194-
We are glad to accept any sort of documentation: function docstrings,
195-
reStructuredText documents, tutorials, etc.
196-
reStructuredText documents live in the source code repository under the
197-
doc/ directory.
198-
199-
You can edit the documentation using any text editor and then generate
200-
the HTML output by typing ``make html`` from the doc/ directory.
201-
The resulting HTML files will be placed in ``build/html/`` and are viewable in
202-
a web browser. See the ``README`` file in the ``doc/`` directory for more
203-
information.
204-
205-
For building the documentation, you will need to install a few additional dependencies:
194+
We welcome all forms of documentation contributions — whether it's Markdown docstrings, tutorials, guides, or general improvements.
195+
196+
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.
197+
198+
To preview the documentation locally, you will need to install a few additional dependencies:
206199
```bash
207200
uv pip install -e .[examples,docs]
208201
```
209202
When dependencies are installed, run
210203
```bash
211-
sphinx-build -b html doc YOUR_PREFERRED_OUTPUT_DIRECTORY
204+
mkdocs serve
212205
```
206+
This will open a preview of the website.

docs/images/openml_icon.png

3.19 KB
Loading

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
site_name: openml-python
2+
repo_url: https://github.com/openml/openml-python
3+
repo_name: openml/openml-python
24
theme:
5+
logo: images/openml_icon.png
6+
favicon: images/openml_icon.png
37
name: material
48
features:
59
- content.code.annotate
@@ -11,6 +15,7 @@ theme:
1115
- navigation.tabs
1216
- navigation.tabs.sticky
1317
- header.autohide
18+
- header.social
1419
- search.suggest
1520
- search.highlight
1621
- search.share

0 commit comments

Comments
 (0)