Browse Source

custom-apps/ is now packaging/

keep-around/a9bdffbf5689b3551c4e10f62d2246669ce6d552
Johannes Zellner 4 months ago
parent
commit
10aec85f41
  1. 2
      .gitlab-ci.yml
  2. 2
      Dockerfile
  3. 0
      knowledgebase/docs/packaging/addons.md
  4. 0
      knowledgebase/docs/packaging/cheat-sheet.md
  5. 0
      knowledgebase/docs/packaging/cli.md
  6. 0
      knowledgebase/docs/packaging/manifest.md
  7. 0
      knowledgebase/docs/packaging/publishing.md
  8. 0
      knowledgebase/docs/packaging/tutorial.md
  9. 18
      knowledgebase/mkdocs.yml
  10. 5
      update.sh

2
.gitlab-ci.yml

@ -4,7 +4,7 @@
# cache is preserved between pipelines (and not meant for jobs)
default:
image: cloudron/docs-ci@sha256:b3708c3502da9fdc324ab36a246398eb26a462a5e98de0a5a91076ae3d9ec20d
image: cloudron/docs-ci@sha256:459f0ab926ec8173c9868eaa0ed71c6bafa03caaecc3f809723283b4f9e8f744
variables:
DOCS_SERVER: docs.cloudron.io

2
Dockerfile

@ -2,10 +2,12 @@ FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3f
# passed from ./update.sh
ARG MKDOCS_MATERIAL_VERSION
ARG MKDOCS_REDIRECTS_VERSION
ARG SURFER_VERSION
RUN apt-get update && \
apt install python3-setuptools && \
pip3 install mkdocs-material==$MKDOCS_MATERIAL_VERSION && \
pip3 install mkdocs-redirects==${MKDOCS_REDIRECTS_VERSION} && \
npm i -g redoc-cli && \
npm install -g cloudron-surfer@$SURFER_VERSION

0
knowledgebase/docs/custom-apps/addons.md → knowledgebase/docs/packaging/addons.md

0
knowledgebase/docs/custom-apps/cheat-sheet.md → knowledgebase/docs/packaging/cheat-sheet.md

0
knowledgebase/docs/custom-apps/cli.md → knowledgebase/docs/packaging/cli.md

0
knowledgebase/docs/custom-apps/manifest.md → knowledgebase/docs/packaging/manifest.md

0
knowledgebase/docs/custom-apps/publishing.md → knowledgebase/docs/packaging/publishing.md

0
knowledgebase/docs/custom-apps/tutorial.md → knowledgebase/docs/packaging/tutorial.md

18
knowledgebase/mkdocs.yml

@ -159,11 +159,11 @@ nav:
- 'WordPress (Developer)': apps/wordpress-developer.md
- 'YOURLS': apps/yourls.md
- 'Packaging Apps':
- 'CLI': custom-apps/cli.md
- 'Tutorial': custom-apps/tutorial.md
- 'Cheat Sheet': custom-apps/cheat-sheet.md
- 'Addons': custom-apps/addons.md
- 'Manifest': custom-apps/manifest.md
- 'CLI': packaging/cli.md
- 'Tutorial': packaging/tutorial.md
- 'Cheat Sheet': packaging/cheat-sheet.md
- 'Addons': packaging/addons.md
- 'Manifest': packaging/manifest.md
- 'Publishing': custom-apps/publishing.md
- 'API': /api.html
- 'Internationalization': i18n.md
@ -200,3 +200,11 @@ markdown_extensions:
- toc
- footnotes
- meta
plugins:
- redirects:
redirect_maps:
'custom-apps/guide.md': 'packaging/cheat-sheet.md'
'custom-apps/cli.md': 'packaging/cli.md'
'custom-apps/tutorial.md': 'packaging/tutorial.md'
'custom-apps/addons.md': 'packaging/addons.md'
'custom-apps/manifest.md': 'packaging/manifest.md'

5
update.sh

@ -3,10 +3,11 @@
set -eu
export MKDOCS_MATERIAL_VERSION="7.2.1"
export MKDOCS_REDIRECTS_VERSION="1.0.1"
export SURFER_VERSION="5.13.5-1"
echo "=> Installing mkdocs-material"
sudo pip3 install mkdocs-material==${MKDOCS_MATERIAL_VERSION}
sudo pip3 install mkdocs-material==${MKDOCS_MATERIAL_VERSION} mkdocs-redirects==${MKDOCS_REDIRECTS_VERSION}
echo "=> Installing redoc-cli"
npm install -g redoc-cli
@ -15,7 +16,7 @@ echo "=> Installing surfer"
npm install -g cloudron-surfer@${SURFER_VERSION}
echo "=> Updating Docker Image"
docker build . -t cloudron/docs-ci --build-arg MKDOCS_MATERIAL_VERSION=$MKDOCS_MATERIAL_VERSION --build-arg SURFER_VERSION=$SURFER_VERSION
docker build . -t cloudron/docs-ci --build-arg MKDOCS_MATERIAL_VERSION=$MKDOCS_MATERIAL_VERSION --build-arg MKDOCS_REDIRECTS_VERSION=$MKDOCS_REDIRECTS_VERSION --build-arg SURFER_VERSION=$SURFER_VERSION
docker push cloudron/docs-ci
echo ""

Loading…
Cancel
Save