<commit_before>How to make a new release of ``skimage``
========================================

- Update release notes.

  - To show a list contributors, run ``doc/release/contributors.sh <commit>``,
    where ``<commit>`` is the first commit since the previous release.

- Update the version number in ``setup.py`` and ``bento.info`` and commit

- Update the docs:

  - Edit ``doc/source/themes/agogo/static/docversions.js`` and commit
  - Build a clean version of the docs.  Run ``make`` in the root dir, then
    ``rm build -rf; make html`` in the docs.
  - Run ``make html`` again to copy the newly generated ``random.js`` into
    place.  Double check ``random.js``, otherwise the skimage.org front
    page gets broken!
  - Build using ``make gh-pages``.
  - Push upstream: ``git push`` in ``doc/gh-pages``.

- Add the version number as a tag in git::

   git tag v0.X.0

- Push the new meta-data to github::

   git push --tags origin master

- Publish on PyPi::

   python setup.py register
   python setup.py sdist upload

- Increase the version number

  - In ``setup.py``, set to ``0.Xdev``.
  - In ``bento.info``, set to ``0.X.dev0``.

- Update the web frontpage:
  The webpage is kept in a separate repo: scikit-image-web

  - Sync your branch with the remote repo: ``git pull``.
    If you try to ``make gh-pages`` when your branch is out of sync, it
    creates headaches.
  - Update stable and development version numbers in<commit_msg>Fix release instruction for making docs<commit_after>How to make a new release of ``skimage``
========================================

- Update release notes.

  - To show a list contributors, run ``doc/release/contributors.sh <commit>``,
    where ``<commit>`` is the first commit since the previous release.

- Update the version number in ``setup.py`` and ``bento.info`` and commit

- Update the docs:

  - Edit ``doc/source/themes/agogo/static/docversions.js`` and commit
  - Build a clean version of the docs.  Run ``make`` in the root dir, then
    ``rm -rf build; make html`` in the docs.
  - Run ``make html`` again to copy the newly generated ``random.js`` into
    place.  Double check ``random.js``, otherwise the skimage.org front
    page gets broken!
  - Build using ``make gh-pages``.
  - Push upstream: ``git push`` in ``doc/gh-pages``.

- Add the version number as a tag in git::

   git tag v0.X.0

- Push the new meta-data to github::

   git push --tags origin master

- Publish on PyPi::

   python setup.py register
   python setup.py sdist upload

- Increase the version number

  - In ``setup.py``, set to ``0.Xdev``.
  - In ``bento.info``, set to ``0.X.dev0``.

- Update the web frontpage:
  The webpage is kept in a separate repo: scikit-image-web

  - Sync your branch with the remote repo: ``git pull``.
    If you try to ``make gh-pages`` when your branch is out of sync, it
    creates headaches.
  - Update stable and development version numbers in
{'fraction_non_alphanumeric': 0.14246762099522836, 'fraction_numerical': 0.0034083162917518746, 'mean_word_length': 3.192857142857143, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7264433', 'n_tokens_mistral': 913, 'n_tokens_neox': 871, 'n_words': 388}