From 49e1a474be44bcb02c6a1542a27b69707326ab9b Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Wed, 5 May 2021 14:08:59 +0200 Subject: [PATCH] test --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ _config.yml | 28 ++++++++++++++++++++++++++++ _toc.yml | 19 +++++++++++++++++++ intro.md | 3 +++ 4 files changed, 73 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 _config.yml create mode 100644 _toc.yml create mode 100644 intro.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..9955add4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +image: continuumio/miniconda3:latest + +before_script: +- pip install jupyter-book sphinxcontrib_bibtex==1.0.0 + +pages: + stage: deploy + script: + - python --version + - jupyter-book build . + - echo "copy content to public folder" + - mkdir .public + - cp -r ./_build/html/* .public + - mv .public public + tags: + - shared + - gitlab-pages + - docker + artifacts: + paths: + - public + only: + - master diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..d77a69ae --- /dev/null +++ b/_config.yml @@ -0,0 +1,28 @@ +# Book settings +# Learn more at https://jupyterbook.org/customize/config.html + +title: Linux Documentation +author: Linux +logo: logo.png + +# Force re-execution of notebooks on each build. +# See https://jupyterbook.org/content/execute.html +execute: + execute_notebooks: force + +# Define the name of the latex output file for PDF builds +latex: + latex_documents: + targetname: book.tex + +# Information about where the book exists on the web +repository: + url: https://git.psi.ch/linux-infra/documentation # Online location of your book + # path_to_book: documentation # Optional path to your book, relative to the repository root + branch: master # Which branch of the repository should be used when creating links (optional) + +# Add GitHub buttons to your book +# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository +html: + use_issues_button: true + use_repository_button: true diff --git a/_toc.yml b/_toc.yml new file mode 100644 index 00000000..dabca9cf --- /dev/null +++ b/_toc.yml @@ -0,0 +1,19 @@ +# Table of content +# Learn more at https://jupyterbook.org/customize/toc.html +# +# - file: intro +# - file: user_guide +# sections: +# - file: user_standard_infrastructure +# - file: user_standard_directory_structure +# - file: user_ioc_configuration_modules_drivers +# - file: user_ioc_utilities +# - file: user_application_packaging +# - file: user_utilities +# - file: user_development +# - file: admin_guide +# sections: +# - file: admin_standard_infrastructure +# - file: admin_standard_directory_structure + +- file: intro \ No newline at end of file diff --git a/intro.md b/intro.md new file mode 100644 index 00000000..83cadc8c --- /dev/null +++ b/intro.md @@ -0,0 +1,3 @@ +# Introduction + +This is the collection of all linux related documentation