diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..5fe7ced75474d9525be058d47f742e2cbf3a6220 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: + name: antora/antora:2.3.4 +pages: + stage: deploy + cache: + paths: + - .cache/ + script: + - cd docs/web + - npm i + - antora --stacktrace --fetch --cache-dir .cache/antora --attribute page-pagination= --to-dir ../../public web-doc-antora-playbook.yml + artifacts: + paths: + - public/ \ No newline at end of file diff --git a/docs/modules/analyse/pages/analyse.adoc b/docs/modules/analyse/pages/analyse.adoc index d0f6f96b7942db2c353e6d3720c1226fe65cf138..387ff2e0ec336872f1aeaa04e83230163c98a49b 100644 --- a/docs/modules/analyse/pages/analyse.adoc +++ b/docs/modules/analyse/pages/analyse.adoc @@ -31,7 +31,7 @@ include::../partials/preparation-classes.puml[] Grâce à toutes les classes conceptuelles identifiées auparavant nous allons pouvoir représenter les activités et actions avec des diagrammes. -=== Un des joueurs crée 3 paquets de cartes ge (1 par âge) +=== Un des joueurs crée 3 paquets de cartes Âge (1 par âge) .Alice crée les 3 paquets [plantuml, create-card-stacks, svg] .... diff --git a/docs/web/package-lock.json b/docs/web/package-lock.json index a81c8eda9f308829c409122c62bec91ba8222c0d..7c6eace819d548c9731da6e03e9df2761cb669ec 100644 --- a/docs/web/package-lock.json +++ b/docs/web/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "magl-web", "version": "1.0.0", "license": "ISC", "dependencies": { diff --git a/docs/web/ui-bundle.zip b/docs/web/ui-bundle.zip new file mode 100644 index 0000000000000000000000000000000000000000..762a81df30fa1ed6d75466d1613a0bcb7c132991 Binary files /dev/null and b/docs/web/ui-bundle.zip differ diff --git a/docs/web/site.yml b/docs/web/web-doc-antora-playbook.yml similarity index 72% rename from docs/web/site.yml rename to docs/web/web-doc-antora-playbook.yml index 4d8a4c2898223abce831c13d6360ae22d60fa326..73fa277fcd6e1ebaff6aacba8a9d926ad9909d2b 100644 --- a/docs/web/site.yml +++ b/docs/web/web-doc-antora-playbook.yml @@ -6,12 +6,17 @@ site: content: sources: - url: https://gitlab.univ-nantes.fr/E16F175A/projet-2021.git - branches: setup-antora + branches: main start_path: docs ui: bundle: - url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable + url: ./ui-bundle.zip snapshot: true + supplemental_files: + - path: ui.yml + contents: | + static_files: [ .nojekyll ] + - path: .nojekyll asciidoc: extensions: - asciidoctor-plantuml \ No newline at end of file