Skip to content
Snippets Groups Projects
Unverified Commit a1a8c4d3 authored by Martin Weise's avatar Martin Weise
Browse files

Add pdf

parent c35bbe83
No related branches found
No related tags found
No related merge requests found
# template from https://raw.githubusercontent.com/github/gitignore/master/TeX.gitignore ## Generated
site/
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:
*.aux *.aux
......
FROM debian:stable as build
ENV PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y python3 python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0
COPY ./requirements.txt ./requirements.txt
RUN pip3 install -r ./requirements.txt
RUN python3 --version
RUN mkdocs --version
COPY ./docs ./docs
COPY ./mkdocs.yml ./mkdocs.yml
RUN echo 'plugins:\n\
- with-pdf:\n\
author: FAIR Data Austria\n\
copyright: CC-BY 4.0\n\
cover_title: "DBRepo: Database Repository"\n\
cover_subtitle: "Technical Documentation"' >> ./mkdocs.yml
RUN cat ./mkdocs.yml
ENTRYPOINT [ "mkdocs", "build" ]
\ No newline at end of file
...@@ -3,7 +3,10 @@ phony: ...@@ -3,7 +3,10 @@ phony:
all: all:
build: build:
mkdocs build docker-compose build
deploy: run: build
docker-compose up
deploy: run
sudo cp -r ./site/* /usr/share/nginx/html/ sudo cp -r ./site/* /usr/share/nginx/html/
\ No newline at end of file
version: "3.6"
services:
fda-docs-builder:
build: .
image: fda-docs-builder
volumes:
- "./site:/site"
environment:
TZ: Europe/Vienna
logging:
driver: json-file
...@@ -20,7 +20,7 @@ We present a database repository system that allows researchers to ingest data i ...@@ -20,7 +20,7 @@ We present a database repository system that allows researchers to ingest data i
through common interfaces, provides efficient access to arbitrary subsets of data even when the underlying data store is through common interfaces, provides efficient access to arbitrary subsets of data even when the underlying data store is
evolving, allows reproducing of query results and supports findable-, accessible-, interoperable- and reusable data. evolving, allows reproducing of query results and supports findable-, accessible-, interoperable- and reusable data.
[Get Started](/getting-started){ .action-button .md-button .md-button--primary } [Get Started](/getting-started){ .action-button .md-button .md-button--primary } [PDF](/pdf/document.pdf){ .action-button .md-button .md-button--secondary }
## Demo ## Demo
......
...@@ -2,7 +2,7 @@ site_name: Database Repository ...@@ -2,7 +2,7 @@ site_name: Database Repository
repo_url: https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services repo_url: https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services
repo_name: fda-services repo_name: fda-services
site_author: FAIR Data Austria site_author: FAIR Data Austria
copyright: CC BY 4.0 FAIR Data Austria copyright: CC-BY 4.0
extra: extra:
homepage: https://dbrepo.tuwien.ac.at homepage: https://dbrepo.tuwien.ac.at
social: social:
......
mkdocs==1.3.0 mkdocs==1.3.0
mkdocs-material==8.2.9 mkdocs-material==8.2.9
mkdocs-with-pdf==0.9.3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment