This commit is contained in:
darius 2024-05-04 22:47:27 +02:00
parent a457d40c39
commit 6d3b6cd066
2 changed files with 35 additions and 4 deletions

33
.github/workflows/build-docs.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Build documentation
on:
push:
branches: ["main"]
workflow_dispatch:
env:
INSTANCE: 'Writerside/kleincord'
ARTIFACT: 'webHelpHI2-all.zip'
DOCKER_VERSION: '241.15989'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build docs using Writerside Docker builder
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}
- name: Save artifact with build results
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
retention-days: 7

View File

@ -3,10 +3,8 @@
<!--Writerside adds this topic when you create a new documentation project. <!--Writerside adds this topic when you create a new documentation project.
You can use it as a sandbox to play with Writerside features, and remove it from the TOC when you don't need it anymore.--> You can use it as a sandbox to play with Writerside features, and remove it from the TOC when you don't need it anymore.-->
## Add new topics ## Introduction
You can create empty topics, or choose a template for different types of content that contains some boilerplate structure to help you get started: This project is a personal discord bot
![Create new topic options](new_topic_options.png){ width=290 }{border-effect=line}
## Write content ## Write content
%product% supports two types of markup: Markdown and XML. %product% supports two types of markup: Markdown and XML.