Skip to content

Commit 7d0904a

Browse files
committed
add README to docs
1 parent 35327ed commit 7d0904a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

{{cookiecutter.project_name}}/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
version.py
33

44
# Sphinx automatic generation of API
5+
docs/README.md
56
docs/_api/
67

78
# Combined environments

{{cookiecutter.project_name}}/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ template-update:
2929
pre-commit run --all-files cruft -c .pre-commit-config-cruft.yaml
3030

3131
docs-build:
32-
cd docs && rm -fr _api && make clean && make html
32+
cp README.md docs/. && cd docs && rm -fr _api && make clean && make html
3333

3434
# DO NOT EDIT ABOVE THIS LINE, ADD COMMANDS BELOW

{{cookiecutter.project_name}}/docs/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:caption: 'Contents:'
77
:maxdepth: 2
88
9+
README.md
910
API Reference <_api/{{ cookiecutter.project_slug }}/index>
1011
```
1112

0 commit comments

Comments
 (0)