From 5faa9d3b6330926cb732e91f2a17c50313f17d17 Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Mon, 22 Jul 2024 15:56:22 +0200 Subject: [PATCH] added base_dir path --- README.asciidoc | 9 ++++++--- doku/main.asciidoc | 7 ++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index ccdb2fd..7d9b3b7 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -1,5 +1,8 @@ -:doctype: boo +:doctype: book :imagesdir: ./doku/media -:includedir: ./doku +:docdir: doku/content +asciidoctor: + base_dir: :doku + safe: unsafe -include::./doku/main.asciidoc[] \ No newline at end of file +include::doku/main.asciidoc[] \ No newline at end of file diff --git a/doku/main.asciidoc b/doku/main.asciidoc index bcbfe9f..647f8eb 100644 --- a/doku/main.asciidoc +++ b/doku/main.asciidoc @@ -5,6 +5,7 @@ :toclevels: 2 :data-uri: ifndef::imagesdir[:imagesdir: ./media] +ifndef::includedir[:includedir: ./content] = CodeContender = CodeContender is a platform for learning and practicing coding. It is a web application that provides a set of coding courses with diffrend tasks and questions. Content is divided into different categories and levels. Users get information in form of text, images, and videos. They can also practice coding in an online code editor. The platform is designed to be user-friendly and easy to use. It is suitable for beginners as well as advanced users. @@ -105,12 +106,12 @@ Repositorys need to be secured and limited in size. That users can't upload larg == Existing Solutions == -include::content/existing_solutions.asciidoc[] +include::{includedir}/existing_solutions.asciidoc[] == edX Platform == -include::content/edx.asciidoc[] +include::{includedir}/edx.asciidoc[] === edX Kubernetes Deployment === -include::content/edx-k8s.asciidoc[] \ No newline at end of file +include::{includedir}/edx-k8s.asciidoc[] \ No newline at end of file