Commit 394bee17 authored by Patrick Vergain's avatar Patrick Vergain
Browse files

Add gitlab

parent fd3fe439
Pipeline #112215 passed with stage
in 31 seconds
......@@ -12,6 +12,7 @@ Vendredi 15 Février 2019 : démo Python 3.7
.. seealso::
- https://docs.python.org/fr/3.7/
- https://pvergain.frama.io/stages_python/index.html
.. contents::
:depth: 3
......@@ -23,7 +24,7 @@ Démonstration:
- ipython (utilisation de la ligne de commande)
- sympy (mathématiques)
- sphinx (documentation des projets)
- gitlab
- gitlab (gestion de projet + production documentation)
ipython
......@@ -119,3 +120,80 @@ Module python test.py
x=Symbol('x')
plot(2*x+3)
::
(projet_ethan) ✘ pvergain@UC004 > ~/projects/projet_ethan > python test.py
::
22.2727 | ...
| ..
| ....
| ...
| ...
| ...
| ...
| ...
2.63636 | ---------------------------...-------------------------
| ..
| ....
| ...
| ...
| ..
| ....
| ..
| ...
-17 | ....
-10 0 10
gitlab
=======
gitlab board
-------------
.. figure:: gitlab_board.png
:align: center
Production de la documentation
---------------------------------
Après un *git commit*, la documentation est produite par le gitlab
de framasoft pour produire la documentation ici: https://pvergain.frama.io/stages_python/index.html
::
---
# .gitlab-ci.yml
# ===============
#
# https://gitlab.com/help/user/project/pages/getting_started_part_four.md
# Creating and Tweaking GitLab CI/CD for GitLab Pages
# https://store.docker.com/images/python
image: python:3.7-alpine
pages:
stage: deploy
script:
- pip install --upgrade pip
- pip install -r requirements.txt
- sphinx-build -d _build/doctrees . _build/html
- mv _build/html public
artifacts:
paths:
- public
only:
- master
......@@ -61,7 +61,7 @@ Actions
========
.. toctree::
:maxdepth: 4
:maxdepth: 5
actions/actions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment