Skip to content

Commit 6122f69

Browse files
committed
add files project
1 parent fad6801 commit 6122f69

File tree

6 files changed

+106
-0
lines changed

6 files changed

+106
-0
lines changed

Diff for: .github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Configure Git Credentials
15+
run: |
16+
git config user.name github-actions[bot]
17+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22+
- uses: actions/cache@v4
23+
with:
24+
key: mkdocs-material-${{ env.cache_id }}
25+
path: .cache
26+
restore-keys: |
27+
mkdocs-material-
28+
# - run: pip install mkdocs-material
29+
- run: pip install -r requirements.txt
30+
- run: mkdocs gh-deploy --force

Diff for: assignments/assignment.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("assignment 1")

Diff for: docs/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<figure markdown>
2+
#
3+
</figure>
4+
5+
# Hello, World!
6+

Diff for: mkdocs.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
site_name: Hack The Code
2+
site_author: Open WEB
3+
theme:
4+
name: material
5+
favicon:
6+
logo:
7+
font:
8+
text: Roboto
9+
palette:
10+
- media: "(prefers-color-scheme)"
11+
toggle:
12+
icon: material/brightness-auto
13+
name: Switch to light mode
14+
- media: "(prefers-color-scheme: light)"
15+
scheme: default
16+
primary: indigo
17+
accent: indigo
18+
toggle:
19+
icon: material/toggle-switch
20+
name: Switch to dark mode
21+
- media: "(prefers-color-scheme: dark)"
22+
scheme: slate
23+
primary: cyan
24+
accent: cyan
25+
toggle:
26+
icon: material/toggle-switch-off-outline
27+
name: Switch to light mode
28+
features:
29+
- header.autohide
30+
- content.code.copy
31+
- navigation.top
32+
- navigation.footer
33+
repo_name: learn-cpp
34+
# repo_url: #
35+
copyright: Copyright &copy; 2025 Coding
36+
nav:
37+
- Home: index.md
38+
39+
plugins:
40+
- search
41+
- tags
42+
- minify:
43+
minify_html: true
44+
- git-revision-date-localized:
45+
type: timeago
46+
enable_creation_date: true
47+
- glightbox:
48+
auto_caption: true
49+
markdown_extensions:
50+
- admonition
51+
- attr_list
52+
- md_in_html
53+
- pymdownx.highlight:
54+
anchor_linenums: true
55+
- pymdownx.inlinehilite
56+
- pymdownx.snippets
57+
- pymdownx.superfences
58+
- pymdownx.details
59+
- pymdownx.emoji
60+
extra:
61+
social:
62+
- icon: fontawesome/solid/house
63+
# link: #
64+
- icon: fontawesome/brands/github
65+
# link: #
66+
- icon: fontawesome/solid/paper-plane
67+
# link: #

Diff for: py/2025/Python_2025.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Python, 2025!")

Diff for: snippets/hello_world.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Hello, World!")

0 commit comments

Comments
 (0)