Skip to content

Commit 3068cd8

Browse files
authored
Merge branch 'master' into master
2 parents cfba8fc + 6b1e68b commit 3068cd8

19 files changed

Lines changed: 94 additions & 38 deletions

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ jobs:
2323
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2424
run: |
2525
make release
26+
27+
- name: Publish Documentation
28+
run: |
29+
pip install -r requirements-docs.txt
30+
pip install -e .
31+
mkdocs gh-deploy --force

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ or with [tox](https://pypi.org/project/tox/) installed:
1616

1717
$ tox
1818

19+
20+
Documentation is published with [mkdocs]():
21+
22+
```shell
23+
$ pip install -r requirements-docs.txt
24+
$ pip install -e .
25+
$ mkdocs serve
26+
```
27+
28+
Open http://127.0.0.1:8000/ to view the documentation locally.
29+

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
include LICENSE *.md *.yml *.toml
22

33
include tox.ini
4+
recursive-include docs *.md
45
recursive-include tests *.py
56

67
include .bumpversion.cfg
78
include .coveragerc
89
include .editorconfig
910
include Makefile
1011
include requirements.txt
12+
include requirements-docs.txt
1113
include src/dotenv/py.typed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ defined in the following list:
225225
- [dump-env](https://github.com/sobolevn/dump-env)
226226
- [environs](https://github.com/sloria/environs)
227227
- [dynaconf](https://github.com/rochacbruno/dynaconf)
228+
- [parse_it](https://github.com/naorlivne/parse_it)
228229

229230
## Acknowledgements
230231

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CHANGELOG.md

docs/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CONTRIBUTING.md

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

docs/reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Reference
2+
3+
::: dotenv

mkdocs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
site_name: python-dotenv
2+
repo_url: https://github.com/theskumar/python-dotenv
3+
edit_uri: ""
4+
theme:
5+
name: material
6+
palette:
7+
primary: green
8+
markdown_extensions:
9+
- mdx_truly_sane_lists
10+
plugins:
11+
- mkdocstrings:
12+
handlers:
13+
python:
14+
rendering:
15+
show_root_heading: yes
16+
show_submodules: no
17+
separate_signature: yes
18+
- search
19+
nav:
20+
- Home: index.md
21+
- Changelog: changelog.md
22+
- Contributing: contributing.md
23+
- Reference: reference.md

pyproject.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)