Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
.idea
.idea
.DS_Store
5 changes: 1 addition & 4 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"author_name": "",
"author_email": "",
"github_username": "",
"github_organization": "",
"_extensions": [
"jinja2_time.TimeExtension"
]
"github_organization": ""
}
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

17 changes: 0 additions & 17 deletions tasks.py

This file was deleted.

2 changes: 0 additions & 2 deletions tests/test_trivial.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python: ["3.10", "3.11", "3.12"]

steps:
- uses: compas-dev/compas-actions.build@v4
- uses: compas-dev/compas-actions.build@v5
with:
python: ${{ '{{' }} matrix.python {{ '}}' }}
invoke_lint: true
Expand Down
4 changes: 3 additions & 1 deletion {{cookiecutter.project_folder}}/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: compas-dev/compas-actions.docs@v4
- uses: compas-dev/compas-actions.docs@v5.0.1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we say v5 isn't it gonna pull latest 5.x anyway?

with:
github_token: ${{ '{{' }} secrets.GITHUB_TOKEN {{ '}}' }}
generator: mkdocs
extras: dev
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
name: Check Actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v6
- name: Changelog check
uses: Zomzog/changelog-checker@v1.2.0
uses: Zomzog/changelog-checker@v1.3.0
with:
fileName: CHANGELOG.md
checkNotification: Simple
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_folder}}/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
python: ['3.9', '3.10', '3.11']

steps:
- uses: compas-dev/compas-actions.build@v4
- uses: compas-dev/compas-actions.build@v5
with:
python: ${{ '{{' }} matrix.python {{ '}}' }}
invoke_lint: true
Expand All @@ -24,7 +24,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: compas-dev/compas-actions.publish@v3
- uses: compas-dev/compas-actions.publish@v3.1.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, maybe just v3

with:
pypi_token: ${{ '{{' }} secrets.PYPI {{ '}}' }}
github_token: ${{ '{{' }} secrets.GITHUB_TOKEN {{ '}}' }}
1 change: 0 additions & 1 deletion {{cookiecutter.project_folder}}/docs/_images/PLACEHOLDER

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions {{cookiecutter.project_folder}}/docs/api.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ::: {{ cookiecutter.project_slug }}

This file was deleted.

5 changes: 5 additions & 0 deletions {{cookiecutter.project_folder}}/docs/assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root > * {
--md-primary-fg-color: #0092d2;
--md-primary-fg-color--light: #0092d2;
--md-primary-fg-color--dark: #0092d2;
}
160 changes: 0 additions & 160 deletions {{cookiecutter.project_folder}}/docs/conf.py

This file was deleted.

1 change: 1 addition & 0 deletions {{cookiecutter.project_folder}}/docs/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Examples
10 changes: 0 additions & 10 deletions {{cookiecutter.project_folder}}/docs/examples.rst

This file was deleted.

17 changes: 17 additions & 0 deletions {{cookiecutter.project_folder}}/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# {{ cookiecutter.project_name }}

{{ cookiecutter.project_short_description }}

## Installation

Stable releases can be installed from PyPI.

```bash
pip install {{ cookiecutter.project_slug }}
```

## First Steps

```python
import {{ cookiecutter.project_slug }}
```
33 changes: 0 additions & 33 deletions {{cookiecutter.project_folder}}/docs/index.rst

This file was deleted.

29 changes: 29 additions & 0 deletions {{cookiecutter.project_folder}}/docs/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Installation

## Stable

Stable releases are available on PyPI and can be installed with pip.

```bash
pip install {{ cookiecutter.project_slug }}
```

## Latest

The latest version can be installed from local source.

```bash
git clone https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.project_slug }}.git
cd {{ cookiecutter.project_slug }}
pip install -e .
```

## Development

To install `{{ cookiecutter.project_slug }}` for development, install from local source with the "dev" requirements.

```bash
git clone https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.project_slug }}.git
cd {{ cookiecutter.project_slug }}
pip install -e .[dev]
```
Loading