22
33Copyright (c) 2021 IIASA
44
5- ![ GitHub] ( https://img.shields.io/github/license/iiasa/python-stub )
5+ ![ License] ( https://img.shields.io/github/license/iiasa/python-stub )
6+ [ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
67
78## Overview
89
@@ -17,25 +18,36 @@ Detailed instructions to create a new repository from a template can be found
1718
1819Then, make the following changes:
1920
20- 0 . Change the text of the ` LICENSE ` file and the badge in this readme (optional).
21- 1 . Rename the folder ` python_stub ` to the intended package name.
22- 2 . Update the package name, author info and url in ` setup.cfg ` .
23- 3 . Update the package name, author info and copyright in ` doc/source/conf.py ` .
24- 4 . Delete the configuration section from this readme and update the title and overview section.
21+ 0 . Change the text of the ` LICENSE ` file (optional).
22+ 0 . Update the url in the license badge in this readme to point to the new repository.
23+ 0 . Rename the folder ` python_stub ` to the intended package name.
24+ 0 . Update the package name, author info and url in ` setup.cfg ` .
25+ 0 . Update the package name, author info and copyright in ` doc/source/conf.py ` .
26+ 0 . Delete the configuration section from this readme and update the title and overview section.
2527
2628Make sure to commit all changes to your new repository - then program away!
2729
30+ ## Recommendations
31+
32+ This package uses the [ Black] ( https://black.readthedocs.io/ ) code style.
33+ A GitHub Action workflow is configured to check that your commits conform to the style.
34+
35+ We recommend that you follow the [ numpydoc] ( https://numpydoc.readthedocs.io )
36+ docstring formatting guide.
37+
38+ Looking for more ideas to include fancy modules in your package?
39+ Take a look at the [ cookiecutter-hypermodern-python] ( https://github.com/cjolowicz/cookiecutter-hypermodern-python ) repository!
40+
2841## Installation
2942
3043Install the package including the requirements for building the docs.
3144
32- pip install -e .[doc]
45+ pip install --editable .[doc]
3346
3447## Building the docs
3548
3649Navigate to the doc folder and run Sphinx.
3750
38- cd doc
39- make html
51+ make --directory=doc html
4052
4153The rendered html pages will be located in ` doc/build/html/index.html ` .
0 commit comments