Skip to content

Instantly share code, notes, and snippets.

@menshikh-iv
Last active December 16, 2017 20:51
Show Gist options
  • Save menshikh-iv/075824fdc4906a3b1b74b8f94ce64b59 to your computer and use it in GitHub Desktop.
Save menshikh-iv/075824fdc4906a3b1b74b8f94ce64b59 to your computer and use it in GitHub Desktop.

Gensim meetup

Intro

Hi guys! My name is Ivan, I'm a maintainer of Gensim project from Yekaterinburg, Russia. It's already night in Yekaterinburg, but I'll try to keep in touch (FIXME add link for chat)

Right now, the main target of Gensim project is documentation. The first stage of this project is docstrings, it's what makes great documentation.

What should I know?

First of all, please read the contributing guide, it will give you a basic understanding of working with Gensim as a contributor.

Some useful tips about documentation:

  • We're using numpy-style, which is explained in HOWTO_DOCUMENT from numpy repo and in examples from sphinx. Also, please have a look at the examples from Gensim repository (these files are already in numpy-style): preprocessing.py, keywords.py
  • If function is not documented, you need to write annotate it, otherwise you should convert existing documentation to numpy-style and fix mistakes. Additionaly, examples in doctest format would be much appreciated (but please remember that they should be executable).
  • In order to build the documentation you should run tox -e docs in the root folder of the repository (works for Linux/MacOSX), documentation will be available in docs/src/_build. If you're on Windows, create PR in Gensim repo, Travis will build the docs (you'll see all errors in log if you make something wrong). It's a bit inconvenient, but unfortunately there's currently no other way to do it on Windows.
  • If you don't have time to finish PR on the meetup - don't worry! You can either publish what you have and finish later or let us know that you are no longer planning to do this.
  • In the next section you'll see a list of files, please choose exactly one of them, make the necessary changes and create a pull-request. If you'll still got time after that, choose the next file and repeat the process.
  • Good luck and have a happy sprint!

Files for you to work on

Pleasant bonus

If you create PR and we merge it successfuly, I can sent your gensim/scikit-learn/numpy/pandas/etc stickers 🎁. Please contact with me by email [email protected] or twitter @menshikh_iv (sent your postal address and link to PR).

Also, if you want to continue to help us with the documentation, it will be really nice for us! Please contact with me too and I will direct you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment