Skip to content

Commit

Permalink
Fix megaliner warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MartaSien committed Dec 25, 2024
1 parent e769138 commit 1b711f9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/linters/.mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
PRE_COMMANDS:
- command: R --slave -e 'install.packages(c("lintr"))'
cwd: "root"
PRINT_ALL_FILES: false
PRINT_ALL_FILES: false
4 changes: 2 additions & 2 deletions .github/workflows/update-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
# Runs on pushes targeting the default branch
pull_request:
branches: ["main"]

schedule:
# Runs on UTC time so + 2 h for Warsaw
- cron: '*/15 5-18 * * *'
- cron: "*/15 5-18 * * *"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
The static website is generated from [Jinja2](https://jinja.palletsprojects.com/en/2.10.x/) template using Python.
Information on this website are taken via [Home Assistant REST API](https://developers.home-assistant.io/docs/api/rest/).

### Env variables
## Env variables

- `TOKEN` - Home Assistant REST API access token

- `URL` - URL to the HS3 Home Assistant server

### Branch structure
## Branch structure

🌿 `main` - this is the main development branch. If you want to introduce changes to the repository, you should open a PR on this branch.

🌿 `gh-pages` - the website is being deployed via GitHub Pages from this branch. All changes to this branch are implemented automatically via [Update website GitHub Action](https://github.com/MartaSien/home-assistant-hs3-plan/actions/workflows/update-website.yml). 🛑 Please don't add any changes to this branch manually. Instead, open a PR to the `main` branch.

### Tips on development
## Tips on development

1. To avoid intellisense errors in `_layout.html` file I recommend [Better Jinja](https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml) plugin for Visual Studio Code and setting up this file as `Jinja HTML`.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Prepares a static website with the current state of [Hackerspace Trojmiasto](https://hs3.pl/) Home Assistant using its RESTful API.

You can see the live website here:
https://martasien.github.io/home-assistant-hs3-plan/
[martasien.github.io/home-assistant-hs3-plan](https://martasien.github.io/home-assistant-hs3-plan/)

## Very scientific website generator architecture scheme

Expand Down

0 comments on commit 1b711f9

Please sign in to comment.