diff --git a/.github/workflows/pdf-at-pr.yaml b/.github/workflows/pdf-at-pr.yaml index b74cac6f..4527e169 100644 --- a/.github/workflows/pdf-at-pr.yaml +++ b/.github/workflows/pdf-at-pr.yaml @@ -17,22 +17,49 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + path: documentation + + - uses: actions/checkout@v4 + with: + ref: www + path: www + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: Install dependencies run: | + cd documentation python -m pip install --upgrade pip pip install setuptools wheel pip install -r requirements.txt + - name: Run mkdocs --clean run: | + + cd documentation mkdocs build --clean - - name: Upload pdf - uses: actions/upload-artifact@v4 + - name: Push to web + run: | + + cd www + mkdir -p "${{ github.event.number }}" + rsync -av ../documentation/site/. ${{ github.event.number }} + git config user.name github-actions + git config user.email github-actions@github.com + git add . + git commit -m "Updating repo" || true + git push origin www || true + + - uses: devindford/Append_PR_Comment@v1.1.2 with: - name: artifact - path: site/pdf/document.pdf + repo-token: "${{ secrets.GITHUB_TOKEN }}" + body-template: | + [![Create offline documentation on PR](https://github.com/armbian/documentation/actions/workflows/pdf-at-pr.yaml/badge.svg)](https://github.com/armbian/documentation/actions/workflows/pdf-at-pr.yaml) + Documentation website preview will be available in few minutes: +
 Open WWW preview 
+ body-update-action: 'suffix' \ No newline at end of file diff --git a/docs/Software.md b/docs/Software.md new file mode 100644 index 00000000..8911acc0 --- /dev/null +++ b/docs/Software.md @@ -0,0 +1,33 @@ +# Desktop environments + +## Overview + +### Desktops + +- [**XFCE desktop**](#xfce-desktop) +- [**Gnome desktop**](#gnome-desktop) + + +## XFCE desktop + + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + +![Xfce desktop](images/DE00.png){: width="800" height="450" loading="lazy"} + +Installation: + +```sh + armbian-config --cmd DE01 +``` + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + + +## Gnome desktop + + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. \ No newline at end of file diff --git a/docs/images/DE00.png b/docs/images/DE00.png new file mode 100644 index 00000000..4145b71b Binary files /dev/null and b/docs/images/DE00.png differ