-
Notifications
You must be signed in to change notification settings - Fork 27
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
Enhance the contributing guide in online doc #123
Conversation
Add sections and reorganize into - setting up dev environment - installation from source in dev mode - local build of the docs - running tests - guide lines when coding - code linters - notebooks convention - adding tests - pull request process
f3357c8
to
7f6d61c
Compare
docs/contribute.md
Outdated
- [check the documentation locally](#building-the-docs-locally) if you modified it | ||
- check you respect the coding styles by [running linters](#coding-style-and-code-linting) | ||
|
||
I you do not, you will still be able to see the status of your PR as CI will do that checks for you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 typos: If ... these checks for you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
docs/contribute.md
Outdated
|
||
- Fork the repository on github. | ||
- Clone your fork on your computer. | ||
- Create a branch with a self-explanatory branch, e.g. `xx/add-solver-crazyalgoname` where "xx" stands for your initials, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
External contributors do not need to follow this naming scheme, they can use their master branch if they want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
docs/contribute.md
Outdated
- having a separate commit to reformat previous existing code if necessary | ||
- rewritting commit messages so that it explains the changes made and why, the "how" part being explained by the code itself | ||
(see this [post](https://chris.beams.io/posts/git-commit/) about what a commit message should and should not contain) | ||
- rebasing on main repository main branch if it diverged too much by the time you finished |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upstream repository's master branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Add sections and reorganize into:
You can preview the resulting page here (github markdown interpreting). Or have a complete view of resulting documentation by downloading the "doc" artifact from the "Build scikit-decide" action triggered by this PR , and then:
mkdir testdoc cd testdoc unzip path/to/doc.zip -d scikit-decide python -m http.server