Skip to content
Snippets Groups Projects
Commit 0ed8a582 authored by Jutta Schnabel's avatar Jutta Schnabel
Browse files

trying automatic build of doc

parent a529bd1a
No related branches found
No related tags found
No related merge requests found
Pipeline #14420 failed
......@@ -20,6 +20,18 @@ test:
except:
- master
build:
stage: build
script:
- python make_documents.py
- pandoc Deliverable_4-8.md -f markdown -t docx -s -o Deliverable_4-8.docx
- pandoc Deliverable_4-9.md -f markdown -t docx -s -o Deliverable_4-9.docx
artifacts:
paths:
- Deliverable_4-8.docx
- Deliverable_4-9.docx
expire_in: 3 weeks
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
......
pages/FAIR.md
pages/ScienceTargets.md
pages/Infrastructure.md
pages/Detector.md
pages/Detector.md
pages/SeaScience.md
pages/Multimessenger.md
pages/Simulation.md
pages/Processing.md
pages/Workflows.md
pages/Datamodels.md
pages/Quality.md
pages/Procedures.md
pages/Dataformats.md
pages/VOserver.md
pages/KM3NeTserver.md
pages/Git.md
pages/Docker.md
pages/Repositories_Voserver.md
pages/Repositories_Zenodo.md
pages/Courses.md
pages/OSP.md
pages/Python.md
pages/ESCAPE.md
pages/UseCase_ANTARES.md
pages/UseCase_KM3NeT.md
pages/UseCase_environmental.md
pages/Using_vo.md
pages/Using_alerts.md
pages/Using_km3events.md
pages/Using_plotdata.md
pages/dataserver_api.md
pages/Softwaredevelopment.md
pages/Using_templates.md
pages/Using_templates.md
#!/usr/bin/python
def fulltext_from_filelist(filelistname):
fulltext = ""
with open(filelistname, "r") as f:
infilename = f.readline()
while infilename:
with open(infilename, "r") as ftext:
addtext = ftext.read()
fulltext += addtext[addtext.find("---"):addtext.rfind("---")] + "\n"
infilename = f.readline()
return fulltext
deliverable_description = fulltext_from_filelist("filelist_D4-8.txt")
with open("Deliverable_4-8.md", "w") as f:
f.write(deliverable_description)
deliverable_manuals = fulltext_from_filelist("filelist_D4-9.txt")
with open("Deliverable_4-9.md", "w") as f:
f.write(deliverable_manuals)
......@@ -2,8 +2,8 @@
Title: Environmental data
Author: Jannik
Topics:
* options for sea science
* types of environmental data
- options for sea science
- types of environmental data
Status: draft
---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment