init
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Simon Vieille 2023-02-12 22:01:30 +01:00
commit 04d63d40d5
Signed by: deblan
GPG Key ID: 579388D585F70417
9 changed files with 236 additions and 0 deletions

4
.env Normal file
View File

@ -0,0 +1,4 @@
LIVE_RELOAD_SUPPORT=true
ADD_MODULES=
DOCS_DIRECTORY=/app
FAST_MODE=false

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.cache

32
.woodpecker.yml Normal file
View File

@ -0,0 +1,32 @@
pipeline:
build:
image: gitnet.fr/deblan/mkdocs
pull: true
commands:
- sed -i 's/# site_url/site_url/' mkdocs.yml
- mkdocs build
- git checkout mkdocs.yml
update:
image: alpine/git
commands:
- git fetch --no-tags origin +refs/heads/pages
- git switch pages
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
- mv site /tmp/
- rm * -fr
- mv /tmp/site/* .
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
deploy:
image: appleboy/drone-git-push
commands:
settings:
branch: pages
remote: git@gitnet.fr:tinternet/doc.git
force: false
commit: false
ssh_key:
from_secret: ssh_priv_key

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
serve:
docker run \
-it --rm \
-v $$(pwd):/app \
--env-file ./.env \
-p 8000:8000 \
-w /app \
gitnet.fr/deblan/mkdocs

1
docs/_static/css/extra.css vendored Normal file
View File

@ -0,0 +1 @@

BIN
docs/_static/img/logo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

140
docs/_static/img/logo.svg vendored Normal file
View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="57.044163mm"
height="57.044163mm"
viewBox="0 0 57.044163 57.044163"
version="1.1"
id="svg1433"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="logo.svg">
<defs
id="defs1427" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="321.98969"
inkscape:cy="157.98647"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1918"
inkscape:window-height="1021"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="1" />
<metadata
id="metadata1430">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(28.522081,-55.38863)">
<rect
inkscape:export-ydpi="39.689999"
inkscape:export-xdpi="39.689999"
y="56.07637"
x="-27.834341"
height="55.668682"
width="55.668682"
id="rect4634-3"
style="color:#000000;display:inline;overflow:visible;visibility:visible;vector-effect:none;fill:#e7e7e9;fill-opacity:1;fill-rule:nonzero;stroke:#cacaca;stroke-width:1.37548;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.23561995;marker:none;enable-background:accumulate"
rx="13.495078"
ry="13.495078" />
<g
id="g1407"
transform="matrix(2.0273259,0,0,2.0273259,-27.344561,-1105.4865)">
<g
transform="matrix(4.4401232,0,0,4.4401232,-808.26617,111.24909)"
style="fill:#333333;stroke-width:0.36558"
id="g6075-3-5-5-5">
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0106793;marker:none;enable-background:accumulate"
id="rect22527-2-9-55-1-9-8-6-6-6"
width="1.1607833"
height="1.1635288"
x="183.11276"
y="107.87968"
rx="0.19624296"
ry="0.1967071"
inkscape:export-filename="/home/simon/obs/img/title.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0106793;marker:none;enable-background:accumulate"
id="rect22527-2-9-5-2-6-2-0-2-2-2"
width="1.1607833"
height="1.1635288"
x="184.49425"
y="107.87968"
rx="0.19624296"
ry="0.1967071"
inkscape:export-filename="/home/simon/obs/img/title.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0106793;marker:none;enable-background:accumulate"
id="rect22527-2-9-9-8-7-2-4-9-9-9"
width="1.1607833"
height="1.1635288"
x="185.87572"
y="107.87968"
rx="0.19624296"
ry="0.1967071"
inkscape:export-filename="/home/simon/obs/img/title.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0106793;marker:none;enable-background:accumulate"
id="rect22527-2-9-8-6-4-8-7-1-1-1"
width="1.1607833"
height="1.1635288"
x="185.87572"
y="106.49491"
rx="0.19624296"
ry="0.1967071"
inkscape:export-filename="/home/simon/obs/img/title.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0106793;marker:none;enable-background:accumulate"
id="rect22527-2-7-7-9-68-27-2-2"
width="1.1607833"
height="1.1635288"
x="184.49425"
y="105.11017"
rx="0.19624296"
ry="0.1967071"
inkscape:export-filename="/home/simon/obs/img/title.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.4 KiB

9
docs/index.md Normal file
View File

@ -0,0 +1,9 @@
---
hide:
- navigation
- toc
---
# L'association Tinternet & cie
Basée à Besançon, Tinternet & Cie est une association d'éducation numérique populaire composée de professionnels du web et de l'éducation. Nous intervenons principalement dans les établissements scolaires de Franche-Comté et proposons des ateliers sur le secteur de Besançon.

41
mkdocs.yml Normal file
View File

@ -0,0 +1,41 @@
site_name: "Tinternet & cie"
# site_url: "https://tinternet.gitnet.page/doc/"
plugins:
- search
- social
- autolinks
extra:
generator: false
theme:
name: material
logo: _static/img/logo.png
favicon: _static/img/logo.png
features:
- content.code.copy
- navigation.tabs
- navigation.footer
palette:
primary: "light blue"
scheme: slate
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
extend_pygments_lang:
- name: php-inline
lang: php
options:
startinline: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.magiclink
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.highlight
- pymdownx.inlinehilite
nav:
- Accueil: index.md