Commit a74b6ec8 authored by Florent Chehab's avatar Florent Chehab

Plantuml support in CI and slight changes

parent d57c17a4
Pipeline #26254 failed with stages
in 24 seconds
stages:
- test
- syntaxe
- doc
- deploy
testing:
stage: test
image: python:3.6.5-jessie
......@@ -19,7 +25,7 @@ testing:
- docker
flake8:
stage: test
stage: syntaxe
image: python:3.6.5-jessie
script:
- pip install flake8
......@@ -28,12 +34,16 @@ flake8:
- docker
pages:
stage: deploy
stage: doc
image: floawfloaw/plantuml
dependencies:
- testing
script:
- mkdir .public
- mv htmlcov/ .public/coverage
- cd docs/UML
- make all
- cd ../../
- mv docs/ .public/docs
- mv .public public
artifacts:
......
generated
\ No newline at end of file
@startuml indi_func
@startuml
package AbstractModels #lightgrey{
......
@startuml Architecture
!include core.pu
@startuml
!include Core.pu
!include UniversityModules.pu
!include CountryModules.pu
!include AbstractModules.pu
!include indi_func.pu
!include IndiFunctions.pu
@enduml
@startuml
package Core {
' note as notePackageCore
......@@ -90,3 +92,5 @@ note on link #white
note left of UsefullLinks: It will be a dynamic page \n on the website
}
' End of Core block
@enduml
\ No newline at end of file
@startuml CountryModule
@startuml
package CountryModule{
abstract class PhotoCopyCountry as "Photo" #red
......
@startuml indi_func
@startuml
package IndividualizedFunctionalities #lightblue{
......
TARGET=\
generated/Architecture.svg \
generated/Core.svg \
generated/UniversityModules.svg
generated/CountryModules.svg \
generated/AbstractModules.svg \
generated/IndiFunctions.svg \
all: $(TARGET)
generated/%.svg: %.pu
mkdir -p generated/
plantuml -tsvg -o $(abspath generated/) $<
.PHONY: clean
clean:
rm -rf generated/
@startuml Architecture
@startuml
skinparam defaultFontName Inconsolata
......
......@@ -3,6 +3,7 @@
* [Présentation](/)
* [Installation](installation.md)
* [Chargement des données](load.md)
* [Architecture](architecture.md)
* [API](API.md)
* [À propos de cette documentation](this_doc.md)
* [Contributions](contributions.md)
\ No newline at end of file
Architecture
===============================
Présentation de l'architecture du backend.
Vue complète :
![Architecture](UML/generated/Architecture.svg)
Vue plus précise :
![Core](UML/generated/Core.svg)
![AbstractModules](UML/generated/UniversityModules.svg)
![Architecture](UML/generated/CountryModules.svg)
![Architecture](UML/generated/AbstractModules.svg)
![Architecture](UML/generated/IndiFunctions.svg)
\ No newline at end of file
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