Skip to content

Commit

Permalink
Merge pull request #100 from lyz-code/fix/ci
Browse files Browse the repository at this point in the history
fix/ci
  • Loading branch information
lyz-code authored Feb 10, 2023
2 parents 451c494 + 8abf957 commit a481f72
Show file tree
Hide file tree
Showing 11 changed files with 823 additions and 636 deletions.
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"template": "https://github.com/lyz-code/cookiecutter-python-project",
"commit": "be05f7fbdd81c837af0d9ee5ca3e13cdb0dff00a",
"commit": "e2247dc1d557217a1c6f8b89f9355cb9be1c8238",
"context": {
"cookiecutter": {
"project_name": "MkDocs Newsletter",
"project_slug": "mkdocs-newsletter",
"project_description": "Automatically create newsletters from the changes in a mkdocs repository",
"requirements": "",
"configure_command_line": "True",
"read_configuration_from_yaml": "True",
"configure_command_line": true,
"read_configuration_from_yaml": true,
"github_user": "lyz-code",
"github_token_pass_path": "internet/github.lyz-code.api_token",
"pypi_token_pass_path": "internet/pypi.token",
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ black = pdm run black --target-version py37 src tests
.PHONY: install
install:
pdm install --dev
pdm run pre-commit install

.PHONY: update
update:
Expand Down Expand Up @@ -47,6 +46,7 @@ format:

$(isort)
$(black)
autoimport .

@echo ""

Expand Down
8 changes: 8 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ You'll need to have python 3.6, 3.7, or 3.8, virtualenv, git, and make installed
source env/bin/activate
```

* Install `pdm` our package manager with the next command or using any of the
other [recommended
methods](https://pdm.fming.dev/latest/#recommended-installation-method).

```bash
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
```

* Install mkdocs-newsletter, dependencies and configure the
pre-commits:

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ theme:
# logo: 'images/logo.bmp'
features:
- navigation.instant
- navigation.footer
- navigation.top
- content.code.annotate

Expand Down
Loading

0 comments on commit a481f72

Please sign in to comment.