Skip to content

Commit

Permalink
docs: adding workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbi23 committed May 16, 2024
1 parent 790b5c1 commit b5255a8
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build documentation

on:
push:
branches: ["main"]
workflow_dispatch:

env:
INSTANCE: 'Writerside/tr'
ARTIFACT: 'webHelpTR2-all.zip'
DOCKER_VERSION: '241.15989'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
6 changes: 6 additions & 0 deletions Writerside/c.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE categories
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
<categories>
<category id="wrs" name="Writerside documentation" order="1"/>
</categories>
12 changes: 12 additions & 0 deletions Writerside/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildprofiles xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/build-profiles.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<variables></variables>
<build-profile instance="tr">
<variables>
<noindex-content>false</noindex-content>
</variables>
</build-profile>

</buildprofiles>
13 changes: 13 additions & 0 deletions Writerside/topics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Torolalana - Le portail unique de Madagascar

### <code style="color: green">Version actuelle: v2.0.0</code>
*Mai 2024*

Torolalana devient un portail informatif et transactionnel. Les services intégrés dans le portail Torolalana viennent des services publics et des organismes rattachés à l'Etat Malagasy.

### <code>Version : v1.0.0</code>
*Juin 2021*

Torolalana est site informatif sur les informations et les procédures administratif des services publics à Madagascar.


9 changes: 9 additions & 0 deletions Writerside/tr.tree
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE instance-profile
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">

<instance-profile id="tr"
name="Torolalana Roadmap" start-page="README.md">

<toc-element topic="README.md"/>
</instance-profile>
5 changes: 5 additions & 0 deletions Writerside/v.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vars SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
<vars>
<var name="product" value="Writerside"/>
</vars>
8 changes: 8 additions & 0 deletions Writerside/writerside.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ihp SYSTEM "https://resources.jetbrains.com/writerside/1.0/ihp.dtd">

<ihp version="2.0">
<topics dir="topics" web-path="topics"/>
<images dir="images" web-path="torolalana-portal-releases"/>
<instance src="tr.tree"/>
</ihp>

0 comments on commit b5255a8

Please sign in to comment.