mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-08-17 02:17:35 +02:00
Compare commits
No commits in common. "eafdac74a5b066ff1d3d82f4d965e7a376ef12f5" and "5eb2363db85ae04cd8d854006f3dba076238c6f4" have entirely different histories.
eafdac74a5
...
5eb2363db8
40
.github/dependabot.yml
vendored
Normal file
40
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "bundler"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
timezone: "Europe/Helsinki"
|
||||
groups:
|
||||
bundler:
|
||||
patterns:
|
||||
- "*"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
timezone: "Europe/Helsinki"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
||||
|
||||
- package-ecosystem: "gitsubmodule"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
timezone: "Europe/Helsinki"
|
||||
groups:
|
||||
gitsubmodule:
|
||||
patterns:
|
||||
- "*"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
groups:
|
||||
npm:
|
||||
patterns:
|
||||
- "*"
|
3
.github/workflows/jekyll.yml
vendored
3
.github/workflows/jekyll.yml
vendored
@ -36,8 +36,9 @@ jobs:
|
||||
with:
|
||||
submodules: "true"
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # v1.185.0
|
||||
uses: ruby/setup-ruby@97e35c5302afcf3f5ac1df3fca9343d32536b286 # v1.184.0
|
||||
with:
|
||||
ruby-version: ".ruby-version" # Not needed with a .ruby-version file
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
cache-version: 0 # Increment this number if you need to re-download cached gems
|
||||
- name: Setup Pages
|
||||
|
7
.prettierrc
Normal file
7
.prettierrc
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"insertPragma": false,
|
||||
"proseWrap": "always",
|
||||
"singleAttributePerLine": true,
|
||||
"plugins": ["@prettier/plugin-xml", "prettier-plugin-sh"],
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"bracketSameLine": true,
|
||||
"endOfLine": "auto",
|
||||
"plugins": [
|
||||
"@prettier/plugin-xml",
|
||||
"prettier-plugin-sh"
|
||||
],
|
||||
"proseWrap": "always",
|
||||
"quoteProps": "consistent",
|
||||
"singleAttributePerLine": true
|
||||
}
|
@ -57,14 +57,12 @@ Or directories that generally aren't encountered in other similar projects.
|
||||
|
||||
## Building
|
||||
|
||||
1. Install `rbenv` and its `ruby-build` plugins. Refer to
|
||||
[rbenv/rbenv README.md for more information](https://github.com/rbenv/rbenv/blob/master/README.md#basic-git-checkout)
|
||||
1. Install `bundler` onto your system.
|
||||
1. `cd` to root of this repository, if you didn't already.
|
||||
1. Install the required Ruby version by `rbenv install`
|
||||
1. _Optionally_ configure where you wish bundler to install everything by e.g.
|
||||
`bundle config set --local path 'vendor/bundle'`, but the rbenv default
|
||||
should work just fine
|
||||
1. _Optionally_ configure where you wish bundler to install everything. This
|
||||
repository already specifies `bundle config set --local path 'vendor/bundle'`
|
||||
in the gitignored `.bundle/config` file.
|
||||
1. Run `bundle install`
|
||||
1. You are done, `bundle exec jekyll <build|serve>` and similar commands should
|
||||
work. I suggest `bundle exec jekyll serve -lo` which will livereload and open
|
||||
the web browser for you.
|
||||
work, just remember `bundle exec` in front of the command so the system wide
|
||||
installation doesn't unintentionally get used.
|
||||
|
@ -94,7 +94,6 @@ may think about my body parts which aren't their business. I haven't yet visited
|
||||
any of those, but as I said whatever people think isn't my problem. I actually
|
||||
even have a temptation to visit such areas, just because my body is "sinful" and
|
||||
everything, according to whatever you wish to call cis beauty standards.
|
||||
|
||||
<!-- This is possibly a little kinky. -->
|
||||
|
||||
How do I know that I don't need the full genital surgery? I haven't even thought
|
||||
|
@ -10,10 +10,12 @@ robots: noai, nofollow
|
||||
<p id="avatar">
|
||||
<a
|
||||
class="h-card"
|
||||
href="https://aminda.eu/">
|
||||
href="https://aminda.eu/"
|
||||
>
|
||||
<img
|
||||
src="{{site.avatar}}"
|
||||
alt="Photo of me" /><br />Aminda Suomalainen</a
|
||||
alt="Photo of me"
|
||||
/><br />Aminda Suomalainen</a
|
||||
><br />
|
||||
<small
|
||||
><a
|
||||
@ -190,7 +192,8 @@ robots: noai, nofollow
|
||||
</li>
|
||||
<li
|
||||
class="monospaced"
|
||||
id="ssh">
|
||||
id="ssh"
|
||||
>
|
||||
SSH:
|
||||
<a
|
||||
href="https://gitea.blesmrt.net/mikaela/ssh-allowed_signers/src/branch/cxefa/aminda/aminda.pub"
|
||||
|
@ -22,6 +22,7 @@ _{{ page.excerpt }}_
|
||||
- [Configuration](#configuration)
|
||||
- [`.pre-commit-config.yaml`](#pre-commit-configyaml)
|
||||
- [Offline](#offline)
|
||||
- [Online](#online)
|
||||
- [Further information](#further-information)
|
||||
|
||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||
@ -49,35 +50,14 @@ _{{ page.excerpt }}_
|
||||
|
||||
## Configuration
|
||||
|
||||
I do with `.editorconfig` what I can, but for example my template
|
||||
`.prettierrc.json` looks like this. I use pre-commit's pretty-format-json, while
|
||||
the one included on this page gets managed by prettier.
|
||||
I do with `.editorconfig` what I can, but for example my template `.prettierrc`
|
||||
looks like:
|
||||
|
||||
```json
|
||||
{
|
||||
"bracketSameLine": true,
|
||||
"endOfLine": "auto",
|
||||
"insertPragma": true,
|
||||
"overrides": [
|
||||
{
|
||||
"files": ".prettierrc",
|
||||
"options": {
|
||||
"parser": "json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "conf/librewolf.overrides.cfg",
|
||||
"options": {
|
||||
"parser": "babel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "conf/autoconfig.js.online",
|
||||
"options": {
|
||||
"parser": "babel"
|
||||
}
|
||||
}
|
||||
],
|
||||
"proseWrap": "always",
|
||||
"singleAttributePerLine": true,
|
||||
"plugins": [
|
||||
"@prettier/plugin-ruby",
|
||||
"@prettier/plugin-xml",
|
||||
@ -85,32 +65,22 @@ the one included on this page gets managed by prettier.
|
||||
"prettier-plugin-sh",
|
||||
"prettier-plugin-toml"
|
||||
],
|
||||
"proseWrap": "always",
|
||||
"quoteProps": "consistent",
|
||||
"requirePragma": false,
|
||||
"singleAttributePerLine": true
|
||||
"overrides": [
|
||||
{ "files": ".prettierrc", "options": { "parser": "json" } },
|
||||
{
|
||||
"files": "conf/librewolf.overrides.cfg",
|
||||
"options": { "parser": "babel" }
|
||||
},
|
||||
{
|
||||
"files": "conf/autoconfig.js.online",
|
||||
"options": { "parser": "babel" }
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
See the documentation linked on the bottom, but here are some explanations
|
||||
anyway:
|
||||
|
||||
- `bracketSameLine: true` - HTML tags closing on the same line as something else
|
||||
just looks so much better for my eyes.
|
||||
- `endOfLine: auto` - The default is `lf` line-endings, which I support in
|
||||
general, but I think `prettier` is the wrong place to configure it. I have it
|
||||
in `.gitattributes` which will take priority on check-in and `.editorconfig`.
|
||||
- `insertPragma: true` - adds a comment on files formatted
|
||||
- `overrides` and `plugins` - self-explanatory, but if not see the documentation
|
||||
(bottom of the page). I know I don't actually have `.prettierrc` as it's
|
||||
`.prettierrc.json`, but it doesn't seem to hurt and `babel` seems to be used
|
||||
for JavaScript by default, which those two are regardless of the name.
|
||||
- `proseWrap: always` - wraps long markdown lines as individual newlines don't
|
||||
matter (two begin a new paragraph).
|
||||
- `quoteProps: consistent` - quotes things if anything is quoted.
|
||||
- `requirePragma: false` - the other side of `insertPragma: true`, it's here as
|
||||
a note to self.
|
||||
- `singleAttributePerLine: true` - I just think it looks better.
|
||||
at the time of writing. It's directly from documentation excluding the plugin
|
||||
names, but I will want it everywhere.
|
||||
|
||||
## `.pre-commit-config.yaml`
|
||||
|
||||
@ -147,11 +117,9 @@ repos:
|
||||
language: system
|
||||
# Better handled by pretty-format-json from pre-commit-hooks.
|
||||
# Remember to have *.json in .prettierignore!
|
||||
#exclude_types: [json]
|
||||
exclude_types: [json]
|
||||
```
|
||||
|
||||
<!--
|
||||
|
||||
### Online
|
||||
|
||||
```yaml
|
||||
@ -174,8 +142,6 @@ repos:
|
||||
]
|
||||
```
|
||||
|
||||
-->
|
||||
|
||||
## Further information
|
||||
|
||||
- [prettier docs install](https://prettier.io/docs/en/install)
|
||||
|
Loading…
x
Reference in New Issue
Block a user