# 2023 workflow

[![pages-build-deployment](https://github.com/shane0/shane0.github.io/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/shane0/shane0.github.io/actions/workflows/pages/pages-build-deployment) [![Run tests](https://github.com/shane0/shane0.github.io/actions/workflows/run-tests.yml/badge.svg)](https://github.com/shane0/shane0.github.io/actions/workflows/run-tests.yml) [![markdownlint](https://github.com/shane0/shane0.github.io/actions/workflows/markdownlint.yml/badge.svg)](https://github.com/shane0/shane0.github.io/actions/workflows/markdownlint.yml)

## push

- `./push.sh` script pushes & deploys using:

```sh
mkdocs gh-deploy
```

## local server

- start server with alias `mks` at <http://127.0.0.1:8001/>

## readability

- lexi

## linting

- FIXME: on mac run click: `fli bujo zl`
- keys: <https://facelessuser.github.io/pymdown-extensions/extensions/keys/>
- markdownlint keyboard shortcut on mac: ++command++ ++h++
- example `++command++ ++h++`
- `~/Library/Application Support/Code/User/keybindings.json`

```json
// Place your key bindings in this file to override the defaultsauto[]
[
  {
    "key": "cmd+h",
    "command": "markdownlint.fixAll"
  }
]
```

## 2023-09-12

- added readability (lexi) action
- weird, this only works on pr and adds the report on github
- this should happen before pushing
- first a command line
- then maybe an extension
- also where are the docs for these algorithms, how do i improve my docs?
- does it actually check for present tense and active voice?

## 2023-07-02

- setup release please
- install cli

```sh
npm i release-please -g
```

- added action
- <https://github.com/marketplace/actions/release-please-action>

```sh
touch .github/workflows/release-please.ymladd action
```

## 2023-02-03

- most of this content is my conversations with chatgpt
- so far: it finds decent answers and helps me learn to ask the right questions
- <https://virtualenv.pypa.io/en/latest/user_guide.html>

```sh
pip show mkdocs-material
# fix pixelbook
pip install --upgrade mkdocs-material 
virtualenv venv
pip install mkdocs-glightbox
```

- whoops

```sh
git pull --no-ff
```
