Compare commits
2
Commits
c6ec23e98a
...
210823c23a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
210823c23a
|
||
|
|
474ca42172
|
+1
-1
@@ -17,7 +17,7 @@ COPY pandoc/filters pandoc/filters
|
|||||||
COPY user/ user/
|
COPY user/ user/
|
||||||
COPY admin/ admin/
|
COPY admin/ admin/
|
||||||
|
|
||||||
RUN cd user && mkdocs build --clean && cd ..
|
RUN cd user && mkdocs build --clean && cp -r sveltia/_admin site/. && cd ..
|
||||||
RUN cd admin && mkdocs build --clean && cd ..
|
RUN cd admin && mkdocs build --clean && cd ..
|
||||||
|
|
||||||
# -------- Stage 2: Serve the built documentation with nginx --------
|
# -------- Stage 2: Serve the built documentation with nginx --------
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
||||||
|
|
||||||
|
backend:
|
||||||
|
name: gitea
|
||||||
|
repo: Chill-project/manuals
|
||||||
|
base_url: https://gitea.champs-libres.be
|
||||||
|
api_root: https://gitea.champs-libres.be/api/v1
|
||||||
|
|
||||||
|
media_folder: /user/docs
|
||||||
|
# public_folder: /user/site/media
|
||||||
|
|
||||||
|
collections:
|
||||||
|
- name: docs
|
||||||
|
label: Documentations
|
||||||
|
label_singular: Documentation
|
||||||
|
folder: /user/docs
|
||||||
|
format: raw
|
||||||
|
extension: md
|
||||||
|
fields:
|
||||||
|
- { label: Body, name: body, widget: markdown }
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="robots" content="noindex" />
|
||||||
|
<title>Sveltia CMS</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user