-
-
Notifications
You must be signed in to change notification settings - Fork 49
Migrate docs to Zensical, expand dev docs #357
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
763eb0f
Add a note on community code contributions
PGijsbers 3684075
Switch to Zensical. Restructure the landing page and roadmap.
PGijsbers 41df332
Move Elastic Search notice
PGijsbers 5491f59
Add code of conduct
PGijsbers b7eee96
Move pre-commit to separate dependency category.
PGijsbers 94975a4
Update the migration guide
PGijsbers 81faa97
Move the database documentation to developer documentation
PGijsbers 21c1086
Minor changes to the test documentation
PGijsbers b2de592
Expand project overview
PGijsbers 7d59330
Fix broken links
PGijsbers 36a73ce
Note on CI/CD tooling
PGijsbers 63544e2
Provide additional information for writing code
PGijsbers ece845e
Parse mkdocs.yml in unsafe fashion due to python marker
PGijsbers 4780d88
More notes
PGijsbers 7ab45c6
Update docs/migration.md
PGijsbers 8b0bc60
Update docs/roadmap.md
PGijsbers 15cbbfe
fix typo
PGijsbers 6d80cf4
fix typo
PGijsbers 2470ed6
fix typo
PGijsbers 33d1715
Move workflow to Zensical
PGijsbers e370d0d
Fix typos
PGijsbers 6645b39
Edits for clarity
PGijsbers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,28 @@ | ||
| # https://squidfunk.github.io/mkdocs-material/publishing-your-site/?h=#with-github-actions | ||
| name: Deploy Docs | ||
| name: Documentation | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
| jobs: | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v4 | ||
| - uses: actions/configure-pages@v6 | ||
| - uses: actions/checkout@v7 | ||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: 3.x | ||
| - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
| - uses: actions/cache@v3 | ||
| - run: pip install zensical | ||
| - run: zensical build --clean | ||
| - uses: actions/upload-pages-artifact@v5 | ||
| with: | ||
| key: mkdocs-material-${{ env.cache_id }} | ||
| path: .cache | ||
| restore-keys: | | ||
| mkdocs-material- | ||
| - run: pip install mkdocs-material mkdocs-section-index | ||
| - run: mkdocs gh-deploy --force | ||
| path: site | ||
| - uses: actions/deploy-pages@v5 | ||
| id: deployment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| FROM squidfunk/mkdocs-material | ||
| RUN python -m pip install mkdocs-section-index | ||
| ENTRYPOINT ["mkdocs"] | ||
| FROM zensical/zensical | ||
| ENTRYPOINT ["zensical"] | ||
| CMD ["serve", "--dev-addr=0.0.0.0:8000"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # Contributor Covenant Code of Conduct | ||
|
|
||
| This is a temporary Code of Conduct until OpenML establishes one for all | ||
| repositories in its organisation. | ||
|
|
||
| ## Our Pledge | ||
|
|
||
| We as members, contributors, and leaders pledge to make participation in our | ||
| community a harassment-free experience for everyone, regardless of age, body | ||
| size, visible or invisible disability, ethnicity, sex characteristics, gender | ||
| identity and expression, level of experience, education, socio-economic status, | ||
| nationality, personal appearance, race, religion, or sexual identity | ||
| and orientation. | ||
|
|
||
| We pledge to act and interact in ways that contribute to an open, welcoming, | ||
| diverse, inclusive, and healthy community. | ||
|
|
||
| ## Our Standards | ||
|
|
||
| Examples of behavior that contributes to a positive environment for our | ||
| community include: | ||
|
|
||
| * Demonstrating empathy and kindness toward other people | ||
| * Being respectful of differing opinions, viewpoints, and experiences | ||
| * Giving and gracefully accepting constructive feedback | ||
| * Accepting responsibility and apologizing to those affected by our mistakes, | ||
| and learning from the experience | ||
| * Focusing on what is best not just for us as individuals, but for the | ||
| overall community | ||
|
|
||
| Examples of unacceptable behavior include: | ||
|
|
||
| * The use of sexualized language or imagery, and sexual attention or | ||
| advances of any kind | ||
| * Trolling, insulting or derogatory comments, and personal or political attacks | ||
| * Public or private harassment | ||
| * Publishing others' private information, such as a physical or email | ||
| address, without their explicit permission | ||
| * Other conduct which could reasonably be considered inappropriate in a | ||
| professional setting | ||
|
|
||
| Moreover, we expect participation to be human-driven. | ||
| While AI may be used to aid in creating code contributions or to communicate more effectively, | ||
| it is a poor substitute for human intelligence. | ||
| Additionally, the ease with which such content is generated provides a significant burden on | ||
| maintainers if applied without consideration (see also, [The Cost of AI in Open Source Maintenance](https://adrin.info/the-cost-of-ai-in-open-source-maintenance.html) | ||
| ). | ||
| As a result, we expect you to understand the code contributions you submit and | ||
| minimize the use of AI in dialogue. | ||
|
|
||
|
|
||
| ## Enforcement Responsibilities | ||
|
|
||
| Community leaders are responsible for clarifying and enforcing our standards of | ||
| acceptable behavior and will take appropriate and fair corrective action in | ||
| response to any behavior that they deem inappropriate, threatening, offensive, | ||
| or harmful. | ||
|
|
||
| Community leaders have the right and responsibility to remove, edit, or reject | ||
| comments, commits, code, wiki edits, issues, and other contributions that are | ||
| not aligned to this Code of Conduct, and will communicate reasons for moderation | ||
| decisions when appropriate. | ||
|
|
||
| ## Scope | ||
|
|
||
| This Code of Conduct applies within all community spaces, and also applies when | ||
| an individual is officially representing the community in public spaces. | ||
| Examples of representing our community include using an official e-mail address, | ||
| posting via an official social media account, or acting as an appointed | ||
| representative at an online or offline event. | ||
|
|
||
| ## Enforcement | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
| reported to the community leaders responsible for enforcement at `openmlhq@googlegroups.com`. | ||
| All complaints will be reviewed and investigated promptly and fairly. | ||
|
|
||
| All community leaders are obligated to respect the privacy and security of the | ||
| reporter of any incident. | ||
|
|
||
| Enforcement may take the shape of a correction, warning, or (temporary) ban at the discretion | ||
| of the community leaders. | ||
|
|
||
| ## Attribution | ||
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
| version 2.0, available at | ||
| https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. | ||
|
|
||
| Community Impact Guidelines were inspired by [Mozilla's code of conduct | ||
| enforcement ladder](https://github.com/mozilla/diversity). | ||
|
|
||
| [homepage]: https://www.contributor-covenant.org | ||
|
|
||
| For answers to common questions about this code of conduct, see the FAQ at | ||
| https://www.contributor-covenant.org/faq. Translations are available at | ||
| https://www.contributor-covenant.org/translations. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| We have the following GitHub actions: | ||
|
|
||
| - `.github/workflows/docker-publish.yml`: Build and publish a new Docker image to [our DockerHub repository](https://hub.docker.com/r/openml/rest-api) on release. | ||
| - `.github/workflows/docs.yml`: Build and deploy these documentation pages on a merge to the main branch. | ||
| - `.github/workflows/tests.yml`: Run all tests on pull requests and a push to main, pushes code coverage reports to Codecov. | ||
|
|
||
| Additionally, we also have the following services configured: | ||
|
|
||
| - `.pre-commit-config.yaml`: For local pre-commits, but also used by pre-commit.ci on pull requests. | ||
| - `codecov.yaml`: For providing code coverage reports on pull requests. | ||
| - `CodeRabbit` and `Sourcery AI` for automated code reviews. | ||
|
|
||
| !!! example "On AI code reviews" | ||
|
|
||
| We are currently experimenting with AI code reviews. | ||
| For all their flaws in code generation, these bots do regularly point out typos and sometimes bring in context beyond the authors' familiarity. | ||
| They also make poor suggestions, but those are typically easy to identify and ignore. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.