Skip to content

Change repo structure #423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Build documentation
run: uv run sphinx-build -nWaE . _build
run: uv run sphinx-build -nWaE docs build
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_grants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Generate the list of grants
run: uv run python _scripts/generate_grants.py > ./operations/grants.rst
run: uv run python scripts/generate_grants.py > ./docs/operations/grants.rst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: ./operations/grants.rst
add-paths: ./docs/operations/grants.rst
commit-message: "update the list of grants (generated)"
branch: automation/grants
title: "Automated update of the list of grants"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- name: Test
run: uv run pytest
- name: Build documentation
run: uv run sphinx-build -nWaE . _build
run: uv run sphinx-build -nWaE docs build
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ python:
- method: pip
path: .
sphinx:
configuration: conf.py
configuration: docs/conf.py
fail_on_warning: true
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Když toho upravujete víc, nebo máte zálusk na nějaké složitější kejkle
Běžná práce
-----------

#. Ve virtuálním prostředí spusťte projekt: ``uv sphinx-autobuild . _build``
#. Ve virtuálním prostředí spusťte projekt: ``uv run sphinx-autobuild docs build``
#. Otevřete si v prohlížeči `<http://127.0.0.1:8000>`_
#. V editoru upravujete texty a v prohlížeči si kontrolujete výsledek
#. Projekt zastavíte v terminálu pomocí :kbd:`Ctrl+C`
Expand Down Expand Up @@ -95,7 +95,7 @@ Dokonce by to mělo automaticky zakládat i issue, pokud to najde nějaký probl
Skript na generování zápisů hlasování o grantech
------------------------------------------------

V adresáři ``_scripts`` je skript ``generate_grants.py``, který:
V adresáři ``scripts`` je skript ``generate_grants.py``, který:

* se pomocí `GitHub Actions <https://github.com/pyvec/docs.pyvec.org/actions>`_ jednou denně spustí,
* vygeneruje soubor ``operations/grants.rst`` z dat na `pyvec/money <https://github.com/pyvec/money>`_ a ze šablony ``operations/grants.rst``,
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2024 Pyvec, z.s. <info@pyvec.org>
Copyright (c) 2025 Pyvec, z.s. <info@pyvec.org>

Texty a obrázky materiálů jsou uvolněny pod licencí CC BY-SA 4.0
https://creativecommons.org/licenses/by-sa/4.0
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.MIT
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Pyvec, z.s. <info@pyvec.org>
Copyright (c) 2025 Pyvec, z.s. <info@pyvec.org>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
32 changes: 15 additions & 17 deletions conf.py → docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Configuration file for the Sphinx documentation builder

import os
import tomllib


# -- Metadata reading --------------------------------------------------------

with open("../pyproject.toml", "rb") as f:
pyproject = tomllib.load(f)
pyproject_version = pyproject["project"]["version"]
pyproject_name = pyproject["project"]["name"]


# -- Project information -----------------------------------------------------
Expand All @@ -10,7 +19,7 @@
author = "Pyvec, z.s."

# The short X.Y version
version = ""
version = pyproject_version
# The full version, including alpha/beta/rc tags
release = ""

Expand Down Expand Up @@ -53,18 +62,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = [
"_build",
"Thumbs.db",
".DS_Store",
"venv",
".venv",
".github",
".pytest_cache",
".ruff_cache",
"src",
"tests",
]
exclude_patterns = ["Thumbs.db", ".DS_Store"]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "monokai"
Expand All @@ -89,7 +87,7 @@
# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = "pyvec-doc"
htmlhelp_basename = pyproject_name


# -- Options for LaTeX output ------------------------------------------------
Expand All @@ -100,15 +98,15 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, "pyvec.tex", project, author, "manual"),
(master_doc, pyproject_name + ".tex", project, author, "manual"),
]


# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [(master_doc, "pyvec", project, [author], 1)]
man_pages = [(master_doc, pyproject_name, project, [author], 1)]


# -- Options for Texinfo output ----------------------------------------------
Expand All @@ -117,7 +115,7 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, "pyvec", project, author, "pyvec", project, "Miscellaneous"),
(master_doc, pyproject_name, project, author, pyproject_name, project, "Miscellaneous"),
]


Expand Down
1 change: 1 addition & 0 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../CONTRIBUTING.rst
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions index.rst → docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: README.rst
.. include:: ../README.rst

.. image:: _static/images/community.svg
:width: 80%
Expand Down Expand Up @@ -27,7 +27,7 @@ Obsah
.. toctree::
:hidden:

CONTRIBUTING
contributing

Navigace
--------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions operations/grants.rst → docs/operations/grants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Elektronická hlasování o grantech

Od roku 2020 o grantech :term:`výbor <Výbor>` hlasuje prostřednictvím repozitáře `pyvec/money <https://github.com/pyvec/money>`_. Zde je strojový přepis proběhlých hlasování. Kanonickým zdrojem pravdy je hlasování přímo na GitHub Issues. Kdyby něco nesedělo, ověřte `historii tohoto souboru <https://github.com/pyvec/docs.pyvec.org/commits/master/operations/grants.rst>`_ a funkčnost :ref:`přepisů <generate_grants>`.

.. Soubor operations/grants.rst je generován skriptem _scripts/generate_grants.py ze šablony operations/grants.rst.jinja. Neupravovat ručně!
.. Soubor operations/grants.rst je generován skriptem scripts/generate_grants.py ze šablony operations/grants.rst.jinja. Neupravovat ručně!


18. 3. 2025 - elektronické hlasování výboru
Expand Down Expand Up @@ -339,7 +339,7 @@ Dne 25. 7. 2023 požádal uživatel `@clytaemnestra <https://github.com/clytaemn
2990

**Na jakou věc to je?**
trička na EuroPython pro stankaře
trička na EuroPython pro stankaře

**Proč? (čemu prospějeme, proč je to dobrý nápad, jaký to bude mít dopad?)**
promoce PyCon CZ a české komunity
Expand All @@ -366,7 +366,7 @@ Dne 13. 6. 2023 požádal uživatel `@befeleme <https://github.com/befeleme>`_ o
Karolina Surma - PyLadies

**Kolik potřebujete? (aspoň odhad nebo rozmezí)**
~6800 Kč
~6800 Kč

*detailně*
hlavička: 6.24 Kč / ks = 2496 Kč
Expand Down Expand Up @@ -403,7 +403,7 @@ Dne 27. 2. 2023 požádal uživatel `@Zuzanita <https://github.com/Zuzanita>`_ o
.. code-block:: text

**Kdo jste?**
Organizátoři PyLadies - podává Zuzana Pokorná za všechny
Organizátoři PyLadies - podává Zuzana Pokorná za všechny

**Kolik potřebujete? (aspoň odhad nebo rozmezí)**
25 000 Kč z toho bude část vrácena z příspěvků jednotlivců na trička
Expand Down Expand Up @@ -613,15 +613,15 @@ Dne 16. 12. 2020 požádal uživatel `@kvbik <https://github.com/kvbik>`_ o gran

**Kdo jste?**

Jakub Vysoky, clen Pyvec, spolu organizator prazskeho Pyva
Jakub Vysoky, clen Pyvec, spolu organizator prazskeho Pyva

**Kolik potřebujete? (aspoň odhad nebo rozmezí)**

Do 15tis Kc. (jidlo a piti na 3-4 dny pro 20-30 lidi)

**Na jakou věc to je?**

Letni edice Python komunitniho Sprintu ve Msenych-laznich v srpen 2020.
Letni edice Python komunitniho Sprintu ve Msenych-laznich v srpen 2020.

**Proč? (čemu prospějeme, proč je to dobrý nápad, jaký to bude mít dopad?)**

Expand Down Expand Up @@ -651,13 +651,13 @@ Dne 26. 2. 2020 požádal uživatel `@radusaaa <https://github.com/radusaaa>`_ o
PyLadies Praha

**Kolik potřebujete? (aspoň odhad nebo rozmezí)**
500,- Kč za oba běhy
500,- Kč za oba běhy

**Na jakou věc to je?**

- kancelářské potřeby

- drobné odměny do soutěží
- drobné odměny do soutěží

**Proč? (čemu prospějeme, proč je to dobrý nápad, jaký to bude mít dopad?)**
Organizujeme dva běhy začátečnických kurzů viz https://pyladies.cz/praha/. Součástí kurzů jsou i dva sobotní celodenní pyworkingy a závěrečný hackathon.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Elektronická hlasování o grantech

Od roku 2020 o grantech :term:`výbor <Výbor>` hlasuje prostřednictvím repozitáře `pyvec/money <https://github.com/pyvec/money>`_. Zde je strojový přepis proběhlých hlasování. Kanonickým zdrojem pravdy je hlasování přímo na GitHub Issues. Kdyby něco nesedělo, ověřte `historii tohoto souboru <https://github.com/pyvec/docs.pyvec.org/commits/master/operations/grants.rst>`_ a funkčnost :ref:`přepisů <generate_grants>`.

.. Soubor operations/grants.rst je generován skriptem _scripts/generate_grants.py ze šablony operations/grants.rst.jinja. Neupravovat ručně!
.. Soubor operations/grants.rst je generován skriptem scripts/generate_grants.py ze šablony operations/grants.rst.jinja. Neupravovat ručně!

{% for grant in grants %}
{{ grant.voted_at.day }}. {{ grant.voted_at.month }}. {{ grant.voted_at.year }} - elektronické hlasování výboru
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 14 additions & 4 deletions uv.lock

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