Skip to content

Commit db10cae

Browse files
committed
refactor: generate quarto website
0 parents  commit db10cae

10,633 files changed

Lines changed: 1277913 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
10+
[*.py]
11+
max_line_length = 119

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
labels: bug
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
13+
1. Go to '...'
14+
2. Click on '....'
15+
3. Scroll down to '....'
16+
4. See error
17+
18+
**Expected behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
**Screenshots**
22+
If applicable, add screenshots to help explain your problem.
23+
24+
**Environment (please complete the following information):**
25+
26+
- OS: [e.g. macOS, Windows, Linux]
27+
- Python Version: [e.g., 3.6, 3.7, 3.8, 3.9]
28+
- Any relevant dependencies or libraries
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
**Related Issue(s):**
2+
Please provide a title for this pull request.
3+
4+
**Description:**
5+
Please provide a brief description of the changes you are proposing.
6+
7+
**Checklist:**
8+
9+
- [ ] I have read and followed the [contributing guidelines](/CONTRIBUTING.md).
10+
- [ ] I have updated the documentation if necessary.
11+
- [ ] I have added tests that prove my changes are effective or that my feature works.
12+
- [ ] All new and existing tests pass.
13+
14+
**Screenshots**
15+
If applicable, add screenshots to help explain behaviour of your code.
16+
17+
**Additional Notes:**
18+
Please provide any additional information about the changes you are proposing.

.github/workflows/config.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Welcome New Contributors
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request_target:
7+
types: [opened]
8+
9+
jobs:
10+
welcome:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Welcome Issue
14+
if: github.event_name == 'issues'
15+
uses: actions/github-script@v5
16+
with:
17+
script: |
18+
const issue = context.issue;
19+
const repo = context.repo;
20+
const issueAuthor = context.payload.sender.login;
21+
22+
const welcomeMessage = `
23+
Hi @${issueAuthor}! :wave:
24+
25+
Thank you for creating an issue in our repository! We appreciate your contribution and will get back to you as soon as possible.
26+
`;
27+
28+
github.rest.issues.createComment({
29+
...repo,
30+
issue_number: issue.number,
31+
body: welcomeMessage
32+
});
33+
- name: Welcome Pull Request
34+
if: github.event_name == 'pull_request_target'
35+
uses: actions/github-script@v5
36+
with:
37+
script: |
38+
const pr = context.issue;
39+
const repo = context.repo;
40+
const prAuthor = context.payload.sender.login;
41+
42+
const welcomeMessage = `
43+
Hi @${prAuthor}! :wave:
44+
45+
Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.
46+
`;
47+
48+
github.rest.issues.createComment({
49+
...repo,
50+
issue_number: pr.number,
51+
body: welcomeMessage
52+
});
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Quarto Book
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
pages: write
12+
13+
jobs:
14+
build-deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out repository
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Pixi
21+
uses: prefix-dev/setup-pixi@v0.8.1
22+
with:
23+
pixi-version: v0.39.5
24+
cache: true
25+
26+
- name: Generate Quarto Book Content
27+
run: pixi run generate-book
28+
29+
- name: Render and Publish
30+
run: |
31+
# Use pixi run to ensure quarto is in the environment
32+
pixi run quarto publish gh-pages mybook --no-browser --no-prompt
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
86+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
87+
__pypackages__/
88+
89+
# Celery stuff
90+
celerybeat-schedule
91+
celerybeat.pid
92+
93+
# SageMath parsed files
94+
*.sage.py
95+
96+
# Environments
97+
.env
98+
.venv
99+
env/
100+
venv/
101+
ENV/
102+
env.bak/
103+
venv.bak/
104+
105+
# Spyder project settings
106+
.spyderproject
107+
.spyproject
108+
109+
# Rope project settings
110+
.ropeproject
111+
112+
# mkdocs documentation
113+
/site
114+
115+
# mypy
116+
.mypy_cache/
117+
.dmypy.json
118+
dmypy.json
119+
120+
# Pyre type checker
121+
.pyre/
122+
123+
# pytype static type analyzer
124+
.pytype/
125+
126+
# Cython debug symbols
127+
cython_debug/
128+
129+
# Visual Studio Code #
130+
.vscode/*
131+
!.vscode/settings.json
132+
!.vscode/tasks.json
133+
!.vscode/launch.json
134+
!.vscode/extensions.json
135+
.history
136+
.idea
137+
138+
# macOS files
139+
.DS_Store!/PYTHON APPS/Alarm_Clock/media/image/main.png
140+
141+
!/PYTHON APPS/Alarm_Clock/media/image/chose_timer.png
142+
143+
!/PYTHON APPS/Alarm_Clock/media/image/start_alarm.png
144+
.DS_Store

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "WEB-BASED PROJECTS/django-url-shortner"]
2+
path = DJANGO PROJECTS/django-url-shortner
3+
url = https://github.com/yeboahd24/django-url-shortner.git
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Draw python logo
2+
3+
4+
5+
### Modules required:
6+
```
7+
pip install PythonTurtle
8+
```
9+
10+
### Importing the module
11+
12+
```python
13+
import turtle
14+
```
15+
16+
## Output of this code:
17+
18+
<img src="https://github.com/Dummyjar/Dummyjar/blob/main/InShot_20210822_204315352.gif">

0 commit comments

Comments
 (0)