[Docs] Clone and build wiki pages on docs.platypush.tech.

This commit is contained in:
Fabio Manganiello 2023-10-21 22:54:49 +02:00
parent b80a48ec80
commit ea88ab7f6c
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
3 changed files with 16 additions and 4 deletions

View file

@ -113,13 +113,17 @@ steps:
commands: commands:
- echo "Installing required build dependencies" - echo "Installing required build dependencies"
- apk add --update --no-cache make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt) - apk add --update --no-cache git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt)
- pip install -U sphinx-rtd-theme sphinx-book-theme - pip install -U sphinx-rtd-theme sphinx-book-theme
- pip install . - pip install .
- mkdir -p /docs/current - mkdir -p /docs/current
- export APPDIR=$PWD - export APPDIR=$PWD
- rm -rf "$APPDIR/docs/build" - rm -rf "$APPDIR/docs/build"
- echo "Building the updated documentation" - echo "Building the updated documentation"
- cd "$APPDIR/docs/source"
- git clone 'https://git.platypush.tech/platypush/platypush.wiki.git' wiki
- cd wiki
- ln -s Home.md index.md
- cd "$APPDIR/docs" - cd "$APPDIR/docs"
- make html - make html
- rm -f config*.yaml - rm -f config*.yaml

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ Session.vim
/jsconfig.json /jsconfig.json
/package.json /package.json
/Dockerfile /Dockerfile
/docs/source/wiki

View file

@ -7,17 +7,24 @@ For more information on Platypush check out:
* The `main page`_ of the project * The `main page`_ of the project
* The `Gitea page`_ of the project * The `Gitea page`_ of the project
* The `online wiki`_ for quickstart and examples
* The `Blog articles`_ for inspiration on use-cases possible projects * The `Blog articles`_ for inspiration on use-cases possible projects
.. _main page: https://platypush.tech .. _main page: https://platypush.tech
.. _Gitea page: https://git.platypush.tech/platypush/platypush .. _Gitea page: https://git.platypush.tech/platypush/platypush
.. _online wiki: https://git.platypush.tech/platypush/platypush/wiki
.. _Blog articles: https://blog.platypush.tech .. _Blog articles: https://blog.platypush.tech
.. toctree::
:maxdepth: 3
:caption: Wiki:
wiki/index
wiki/Installation
wiki/Configuration
wiki/Installing-extensions
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:caption: Contents: :caption: Reference:
backends backends
plugins plugins