mkdocs-pseudocode-i18n 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mkdocs_pseudocode_i18n-0.1.0/.gitignore +11 -0
- mkdocs_pseudocode_i18n-0.1.0/.gitlab-ci.yml +61 -0
- mkdocs_pseudocode_i18n-0.1.0/LICENSE +674 -0
- mkdocs_pseudocode_i18n-0.1.0/PKG-INFO +83 -0
- mkdocs_pseudocode_i18n-0.1.0/README.md +53 -0
- mkdocs_pseudocode_i18n-0.1.0/mkdocs_pseudocode_i18n/__init__.py +4 -0
- mkdocs_pseudocode_i18n-0.1.0/mkdocs_pseudocode_i18n/plugin.py +180 -0
- mkdocs_pseudocode_i18n-0.1.0/package.json +21 -0
- mkdocs_pseudocode_i18n-0.1.0/pyproject.toml +54 -0
- mkdocs_pseudocode_i18n-0.1.0/scripts/check_version.py +32 -0
- mkdocs_pseudocode_i18n-0.1.0/scripts/setup_dev.py +35 -0
- mkdocs_pseudocode_i18n-0.1.0/scripts/stamp-version.mjs +33 -0
- mkdocs_pseudocode_i18n-0.1.0/scripts/sync-version.mjs +58 -0
- mkdocs_pseudocode_i18n-0.1.0/scripts/zip_project.py +41 -0
- mkdocs_pseudocode_i18n-0.1.0/site/configuration/index.md +63 -0
- mkdocs_pseudocode_i18n-0.1.0/site/development/index.md +45 -0
- mkdocs_pseudocode_i18n-0.1.0/site/index.md +51 -0
- mkdocs_pseudocode_i18n-0.1.0/site/latex/index.md +35 -0
- mkdocs_pseudocode_i18n-0.1.0/site/mkdocs.yml +47 -0
- mkdocs_pseudocode_i18n-0.1.0/site/releasing/index.md +34 -0
- mkdocs_pseudocode_i18n-0.1.0/tests/test_plugin.py +35 -0
- mkdocs_pseudocode_i18n-0.1.0/yarn.lock +12 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
stages:
|
|
2
|
+
- test
|
|
3
|
+
- build
|
|
4
|
+
- deploy
|
|
5
|
+
|
|
6
|
+
image: python:3.13
|
|
7
|
+
|
|
8
|
+
before_script:
|
|
9
|
+
- python -m pip install --upgrade pip
|
|
10
|
+
- python -m pip install -e '.[dev]'
|
|
11
|
+
|
|
12
|
+
test:
|
|
13
|
+
stage: test
|
|
14
|
+
script:
|
|
15
|
+
- python scripts/check_version.py
|
|
16
|
+
- python -m ruff check .
|
|
17
|
+
- python -m pytest
|
|
18
|
+
- mkdocs build -f site/mkdocs.yml --strict
|
|
19
|
+
|
|
20
|
+
build:
|
|
21
|
+
stage: build
|
|
22
|
+
script:
|
|
23
|
+
- python -m build
|
|
24
|
+
artifacts:
|
|
25
|
+
paths:
|
|
26
|
+
- dist/
|
|
27
|
+
expire_in: 1 week
|
|
28
|
+
|
|
29
|
+
# Publish the documentation for the default branch.
|
|
30
|
+
deploy-pages:
|
|
31
|
+
stage: deploy
|
|
32
|
+
script:
|
|
33
|
+
- mkdocs build -f site/mkdocs.yml --strict
|
|
34
|
+
pages:
|
|
35
|
+
publish: public
|
|
36
|
+
rules:
|
|
37
|
+
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
|
38
|
+
|
|
39
|
+
# PyPI Trusted Publishing (OIDC).
|
|
40
|
+
# Before the first release, create a Pending Trusted Publisher on PyPI with:
|
|
41
|
+
# Project: mkdocs-pseudocode-i18n
|
|
42
|
+
# Namespace: rod2ik
|
|
43
|
+
# Repository: mkdocs-pseudocode-i18n
|
|
44
|
+
# Pipeline: .gitlab-ci.yml
|
|
45
|
+
# Environment: release
|
|
46
|
+
publish-pypi:
|
|
47
|
+
stage: deploy
|
|
48
|
+
image: python:3.13
|
|
49
|
+
dependencies:
|
|
50
|
+
- build
|
|
51
|
+
id_tokens:
|
|
52
|
+
PYPI_ID_TOKEN:
|
|
53
|
+
aud: pypi
|
|
54
|
+
environment:
|
|
55
|
+
name: release
|
|
56
|
+
before_script: []
|
|
57
|
+
script:
|
|
58
|
+
- python -m pip install --upgrade twine
|
|
59
|
+
- python -m twine upload dist/*
|
|
60
|
+
rules:
|
|
61
|
+
- if: '$CI_COMMIT_TAG =~ /^v.+$/'
|