Skip to content

Commit ce88720

Browse files
committed
🎉 Initial commit
0 parents  commit ce88720

28 files changed

Lines changed: 877 additions & 0 deletions

File tree

.gitignore

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
### Python ###
2+
# Byte-compiled / optimized / DLL files
3+
__pycache__/
4+
*.py[cod]
5+
*$py.class
6+
7+
# C extensions
8+
*.so
9+
10+
# Distribution / packaging
11+
.Python
12+
bin/
13+
build/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
wheels/
25+
share/python-wheels/
26+
*.egg-info/
27+
.installed.cfg
28+
*.egg
29+
MANIFEST
30+
31+
# PyInstaller
32+
# Usually these files are written by a python script from a template
33+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34+
*.manifest
35+
*.spec
36+
37+
# Installer logs
38+
pip-log.txt
39+
pip-delete-this-directory.txt
40+
41+
# Unit test / coverage reports
42+
htmlcov/
43+
.tox/
44+
.nox/
45+
.coverage
46+
.coverage.*
47+
.cache
48+
nosetests.xml
49+
coverage.xml
50+
*.cover
51+
*.py,cover
52+
.hypothesis/
53+
.pytest_cache/
54+
cover/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
65+
66+
# Flask stuff:
67+
instance/
68+
.webassets-cache
69+
70+
# Scrapy stuff:
71+
.scrapy
72+
73+
# Sphinx documentation
74+
_build/
75+
76+
# PyBuilder
77+
.pybuilder/
78+
target/
79+
80+
# Jupyter Notebook
81+
.ipynb_checkpoints
82+
83+
# IPython
84+
profile_default/
85+
ipython_config.py
86+
87+
# pyenv
88+
# For a library or package, you might want to ignore these files since the code is
89+
# intended to run in multiple environments; otherwise, check them in:
90+
# .python-version
91+
92+
# pipenv
93+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
95+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
96+
# install all needed dependencies.
97+
#Pipfile.lock
98+
99+
# poetry
100+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
101+
# This is especially recommended for binary packages to ensure reproducibility, and is more
102+
# commonly ignored for libraries.
103+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
104+
#poetry.lock
105+
106+
# pdm
107+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
108+
#pdm.lock
109+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
110+
# in version control.
111+
# https://pdm.fming.dev/#use-with-ide
112+
.pdm.toml
113+
114+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
115+
__pypackages__/
116+
117+
# Celery stuff
118+
celerybeat-schedule
119+
celerybeat.pid
120+
121+
# SageMath parsed files
122+
*.sage.py
123+
124+
# Environments
125+
.env
126+
.venv
127+
pyvenv.cfg
128+
env/
129+
venv/
130+
ENV/
131+
env.bak/
132+
venv.bak/
133+
134+
# Spyder project settings
135+
.spyderproject
136+
.spyproject
137+
138+
# Rope project settings
139+
.ropeproject
140+
141+
# mkdocs documentation
142+
/site
143+
144+
# mypy
145+
.mypy_cache/
146+
.dmypy.json
147+
dmypy.json
148+
149+
# Pyre type checker
150+
.pyre/
151+
152+
# pytype static type analyzer
153+
.pytype/
154+
155+
# Cython debug symbols
156+
cython_debug/
157+
158+
# PyCharm
159+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161+
# and can be added to the global gitignore or merged into this file. For a more nuclear
162+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
163+
#.idea/
164+
165+
### Python Patch ###
166+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
167+
poetry.toml
168+
169+
### macOS ###
170+
# General
171+
.DS_Store
172+
.AppleDouble
173+
.LSOverride
174+
175+
# Icon must end with two \r
176+
Icon
177+
178+
179+
# Thumbnails
180+
._*
181+
182+
# Files that might appear in the root of a volume
183+
.DocumentRevisions-V100
184+
.fseventsd
185+
.Spotlight-V100
186+
.TemporaryItems
187+
.Trashes
188+
.VolumeIcon.icns
189+
.com.apple.timemachine.donotpresent
190+
191+
# Directories potentially created on remote AFP share
192+
.AppleDB
193+
.AppleDesktop
194+
Network Trash Folder
195+
Temporary Items
196+
.apdisk
197+
198+
### macOS Patch ###
199+
# iCloud generated files
200+
*.icloud

.readthedocs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: conf.py
11+
12+
# Build PDF & ePub
13+
formats:
14+
- epub
15+
- pdf
16+
17+
python:
18+
version: 3.8
19+
install:
20+
- requirements: requirements.txt
21+
22+
build:
23+
image: latest

Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

README.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
=============
2+
python.berlin
3+
=============
4+
5+
The `python.berlin <https://python.berlin>`_ website allows all Berlin Python
6+
User Groups to introduce themselves, present presentation slides, code examples
7+
etc.
8+
9+
Collaboration
10+
=============
11+
12+
If you have suggestions for improvements and additions, I recommend that you
13+
create a `Fork <https://github.com/python-berlin/python.berlin_website/fork>`_
14+
of our `GitHub Repository
15+
<https://github.com/python-berlin/python.berlin_website>`_ and make your changes
16+
there.
17+
18+
Download and installation
19+
-------------------------
20+
21+
#. Download
22+
23+
.. code-block:: console
24+
25+
$ git clone git@github.com:python-berlin/python.berlin_website.git
26+
27+
#. Create virtual environment
28+
29+
.. code-block:: console
30+
31+
$ cd python.berlin_website
32+
$ python3 -m pip install -r requirements.txt
33+
$ source bin/activate
34+
35+
#. Create HTML
36+
37+
.. code-block:: console
38+
39+
$ make html

_build/.gitkeep

Whitespace-only changes.

_static/images/logo/favicon.ico

14.7 KB
Binary file not shown.

_static/images/logo/logo.png

15.4 KB
Loading

conf.py

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# For the full list of built-in configuration values, see the documentation:
4+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5+
6+
# -- Project information -----------------------------------------------------
7+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8+
9+
project = 'python.berlin'
10+
copyright = '2023, Berlin Python User Groups'
11+
author = 'Berlin Python User Groups'
12+
release = '1.0.0'
13+
14+
# -- General configuration ---------------------------------------------------
15+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16+
17+
extensions = [
18+
"sphinx_design",
19+
"sphinxext.opengraph",
20+
"sphinx_copybutton"
21+
]
22+
23+
templates_path = ['_templates']
24+
exclude_patterns = [
25+
"README.rst",
26+
"lib/*"
27+
]
28+
29+
30+
31+
# -- Options for HTML output -------------------------------------------------
32+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
33+
34+
html_theme = 'furo'
35+
36+
# Change default HTML title
37+
html_title = "Berlin Python User Groups"
38+
39+
html_static_path = ['_static']
40+
html_logo = "_static/images/logo/logo.png"
41+
html_favicon = "_static/images/logo/favicon.ico"

constraints.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
alabaster==0.7.12
2+
Babel==2.11.0
3+
beautifulsoup4==4.11.1
4+
certifi==2022.12.7
5+
charset-normalizer==2.1.1
6+
docutils==0.17.1
7+
furo==2022.9.29
8+
idna==3.4
9+
imagesize==1.4.1
10+
Jinja2==3.1.2
11+
MarkupSafe==2.1.1
12+
packaging==22.0
13+
Pygments==2.14.0
14+
pytz==2022.7
15+
requests==2.28.1
16+
snowballstemmer==2.2.0
17+
soupsieve==2.3.2.post1
18+
Sphinx==4.5.0
19+
sphinx-basic-ng==1.0.0b1
20+
sphinx-copybutton==0.5.1
21+
sphinx_design==0.3.0
22+
sphinxcontrib-applehelp==1.0.2
23+
sphinxcontrib-devhelp==1.0.2
24+
sphinxcontrib-htmlhelp==2.0.0
25+
sphinxcontrib-jsmath==1.0.1
26+
sphinxcontrib-qthelp==1.0.3
27+
sphinxcontrib-serializinghtml==1.1.5
28+
sphinxext-opengraph==0.7.5
29+
urllib3==1.26.13

0 commit comments

Comments
 (0)