Skip to content

Commit ae8c9d1

Browse files
committed
Added Makefile and updated docs/book/index.md
1 parent a783228 commit ae8c9d1

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
format:
2+
black . -l 79
3+
linecheck . --fix
4+
install:
5+
pip install -e .
6+
test:
7+
pytest -m 'not local'
8+
documentation:
9+
jupyter-book clean docs/book
10+
jupyter-book build docs/book
11+
changelog:
12+
build-changelog changelog.yaml --output changelog.yaml --update-last-date --start-from 0.0.0 --append-file changelog_entry.yaml
13+
build-changelog changelog.yaml --org OpenSourceEcon --repo CompMeths --output CHANGELOG.md --template .github/changelog_template.md
14+
bump-version changelog.yaml setup.py
15+
rm changelog_entry.yaml || true
16+
touch changelog_entry.yaml

docs/book/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,13 @@ This site was created using the [Executable Books](https://executablebooks.org/)
2424

2525
## Associated repository components
2626
Put here a description of the code and tests available in the repository.
27+
28+
29+
## Citing this book
30+
Please use the following citation form for this book.
31+
32+
General citation to the book:
33+
* Evans, Richard W., *Computational Methods for Economists using Python*, Open access Jupyter Book, v#.#.#, 2023, [url to book].
34+
35+
Citation to a chapter in the book:
36+
* Evans, Richard W., "[insert chapter name]", in *Computational Methods for Economists using Python*, Open access Jupyter Book, v#.#.#, 2023, [url to chapter].

0 commit comments

Comments
 (0)