Skip to content

Commit

Permalink
dependencies, ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brunodantas committed Oct 15, 2023
1 parent 74e6a5f commit 615abd2
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"yaml.schemas": {
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
},
"yaml.customTags": [
"!ENV scalar",
"!ENV sequence",
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
]
}
85 changes: 84 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pydash_cheatsheet/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# pydash-sheetcheat

![](https://http.cat/images/418.jpg)
30 changes: 30 additions & 0 deletions pydash_cheatsheet/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
site_name: pydash cheatsheet

theme:
name: material
palette:

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode


extra:
alternate:
- name: English
link: /en/
lang: en

social:
- icon: fontawesome/brands/github
link: https://github.com/brunodantas/pydash-cheatsheet
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ packages = [{include = "pydash_cheatsheet"}]
[tool.poetry.dependencies]
python = "^3.11"
mkdocs-material = "^9.4.6"
pydash = "^7.0.6"
black = "^23.9.1"


[build-system]
Expand Down

0 comments on commit 615abd2

Please sign in to comment.